Skip to Content

Get Python Project Libraries Using pipreqs

Learn how to get Python project libraries using pipreqs

karchunt

Kar Chun Tan

Creator

Metadata

Sat Apr 26 2025

1 min read

48 words

Get Python Project Libraries Using pipreqs

To get the libraries used in a Python project, you can use the pipreqs tool. This tool scans your Python files and generates a requirements.txt file with the libraries used in your project.

pip install pipreqs pipreqs /path/to/your/project --force # verify the generated requirements.txt cat requirements.txt
Last updated on