Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 3 tasks
Kiwifuit opened this issue Aug 8, 2022 · 6 comments
Open
1 of 3 tasks
Labels
documentation Improvements or additions to documentation Investigation investigate something

Comments

@Kiwifuit
Copy link

Kiwifuit commented Aug 8, 2022

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

  • Version Operators (e.g. ==, >=, etc.)
  • Python version verification
  • A robust way to parse requirements.txt
    • Very doubtful that this actually works, so half a tick

See Also

@DevChaudhary78
Copy link
Collaborator

seems great, surely will consider it:)

@DevChaudhary78
Copy link
Collaborator

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

@Kiwifuit
Copy link
Author

Kiwifuit commented Aug 8, 2022

@DevChaudhary78 How do I do that?

@Kiwifuit
Copy link
Author

Kiwifuit commented Aug 8, 2022

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

@Allstreamer
Copy link
Collaborator

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

@John15321 John15321 added documentation Improvements or additions to documentation Investigation investigate something labels Aug 8, 2022
@FerrisWasTaken
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Investigation investigate something
Projects
None yet
Development

No branches or pull requests

5 participants