Dec. 28, 2023, 3:50 p.m. | Arnav Raina

DEV Community dev.to




Problem


All us python programmers have been in a position when our Python project is just ready and its time to share or ship it and we need to create our python dependencies (requirements.txt). And hence comes the time-consuming procedure of looking at our imports and adding them to our requirements.txt 😮‍💨.





Solution


We can easily go for pip freeze > requirements.txt that adds all the packages in our current python environment to the file. But there are …

automate dependencies go its time programmers programming project python requirements ship them tutorial

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne