Giter Site home page Giter Site logo

antoinecezar / rip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prefix-dev/rip

0.0 0.0 0.0 382 KB

Solve and install Python packages quickly with rip (pip in Rust)

Home Page: https://prefix.dev

License: BSD 3-Clause "New" or "Revised" License

Python 0.88% Rust 99.12%

rip's Introduction

banner

RIP: Fast, barebones pip implementation in Rust

License Build Status Project Chat docs main

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.

Showcase

Let's resolve the flask python package. We've added a small binary to showcase this:

flask-install

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.

Features

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.

Solver

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.

Contributing ๐Ÿ˜

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.