How to Dynamically Generate Requirements.txt file for Python Apps

preview_player
Показать описание

0:00 Why use pipreqs
1:06 pipreqs installation and usage

Рекомендации по теме
Комментарии
Автор

Thanks, very good work and high quality videos, keep uploading!

kod
Автор

Thanks a lot, I'been struggling a lot trying to use pipreqs directly from a cmd promp but showing no results (I think it's because I'm working directly on a Sharepoint folder). This solution worked perfectly, thank you man!

samosertogo
Автор

Thanks for the simple yet effective video
Saved me some good time :)

Amr-Ibrahim-AI
Автор

Thank you for another informative post

mabrouk
Автор

Regarding venv, I understand it comes with python, but I've seen many manually install pyenv separately.. why, what's the difference between
1) pipx
2) venv / virtualenv
3) pyenv (not pyvenv ) with or without the virtualenv plugin (i.e. pyenv-virtualenv)

Also, is pipreqs smart enough to analyze my python script and determine that some imports are not actually used, and therefore won't add it to the requirements txt? I'd like to find a way to give it a script and have it report the versions the user will need.. ONLY for the packages that are used somewhere in the code!

bennguyen
Автор

Maybe it is a wrapper around pip freeze, that is where it pulls the versions from, just thinking, not sure

thiagolcmelo
Автор

Thanks for the video. I was wondering if you could help me figure out how to automatically name new files with python? I have created a very basic tkinter app that allows users to enter a url into an input, and then once they press upload, that url will be saved as a PDF. The problem is the PDF always has the same name since it is manually placed within the script. How can I get python to change the name after every new submission (e.g. pdf1.pdf, pdf2.pdf, pdf3.pdf, etc)?

silentt
Автор

Followed the tutorial. Typed in pipreqs to the cmd prompt and get a command not found response. Any suggestions?

joryaock
Автор

it give me blank requirements.txt
eventhough on cmd, it detect my packages

haryakumuda
Автор

What is the difference with pip3 freeze > requirements.txt ?

chikosan
Автор

Well……..game changer for me that is 🥃🥃

CostaGeo
Автор

it just created an empty requirements.txt any fix?

davidolona
Автор

can u write code what devops write plz

MWUL
Автор

Doesn't work; the term 'pipreqs' is not recognized

niflag