lineapy
jupytext
lineapy | jupytext | |
---|---|---|
7 | 20 | |
656 | 6,425 | |
0.5% | - | |
2.0 | 8.8 | |
9 months ago | 4 days ago | |
Jupyter Notebook | Python | |
Apache License 2.0 | 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.
lineapy
-
Rant: Jupyter notebooks are trash.
There are a few projects that can help close this gap between notebook prototype -> production. One of them is ipyflow (https://github.com/ipyflow/ipyflow), another is lineapy (https://github.com/linealabs/lineapy).
-
The hand-picked selection of the best Python libraries and tools of 2022
LineaPy β notebooks in production
-
Model artifacts mess and how to deal with it?
If you are mainly using python, there is a library called lineapy that is pretty much trying to solve all the challenges you just listed.
- lineapy: Data engineering, simplified. LineaPy creates a frictionless path for taking your data science artifact from development to production.
-
Overwhelmed about consolidating code
Hi, I'm a contributor of LineaPy. We're building a tool that solves this problem. Our goal is to reduce the friction between developing Jupyter notebooks(or python scripts) and production codes.
-
When to use Jupyter Notebooks vs. βOrganizedβ Python Code?
I think you might want to give LineaPy a try! It is a tool trying to bridge the gap between Jupyter notebooks and production pipelines. One of the feature it provides is extracting codes only related to objects(you've selected) from your notebook into a python script and I think it is helpful for anyone who is using both Jupyter notebooks and python scripts.
-
Introducing LineaPy!
GitHub
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.
What are some alternatives?
ruff - An extremely fast Python linter and code formatter, written in Rust.
jupyter - An interface to communicate with Jupyter kernels.
lingua-py - The most accurate natural language detection library for Python, suitable for short text and mixed-language text
rmarkdown - Dynamic Documents for R
diffusers - π€ Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch and FLAX.
sagemaker-run-notebook - Tools to run Jupyter notebooks as jobs in Amazon SageMaker - ad hoc, on a schedule, or in response to events
python-benedict - :blue_book: dict subclass with keylist/keypath support, built-in I/O operations (base64, csv, html, ini, json, pickle, plist, query-string, toml, xls, xml, yaml), s3 support and many utilities.
nbdev - Create delightful software with Jupyter Notebooks
ipyflow - A reactive Python kernel for Jupyter notebooks.
papermill - π Parameterize, execute, and analyze notebooks
whylogs - An open-source data logging library for machine learning models and data pipelines. π Provides visibility into data quality & model performance over time. π‘οΈ Supports privacy-preserving data collection, ensuring safety & robustness. π
nbdime - Tools for diffing and merging of Jupyter notebooks.