jupytext
mercury
Our great sponsors
jupytext | mercury | |
---|---|---|
20 | 76 | |
6,418 | 3,770 | |
- | 1.7% | |
8.8 | 8.5 | |
about 1 month ago | 10 days ago | |
Python | Python | |
MIT License | GNU Affero General Public License v3.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.
jupytext
- The Jupyter+Git problem is now solved
-
Do you git commit jupyter notebooks?
Jupytext (https://github.com/mwouts/jupytext) has been designed exactly for this
-
The hatred towards jupyter notebooks
jupytext is your friend.
-
Edit notebooks in Google cloud
So if you run your own jupyter server, -jupy+text can be a great workflow : it takes your notebook synchronized with other formats (python file, makdown, ...), so you can edit your py/md file with neovim, and refresh the browser to execute the notebook.
-
Rant: Jupyter notebooks are trash.
Automatically convert ipynb files to py when saving them on JupyterLab
-
Two questions regarding working with jupyter notebooks (git, vim)
I don't use Jupyter so I don't know for sure, but on a quick glance you might want to look at https://github.com/mwouts/jupytext to see if that could help at all.
-
JupyterLite is a JupyterLab distribution that runs in the browser
The format is only partially invented, it follows Jupytext [0], but adds support for cell metadata. There is no obvious way to get that in fenced codeblocks, especially with the ability to spread it over multiple lines so it plays well with version control.
One more consideration is that it's not "Markdown with code blocks interspersed", one might as well use plaintext or AsciiDoc.
Of course there are tradeoffs.. I wish I had more time to work on it.
[0]: https://github.com/gzuidhof/starboard-notebook/blob/master/d...
[1]: https://github.com/mwouts/jupytext
-
Many write research papers in R Markdown - What is the alternative setup in Python?
Using jupytext (allows you to open .md files as notebooks) + jupyter gives you pretty much the same experience. The main issue is that the cell's output will be discarded. To fix it, you can use ploomber to generate an output HTML, so the workflow goes like this:
-
Jupyter Notebooks.
First, the format. The ipynb format does not play nicely with git since it stores the cell's source code and output in the same file. But Jupyter has built-in mechanisms to allow other formats to look like notebooks. For example, here's a library that allows you to store notebooks on a postgres database (I know this isn't practical, but it's a great example). To give more practical advice, jupytext allows you to open .py files as notebooks. So you can develop interactively but in the backend, you're storing .py files.
mercury
-
mercury VS solara - a user suggested alternative
2 projects | 13 Oct 2023
-
Show HN: Web App with GUI for AutoML on Tabular Data
Web App is using two open-source packages that I've created:
- MLJAR AutoML - Python package for AutoML on tabular data https://github.com/mljar/mljar-supervised
- Mercury - framework for converting Jupyter Notebooks into Web App https://github.com/mljar/mercury
You can run Web App locally. What is more, you can adjust notebook's code for your needs. For example, you can set different validation strategies or evalutaion metrics or longer training times. The notebooks in the repo are good starting point for you to develop more advanced apps.
-
streamlit VS mercury - a user suggested alternative
2 projects | 8 Jul 2023
- GitHub - mljar/mercury: Convert Jupyter Notebooks to Web Apps
-
[P] Opinionated Web Framework for Converting Jupyter Notebooks to Web Apps
The GitHub repository https://github.com/mljar/mercury
-
Show HN: Opinionated Web Framework for Converting Jupyter Notebooks to Web Apps
We are working on open-source web framework Mercury that converts Python notebooks to Web Apps.
It is very opinionated:
- it has no callbacks - we automatically re-execute cells below updated widget
- it has no layout widgets, all input widgets are always in the left sidebar
Thanks to above decisions you don't need to change notebook's code to have web app and fit to the framework.
The simplicity of the framework is very important to us. We also care about deployment simplicity. That's why we created a shared hosting service called Mercury Cloud. You can deploy notebook by uploading a file.
The GitHub repository https://github.com/mljar/mercury
Documentation https://RunMercury.com/docs/
Mercury Cloud https://cloud.runmercury.com
- Show HN: Build Web Apps in Jupyter Notebook with Python Only
-
[OC] Analyzing 15,963 Job Listings to Uncover the Top Skills for Data Analysts (update)
Analysis was done in Jupyter Notebook with Python 3.10, Pandas, Matplotlib, wordcloud and Mercury framework.
-
[OC] Data Analyst Skills in need based on 15,963 job listings
Analysis was done in Jupyter Notebook with Python 3.10 kernel, Pandas, Matplotlib, wordcloud and Mercury framework to share notebook as a web application with widgets and code hidden. Gif created in Canva.
-
Share Jupyter Notebook on Hugging Face Spaces with Mercury
Mercury is a framework for converting Jupyter Notebooks to interactive apps (Voila killer),
What are some alternatives?
jupyter - An interface to communicate with Jupyter kernels.
streamlit - Streamlit — A faster way to build and share data apps.
rmarkdown - Dynamic Documents for R
voila - Voilà turns Jupyter notebooks into standalone web applications
sagemaker-run-notebook - Tools to run Jupyter notebooks as jobs in Amazon SageMaker - ad hoc, on a schedule, or in response to events
papermill - 📚 Parameterize, execute, and analyze notebooks
nbdev - Create delightful software with Jupyter Notebooks
voila-gridstack - Dashboard template for Voilà based on GridStackJS
awesome-streamlit - The purpose of this project is to share knowledge on how awesome Streamlit is and can be
nbdime - Tools for diffing and merging of Jupyter notebooks.
ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.