Skip to main content

Check which of your dependencies already support python 3

Project description

Check which of your dependencies already support python 3.

Usage

Example:

$ py3support requirements.txt

Python 3 support level: 50% (2/4)

Python 3
========
  requests==1.0.4
  docutils==0.10

Python 2
========
  Flask==0.9

Unknown
=======
  PIL==1.1.6

How it works

The only easy way to tell if package supports python 3 is to trust author’s classifiers. This tool hits PyPI index to check what python versions do your dependencies support.

Caveats

Some packages might support python 3, but do not have required metadata, some packages might state py3 support, but it’s not there yet (gunicorn). After all, a lot of package authors don’t provide python version classifiers at all.

Todo

  • If not requirements.txt exists make use of pip freeze

  • Check python 3 compatibility for latest version in PyPI

  • Handle development versions -e

  • Search for python 3 forks at github

  • Handle package names with wrong CaSe (?)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py3support-0.1.1.zip (6.1 kB view details)

Uploaded Source

File details

Details for the file py3support-0.1.1.zip.

File metadata

  • Download URL: py3support-0.1.1.zip
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for py3support-0.1.1.zip
Algorithm Hash digest
SHA256 cec99fa837a7c9a43b20afc4435f85520ce2dd7a147c989f7418bfd4ed31203d
MD5 18871d8d8ca464a448ca592a9313e6fa
BLAKE2b-256 341adb3beafd6848def0b466e291af79377b592b365bd7959e31a7f168457a89

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page