Have folks tried out anywidget? Its a way to create widgets similar to what you'd find in ipywidgets. Many MLEs (myself included) like these for creating interactive jupyter notebooks. I'm wondering if there's a way I can bundle some typescript code that's converted to regular js into my python code that consumes it. For something like a webserver, local development is easy with pants. Declare the dep and pants run the some file.
For this it seems like my options are
1. package the typescript code and consume in python from dist.
2. Setup my code as a distribution and then have folks import it after calling export*
I'm wondering if i can set my code up as a package and somehow consume it from a notebook with an editable install? If I'm using the venv produced by a pants export this seems plausible in theory?