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.4.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.4-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyupgradecheck-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 4942811e46f310ddbedd5b3f387e42a0c1c6fc8a173e9a25c014d2312f5b1e0a
MD5 2edddd3e379a53b08d9724ad16683198
BLAKE2b-256 4fe8bae07537b493b55d5871a46e7d1c7b642ff172f2f373a89a20ffa63dc5d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyupgradecheck-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c22e3ac3f33b3818281f7703cad3da1f82a5d9c88c7dabbe4e69abce02cccb84
MD5 cfa94c41486e9014707138be643d0b5f
BLAKE2b-256 12640a870fdcc1def8a4ca0d02ee387b1bd8a6cf3425336a737846a44ac2a00a

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