Show HN: Figpack science viz – Python script → Shareable HTML Bundle in cloud

figpack.org

1 points by jmagland 8 hours ago

Sharing interactive scientific visualizations is hard. I don’t want my colleagues to have to install specialized software. I just want to email them a link which they can click on and see the full interactive visualization and explore my (potentially large) dataset and results. I want figures to be long-term archivable (Zenodo, etc). And local first (no upload required to view).

I created Figpack to solve these problems by creating self-contained HTML bundles for rich interactive scientific viz.

How it works. You import figpack in your Python project, pass numpy data (large time series, images, domain-specific data) to a figpack view object (many existing types, extensible via custom javascript/react), and then the show() command creates a completely self-contained HTML bundle with rich interactive visualization in a temporary directory and spins up a local web server to view it in the browser. The data and rendering code are all in one stand-alone directory. Easy!

To share with a colleague, just set upload=True and it uploads to the cloud. You get a url to send to your friend and they can see the exact same thing without any login.

I know… how is this different from Plotly, Bokeh, Observable, etc? Happy to discuss!

Please try it out and let me know what you think!

Open source (Apache 2.0).