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

Senior Machine Learning Engineer

@ GPTZero | Toronto, Canada

ML/AI Engineer / NLP Expert - Custom LLM Development (x/f/m)

@ HelloBetter | Remote

Doctoral Researcher (m/f/div) in Automated Processing of Bioimages

@ Leibniz Institute for Natural Product Research and Infection Biology (Leibniz-HKI) | Jena

Seeking Developers and Engineers for AI T-Shirt Generator Project

@ Chevon Hicks | Remote

GN SONG MT Market Research Data Analyst 11

@ Accenture | Bengaluru, BDC7A

GN SONG MT Market Research Data Analyst 09

@ Accenture | Bengaluru, BDC7A