Our great sponsors
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.
What features an ideal IDE for Python notebooks should have?
4 projects | reddit.com/r/Python | 15 Nov 2021
I solved this problem two years ago and tried to notify everyone. Looks like I am still the only person in the world using this: https://github.com/Tronic/niceback
The hatred towards jupyter notebooks
2 projects | reddit.com/r/datascience | 12 Mar 2023
jupytext is your friend.
Edit notebooks in Google cloud
3 projects | reddit.com/r/neovim | 19 Feb 2023
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.
6 projects | reddit.com/r/datascience | 24 Jan 2023
Automatically convert ipynb files to py when saving them on JupyterLab
JupyterLite is a JupyterLab distribution that runs in the browser
10 projects | news.ycombinator.com | 28 Nov 2022
The format is only partially invented, it follows Jupytext , 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.
The Jupyter+Git problem is now solved
9 projects | news.ycombinator.com | 25 Aug 2022
Many write research papers in R Markdown - What is the alternative setup in Python?
4 projects | reddit.com/r/Python | 14 Jul 2022
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:
2 projects | reddit.com/r/datascience | 29 Jun 2022
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.
Ask HN: Are there any good Diff tools for Jupyter Notebooks?
9 projects | news.ycombinator.com | 22 May 2022
You can use jupytext to maintain dual .py/.ipynb representation of notebooks and keep both versions in sync:
It works both ways, it can update the .py file each time you save the notebook, or you can edit the .py file and have the jupytext command line tool update the .ipynb.9 projects | news.ycombinator.com | 22 May 2022
Juptyter Notebook Applications
4 projects | reddit.com/r/datascience | 19 Feb 2022
https://github.com/mwouts/jupytext for converting ipynb file to plain python files. Additionally you can pair ipynb with py file - changes are mutual. Greatly simplifies code changes tracking in git.
What are some alternatives?
emacs-jupyter - An interface to communicate with Jupyter kernels.
rmarkdown - Dynamic Documents for R
nbdev - Create delightful software with Jupyter Notebooks
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
vim-ipython-cell - Seamlessly run Python code in IPython from Vim
jupyterlite - Wasm powered Jupyter running in the browser 💡
ploomber - The fastest ⚡️ way to build data pipelines. Develop iteratively, deploy anywhere. ☁️
codebraid - Live code in Pandoc Markdown
nbdime - Tools for diffing and merging of Jupyter notebooks.
nbterm - Jupyter Notebooks in the terminal.
mercury - Build Web Apps in Jupyter Notebook with Python only