Better support for PIP requirements.txt

Just pushed a new version of VersionEye online with an improved parser for requirements.txt files.

python-logo-glassy

Here are the new features:

  • It can handle comments in requirements.txt files.
  • It will ignore lines who are starting with http:// or https://.
  • It can handle entries without explicit version string.
  • Support for the pip.log file.

An entry like this here is easy:

requests==0.9.0

But now other comparators work, too. For example this here:

amqplib>=1.0.2

Or if you have only the package name. Like this:

amqplib

And the current version will also handle the pip.log file. You can just upload it or put in the URL to your pip.log file and it will show you all the dependencies in the pip.log file.

Feedback welcome.

Published by Robert Reiz

CEO @ VersionEye. Passionated software developer since 1998.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: