RIP
is a library that allows the resolving and installing of Python PyPI packages from Rust into a virtual environment.
It's based on our experience with building Rattler and aims to provide the same
experience but for PyPI instead of Conda.
It should be fast and easy to use. Like Rattler, this library is not a package manager itself but provides the low-level plumbing to be used in one.
RIP
is based on the quite excellent work of posy and we have tried to credit
the authors where possible.
Let's resolve the flask
python package.
We've added a small binary to showcase this:
This showcases the downloading and caching of metadata from PyPI. As well as the package resolution using our solver, more on this below. We cache everything in a local directory so that we can re-use the metadata and don't have to download it again.
This is a list of current and planned features of RIP
, the biggest are listed below:
- Downloading and aggressive caching of PyPI metadata.
- Resolving of PyPI packages using Resolvo.
- Installation of wheel files (partial support see: prefix-dev#6)
- Support sdist files (planned)
More intricacies of the PyPI ecosystem need to be implemented, see our GitHub issues for more details.
We have integrated the stand-alone packaging SAT solver Resolvo, to resolve pypi packages.
This solver is incremental and adds packaging metadata during resolution of the SAT problem.
This feature can be enabled with the resolvo
feature flag.
We would love to have you contribute! See the CONTRIBUTING.md for more info. For questions, requests or a casual chat, we are very active on our discord server. You can join our discord server via this link.