requirements.txt Generator
Upload your Python files — we read the imports and build the file. Or tick packages by hand.
Upload your Python source and we read the imports to build a clean, pip-ready requirements.txt — or tick the libraries you use by hand.
Upload your Python files — we read the imports and build the file. Or tick packages by hand.
Point it at your code or pick from the catalog — either way you get a tidy, versioned file in seconds.
Drop in .py or Jupyter .ipynb files and it parses every import and from … import, maps them to the right PyPI package, and skips the standard library.
Knows the tricky cases — import discord → discord.py, cv2 → opencv-python, PIL → Pillow, bs4 → beautifulsoup4 and many more.
Toggle pinning to emit package==1.2.3 for known libraries, so your builds are reproducible. Turn it off for loose, latest-version installs.
Your files are read locally in the browser and never uploaded, so it is safe to scan proprietary code.
Upload your files — drag your project's .py or .ipynb files onto the drop zone, or click to browse. You can add several at once.
Review the detections — matching packages are ticked automatically and any extras are added. Add or remove libraries from the catalog as needed.
Copy the file — hit copy and paste it into your project's requirements.txt, then run pip install -r requirements.txt.
Everything you might wonder about this tool.
.ipynb file and it extracts the code cells before scanning them for imports.import yaml but install PyYAML. The generator handles these common mismatches for you.Host your Discord or Telegram bot 24/7 on AMD EPYC — free tier, no card required.
Claim a free server →