Read a requirements.txt line by line: what each requirement pins, which files it pulls in, and why a partly hashed file will not install.
Waiting for a requirements.txt
Nothing is uploaded. Paste the file, or load the example.
A requirements file is arguments for pip, not a manifest. Order matters, -r pulls in another file this tool cannot see, and --index-url redirects every download in the install — including the ones declared in the files it includes.
Paste a requirements.txt to see what it pins, what it leaves open, and what it pulls in from elsewhere.
Hashes are all-or-nothing in pip: once one requirement has --hash, every requirement needs one, and a partly hashed file fails the install rather than installing the unhashed part. Files pulled in with -r or -c are named but not followed — nothing is fetched, no index is contacted, and no environment marker is evaluated against a real interpreter.
requirements.txt Inspector runs entirely on your device — your requirements file is parsed in your browser and nothing is sent to PyPI.
You’re on the Free plan. Compare plans
A requirements file is an argument list for pip rather than a manifest, and it behaves like one. Order matters, -r pulls in another file this tool cannot see, and a single --index-url line redirects every download in the install including those from the files it includes. Treating it as a declarative list is how a surprising package ends up installed from a surprising place.
The hash rule is all-or-nothing and the failure is misleading. The moment any requirement carries --hash, pip requires every requirement to carry one, so a file that is ninety per cent hashed does not install at all — and the error reads as a hash problem rather than a missing-hash problem, which sends people to the wrong line.
Every line is classified rather than only the ones that parse as requirements. Includes, constraints, editable installs, global options, comments and blanks are each shown for what they are, because the line that changes the behaviour of an install is often not a requirement at all.
Because pip switches into hash-checking mode as soon as one hash appears, and in that mode every requirement must be hashed. The resulting error talks about hashes rather than about the unhashed lines, which is why this is worth seeing before you run it.
No. It installs whatever the index currently calls latest, which means two installs a week apart can differ. That is appropriate in a .in file compiled by pip-compile and rarely appropriate in the compiled output.
No. They are named so you know they exist, and nothing is fetched. A requirement referenced only from an included file is therefore not in the counts, which is why those counts are a floor.
Everything in the install, not just the lines after it. It replaces PyPI as the source, so a private index line in a shared file sends every download there — which is sometimes the intent and sometimes a supply-chain surprise.
No. This reads the file and explains it. A dry run resolves against a real index and tells you what would be installed, which needs the network and your Python version.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab