Skip to main content

checkmyreqs

checkmyreqs allows you to check the packages in your requirements file against a specified Python version.

This command will check 2 requirements files, to see if their packages are compatible with Python 3.3

checkmyreqs -f requirements.txt,requirements_dev.txt -p 3.3

If you don’t pass in a filename, it will use requirements.txt in the directory it is called

checkmyreqs -p 3.2

The output is a list of packages not supported by the given Python version.

For each package, checkmyreqs will tell you if updating them will give you support.

There are 2 parameters

-f, --files : comma-separated list of files to check (optional, default is requirements.txt)
-p, --python : Python version to check compatibility, example 2.7 or 3.2

Caveat

checkmyreqs looks at packages on pypi.python.org to see if their author has included a classifier saying which Python versions are supported.

If the package has incorrect or missing classifiers, checkmyreqs will show it as unsupported.

This tool is meant as an addition to other porting tools. 2to3 and six can help you make your code Python 3 ready, and checkmyreqs lets you quickly check if your packages are ready to move as well.

Installation

pip install checkmyreqs

Supports Python 2.7, 3.2, 3.3

Python <=2.6, 3.0 and 3.1 are not supported, they don’t have argparse

Metadata

Release files for checkmyreqs 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for checkmyreqs 0.1.3
File Size Uploaded
checkmyreqs-0.1.3.tar.gz 5.5 kB Details

Release files / checkmyreqs-0.1.3.tar.gz

Download URL checkmyreqs-0.1.3.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f318a04e8f0867ca5f7d0e9234fbe5479b40c2f6b7606a818d4a93b7341de451
BLAKE2b-256 checksum
How to use checksums
3ce04316aea858d828c2d5f93b3623e71c3de3d3544b7d9c32a1a2ba8622f666
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page