Skip to main content

Check your installed Python packages for version compatibility

Project description

🐍 pyupgradecheck

PyPI CI

Quickly see which of your installed packages are ready for your next Python version.

Example

# Test with all packages
pyupgradecheck 3.13

# Example Output:
# requests 2.32.3: supported (PyPI requires_python: >=3.7)
# some-old-lib 1.2.0: incompatible (PyPI requires_python: <3.10)
# Test it with a small number of packages
pyupgradecheck 3.13 --packages packaging httpx halo
# JSON output
pyupgradecheck 3.13 --json

Install

pip install pyupgradecheck

Use programmatically

from pyupgradecheck import check_environment
print(check_environment("3.13"))

CLI help

pyupgradecheck --help

Contributing

PRs welcome 💖 — run tests with:

pytest

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

pyupgradecheck-0.1.3.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyupgradecheck-0.1.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file pyupgradecheck-0.1.3.tar.gz.

File metadata

  • Download URL: pyupgradecheck-0.1.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pyupgradecheck-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c68eb3a70605874cd8ac7c50c3d61584f91bc62e57ed22d6258237793b2f4b9f
MD5 8580a19e32a70f7f2ecba65efa0f8d4a
BLAKE2b-256 93579d2e3e93d984d6c47787b33a9652b9de7a06ad79acbf7efc830e33631430

See more details on using hashes here.

File details

Details for the file pyupgradecheck-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pyupgradecheck-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pyupgradecheck-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e7392a9ae271922f70f2d158485ac0d1ff762ed867ddc241641cc98f62f494c3
MD5 0ce4841f1fe3974b3800489f33ffa7be
BLAKE2b-256 45e610fef8d865dbaf1cbc9770e407903a0717a819b95393a2ae315bba56049a

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