Python requirements.txt Generator

About this tool

This tool is used to help you find out what original python package versions were used if you are missing a requirements.txt or it is not included in the program's documentation. In most cases, it will get you 99% of the way there, so depreciations and behavior changes won't bite you as hard. Take these estimations with a grain of salt.


  • 1. Use an original unmodified file - due to JS limitations (skill issue), it cannot use the creation date and it will improperly resolve unless there's a git repo in a .zip.
  • 2. Relative imports may not be resolvable - you will need to check this manually
  • 2a. Some relative imports with common generic names (tools, utils) will incorrectly resolve to a pip package when they are actually a relative import.

It is up to you, the user, to double check your imports. This tool is just to get you close.

Drag and drop your Python file or ZIP archive here

(or click to select)

Maximum file size: 10MB

Privacy or whatever

  • 1. Although processing happens server-side, we don't keep your uploaded source code. It's stored in a temporary directory then cleaned up after. Might port this to be a WASM project to learn it, if it's possible to do so, so all processing happens on your device and I don't risk getting rate limited by pypi.org.

  • 2. Only normal browser logs are kept in rotation to see if something is broken. You specificically are not tracked.