lineapy
ruff
lineapy | ruff | |
---|---|---|
7 | 96 | |
656 | 26,725 | |
0.5% | 4.7% | |
2.0 | 10.0 | |
9 months ago | 5 days ago | |
Jupyter Notebook | Rust | |
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
ruff
-
Introducing Tapyr: Create and Deploy Enterprise-Ready PyShiny Dashboards with Ease
Leverage Python Tools: Tapyr takes advantage of Python’s ecosystem tools, including ruff, pytest, and others.
-
Ask HN: High quality Python scripts or small libraries to learn from
I think I mention this all the time when this comes up, but I learned the most 'best practices' through using ruff.
https://docs.astral.sh/ruff/
I just installed and enabled all the rules by setting
-
Enhance Your Project Quality with These Top Python Libraries
Ruff is a Python linter that helps to identify and remove code smells. Over 700 built-in rules: Ruff includes native re-implementations of popular Flake8 plugins, like flake8-bugbear. And also built-in caching to avoid re-analyzing unchanged files.
-
Ask HN: What interesting project ideas you've got but have no time to work on?
Because the Python's "ast" modules is too slow, and lacks proper "format" feature (it has unparse but it removes comments, and forgets the current style completely). I use "ruff" a lot (https://github.com/astral-sh/ruff) which is in Rust. But I want to be able to implement fast custom linters in Go (linters that ruff / fixit lack, and Python linters lack or are too slow).
-
Rye: A Vision Continued
I think it’s interesting that rye uses ruff (https://github.com/astral-sh/ruff) for linting and formatting. That’s the right call, and it’s also correct to bundle that in for an integrated dev experience.
I had to guess, that’s the path that the Astral team would take as well - expand ruff’s capabilities so it can do everything a Python developer needs. So the vision that Armin is describing here might be achieved by ruff eventually. They’d have an advantage that they’re not a single person maintenance team, but the disadvantage of needing to show a return to their investors.
- An fast Python linter and code formatter, written in Rust
-
Smooth Packaging: Flowing from Source to PyPi with GitLab Pipelines
Adding more weight to ease of setup and configurability, the choice came down on flake8. It is easy to integrate, since its also available through pip and let’s you configure which standards you want to omit by simply stating them as a list via the --ignore switch. Moving to ruff appears quite smooth, so future updates may do so.
- Show HN: Marimo – an open-source reactive notebook for Python
-
AST-grep(sg) is a CLI tool for code structural search, lint, and rewriting
I confess I stole the pip recipe from Charlie :D
https://github.com/astral-sh/ruff/blob/main/.github/workflow...
-
Embracing Modern Python for Web Development
Ruff is an emerging tool in the Python ecosystem that describes itself as "an extremely fast Python linter and code formatter, written in Rust".
What are some alternatives?
lingua-py - The most accurate natural language detection library for Python, suitable for short text and mixed-language text
black - The uncompromising Python code formatter
diffusers - 🤗 Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch and FLAX.
mypy - Optional static typing for Python
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.
pyright - Static Type Checker for Python
ipyflow - A reactive Python kernel for Jupyter notebooks.
Pylint - It's not just a linter that annoys you!
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. 📈
Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
fugue - A unified interface for distributed computing. Fugue executes SQL, Python, Pandas, and Polars code on Spark, Dask and Ray without any rewrites.
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.