Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexriina/checkmyreqs
Check your project requirements for Python version compatibility
https://github.com/alexriina/checkmyreqs
Last synced: about 1 month ago
JSON representation
Check your project requirements for Python version compatibility
- Host: GitHub
- URL: https://github.com/alexriina/checkmyreqs
- Owner: AlexRiina
- License: bsd-3-clause
- Created: 2013-04-08T22:25:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-08T23:20:06.000Z (over 11 years ago)
- Last Synced: 2024-10-08T09:02:09.005Z (3 months ago)
- Language: Python
- Size: 104 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
===========
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.2Caveat
======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