uv
pip-run
uv | pip-run | |
---|---|---|
13 | 7 | |
11,653 | 129 | |
17.6% | - | |
10.0 | 8.9 | |
5 days ago | 21 days ago | |
Rust | 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.
uv
- uv: An fast Python package installer and resolver, written in Rust
-
Trying Out Rye
It’s worth calling out that it’s still early days for Rye. The ownership recently transitioned from Armin Ronacher to the team that develops ruff (https://astral.sh). No doubt limitations exist today, but it’s going to look a lot more like cargo as they put out more releases.
-
Uv saves Home Assistant 215 compute hours per month
Happy to report that this definitely isn't a paid ad. The Home Assistant team did this on their own. I helped out by building uv for some of the architectures they needed: https://github.com/astral-sh/uv/pull/2417
-
Pyenv – lets you easily switch between multiple versions of Python
https://github.com/astral-sh/uv
So fast it finally made virtual environments usable for me.
- Python's pip on steroids
-
This Week in Python (February 23, 2024)
uv – An extremely fast Python package installer and resolver, written in Rust
-
Multi-Stage Docker Builds for Pyton Projects using uv
Charlie Marsh and the brillant guys at Astral have helped the python ecosystem a lot with ruff and now they have released a new tool: uv.
-
Ask HN: How to determine company's long term dependability? (Ello, Astral)
[2] https://github.com/astral-sh/uv
- Astral – fast Python package installer and resolver written in Rust
- An fast Python package installer and resolver, written in Rust
pip-run
-
This Week in Python (February 23, 2024)
pip-run – dynamic dependency loader for Python
- Pip-run – dynamic dependency loader for Python
- PEP 723 – Inline script metadata (merged)
-
pip-run VS instld - a user suggested alternative
2 projects | 9 Dec 2023
-
PEP 722: Python dependencies for single-file scripts
where only '[build-system.requires]' is supported. I think this could be extracted statically, through the AST, so no eval needed.
One of the links lead me to alternative proposals at https://github.com/jaraco/pip-run/issues/44 but none of them fit this form. (It's "Variant 1: single variable" with '__pyproject_toml__' as the variable name, "Option 2: Requirements.txt in comments" but in a string, and as TOML.)
The main objection seems to be 'Users may be tempted to dynamically construct the list (through runtime execution), but only static values are supported.' replacing 'list' with 'string'.
I have such a poor grasp one what "users" want that I can't judge.
-
I was told at work to re-write a Rust program in Python
If you insist on writing scripts, at least use something like pip-run to annotate which dependency versions it needs and verify them before running.
-
Python Project Setup – Virtual Environments and Package Management
pip-run serves the same purpose as pipx. The only difference is that pip-run doesn't provide a persistent package installation but rather deletes all environments after the tool has been executed.
What are some alternatives?
rye - a Hassle-Free Python Experience
piet-wasm
pyflow - An installation and dependency system for Python
peps - Python Enhancement Proposals
hatch - Modern, extensible Python project management
Poetry - Python packaging and dependency management made easy
flower - Flower: A Friendly Federated Learning Framework
pyenv - Simple Python version management
rfcs - RFCs for changes to Rust
warehouse - The Python Package Index
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
instld - The simplest package management