#python #generate #cli #dependencies #tool #txt-file

app requirements-txt-generator

Automatically generate a requirement.txt file for Python projects

2 releases

new 0.1.1 Sep 16, 2024
0.1.0 Sep 8, 2024

#1797 in Network programming

Download history 181/week @ 2024-09-08

181 downloads per month

MIT license

16KB
374 lines

requirements-txt-generator

This project aims to reduce the painful experience after done writing a python project, and then find out that you forgot to keep a requirements.txt. The project is still at its early stage, but it can now get the basic works done. Feel free to try out.

how to use

If you have Rust installed, you can pretty much use the following command to install this tool:

cargo install requirements-txt-generator

then, use this command to generate your requirements.txt

requirements-txt-generator --path `your python project path`

there you go, after the program finishes, you will see the requirements.txt under your project folder.

Contributions

All contributions are welcomed.

License

MIT.

Dependencies

~3.5–9.5MB
~90K SLoC