Rust-Python-Packaging / rust-pip

Pip rewritten in Rust.
MIT License
19 stars 11 forks source link

Investigate how `pip` translates `requirements.txt` and gets packages from the PyPi Index #15

Open Kiwifuit opened 2 years ago

Kiwifuit commented 2 years ago

Related to #7 and #8, just that we need to translate the requirements,txt file (and maybe give it a easier usage in the CLI, something like pip.rs install-requirements or something like that) so that we can get the package the requirements.txt file requires from the PyPi index

Notes

Problems

DevChaudhary78 commented 2 years ago

seems great, surely will consider it:)

DevChaudhary78 commented 2 years ago

btw, if you are interested in solving this issues, you can assign yourself

Kiwifuit commented 2 years ago

@DevChaudhary78 How do I do that?

Kiwifuit commented 2 years ago

@Allstreamer's pull about the JSON API could handle the grabbing the URL to the wheel part

Allstreamer commented 2 years ago

There's no ratelimiting on the API so it would be an easy way to get information for packages / the wheel_url

More info on Ratelimits For Pipy

FerrisWasTaken commented 2 years ago

Look into pip freeze or https://github.com/bndr/pipreqs.