nbstripout
pluggy
nbstripout | pluggy | |
---|---|---|
4 | 1 | |
1,147 | 1,158 | |
- | 2.3% | |
7.6 | 8.5 | |
about 1 month ago | 8 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | MIT License |
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.
nbstripout
-
Tips for using Jupyter Notebooks with GitHub
If you'd like to automatically remove empty / tagged cells or retroactively apply this filter to your git history, you can read the nbstripout documentation on GitHub.
-
Ask HN: Are there any good Diff tools for Jupyter Notebooks?
I used something as a precommit hook in the past that remove plots and other rendered content and only kept text and code in git index. I'm almost sure it was https://github.com/kynan/nbstripout but it's been a while and I could be wrong.
Once the hook was in place git diff worked well enough to not need any other diffing tool.
-
Notebooks suck: change my mind
As far as versioning, I use nbstripout (notebook strip out) I think there are alternatives too.
-
NumPy 1.20 Released
You can use it with source control, I do it for about 18 notebooks I use on a daily basis:
https://github.com/kynan/nbstripout
pluggy
-
How to get to know more about pluggable architecture.
To give a concrete starting point, if you're comfortable with Python I've had a mostly favorable time working with pluggy. You need to learn enough about how python packaging works (mostly setuptools entrypoints) to really get down and dirty with it but after that I found it to be enjoyable for the most part. It's been a few years since I've poked at it so I can't answer too many questions these days though.
What are some alternatives?
vscode-jupyter - VS Code Jupyter extension
hooking - Generic dual-paradigm hooking mechanism
nbdime - Tools for diffing and merging of Jupyter notebooks.
TheAlgorithms - All Algorithms implemented in Python
clerk - ⚡️ Moldable Live Programming for Clojure
pyinstaller-hooks-contrib - Community maintained hooks for PyInstaller.
Jupyter Notebook (IPython) - Multi-user server for Jupyter notebooks
DevUtils-app - All-in-one Toolbox for Developers. Native macOS app.
ploomber - The fastest ⚡️ way to build data pipelines. Develop iteratively, deploy anywhere. ☁️
pywinauto - Windows GUI Automation with Python (based on text properties)
Pluto.jl - 🎈 Simple reactive notebooks for Julia
autohooks - Library for managing git hooks