examples
datapane
examples | datapane | |
---|---|---|
2 | 30 | |
17 | 1,348 | |
- | 0.4% | |
10.0 | 7.3 | |
8 months ago | 7 months ago | |
Jupyter Notebook | Python | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
examples
-
Datapane - Build internal data products in 100% Python
Next, we added the ability to build data web apps by connecting Python functions to forms and front-end events. We handle the entire network and RPC layer, so you only need to write plain Python functions that take parameters and return other blocks. You can check out an example of the code to create a simple app: https://github.com/datapane/examples/blob/main/apps/iris-plotter/app.py
-
Show HN: Datapane – A new way to build reports, dashboards, and apps in Python
Hello HN! We’re Leo and Mandeep, founders of Datapane.
We're building a way to create reports, dashboards, and web apps from your existing data using Python. Think of it as a combination of React and htmx, specifically designed for the Python data stack.
Our GitHub is https://github.com/datapane/datapane and you can try building a report or app in ~2 minutes on Codespaces: https://try.datapane.com
We started building Datapane at our previous start-up, where we struggled to deliver ML model results to clients. Much to our surprise, the data science took less time than repeatedly creating reports by copying and pasting plots into PowerPoint decks.
It seemed absurd that we had to switch to PowerPoint or legacy BI tools like Tableau to share, and our initial goal was to programmatically generate reports using the datasets and plots we had in Python. To enable this, we started hacking on a Python-based UI framework for constructing HTML views from data-centric blocks – like plots, data tables, and layout components.
You can export these to standalone HTML files, or host them as a web app on somewhere like GitHub Pages or Fly.io. We recently also added the ability to connect Python functions to forms and front-end events so you can build web apps which run backend code. We handle the entire network and RPC layer, so you only need to write plain Python functions that take parameters and return other blocks.
You can check out an example of the code to create a simple app: https://github.com/datapane/examples/blob/main/apps/iris-plotter/app.py
Datapane’s philosophy is pretty different from other products in the space.
We wanted to keep things simple, but avoid the footguns our users faced with frameworks like Streamlit, where the reactive/network-aware model was hard to move beyond an MVP or POC. For backend interactivity, we believe the original web got a lot right, and unlike reactive models which rely on websockets, Datapane is unashamedly request/response. This takes inspiration from HTTP and our own experiences with htmx, which offers an elegant way to add interactivity to HTML. Under the hood, we actually compile down to a (gasp!) XML-based hypermedia format, akin to HTML, but tailored specifically for constructing data UIs.
The result is that not every change in your app requires a server round trip, as much of it can be pre rendered and most interactivity happens on the client-side. In addition to improving performance, this also makes running in production become 10x simpler.
This separation between the view and backend compute also makes Datapane modular. If our app server isn’t a good fit for your use-case, serve Datapane views from the web-framework of your choice (we’ve been hacking on serving views from Django). Want to compute blocks from inside Airflow or generate them on a schedule or from a webhook? Computation can happen out of band of the UI. You can even build and host apps from inside of Jupyter, where you can preview blocks live and convert notebook cells to blocks in your view.
We currently offer a hosting platform on https://datapane.com for sharing reports publicly (free) or with your team (paid), and will be adding serverless app hosting support to it in the next few weeks.
Our ultimate goal is to create an open-source toolkit for building data products across the entire stack – from reports, to dashboards, to full-stack apps – all using 100% Python. You can see a few we’ve built already in our gallery: https://datapane.com/gallery
We’d love to hear your feedback.
Thanks!
datapane
- Datapane: Build and share data reports in 100% Python
-
Polars: Company Formation Announcement
If you're looking for an easy way to build an HTML report using Python, you might find Datapane (https://github.com/datapane/datapane) helpful. I'm one of the people building it! We don't support polars (yet, on the roadmap) but we do support pandas so you can convert to a pandas DataFrame and include your data and any plots, etc.
-
JupyterLab 4.0
If you're interested in an easier way to create reports using Python and Plotly/Pandas, you should check out our open-source library, Datapane: https://github.com/datapane/datapane - you can create a standalone, redistributable HTML file in a few lines of Python.
-
Evidence – Business Intelligence as Code
You might be interested in what we're hacking on at Datapane (I'm one of the founders): https://github.com/datapane/datapane.
You can create standalone HTML data reports from Python/Jupyter in ~3 lines of code: https://docs.datapane.com/reports/overview/
-
Ask HN: Fastest way to turn a Jupyter notebook into a website these days?
You can build web apps from Jupyter using Datapane [0]. I'm one of the founders, so let me know if I can help at all.
You can either export a static site [1] (and host on GH pages or S3), or, if you need backend logic, you can add Python functions [2] and serve on your favourite host (we use Fly).
We have specific Jupyter integration to automatically convert your notebook into an app [3].
[0] https://github.com/datapane/datapane
[1] https://docs.datapane.com/reference/reports/#datapane.proces...
[2] https://docs.datapane.com/apps/overview/
[3] https://docs.datapane.com/reports/jupyter-integration/#conve...
- Datapane – Build full-stack data apps in 100% Python
-
Datapane - Build full-stack data apps in 100% Python
Our GitHub is https://github.com/datapane/datapane and you can get started here: https://docs.datapane.com/quickstart/
- Datapane: Build internal analytics products in minutes using Python
-
Datapane - Build internal data products in 100% Python
Thanks a lot! Yes, absolutely, a few people have brought this up and working working on removing the header right now. If I can help at all, feel free to reach us on GH Discussions: https://github.com/datapane/datapane/discussions
- Datapane/datapane: Build full-stack data analytics apps in Python
What are some alternatives?
intro-to-python - [READ-ONLY MIRROR] An intro to Python & programming for wanna-be data scientists
streamlit - Streamlit — A faster way to build and share data apps.
python-training - Python training for business analysts and traders
dash - Data Apps & Dashboards for Python. No JavaScript Required.
ML-Workspace - 🛠 All-in-one web-based IDE specialized for machine learning and data science.
jupyter-dash - OBSOLETE - Dash v2.11+ has Jupyter support built in!
fastpages - An easy to use blogging platform, with enhanced support for Jupyter Notebooks.
perspective - A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
ppde642 - USC urban data science course series with Python and Jupyter
superset - Apache Superset is a Data Visualization and Data Exploration Platform
plotly - The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
powerbi-jupyter - A Custom Jupyter Widget Library for Power BI