Skip to main content

Report versions on main packages used in program.

Project description

versionreporter

What is it

The versionreporter package provides a very easy way to:

  • report the currently used versions of the main packages used in an application, including the application package.

  • report if there are newer versions available of any of the main packages for use on the currently running Python version.

  • report if there are newer versions available of any of the main packages for use on a newer Python version than the one currently running.

  • report when the developer of the main application package will no longer provide newer releases for the currently running Python version.

How this is used in an application is naturally up to the application designer. One common way is to invoke versionreporter when a --version flag is entered on the command line of the application.

Installing versionreporter

Installing versionreporter on mac and Linux

pip3 install --upgrade versionreporter

Installing versionreporter on Microsoft Windows

pip install --upgrade versionreporter

Example programs

The best way to learn to use this package is to use the provided example programs: https://github.com/tom-bjorkholm/version-reporter/blob/master/example/src/example/README.md.

API documentation

You can find the public API documentation at https://github.com/tom-bjorkholm/version-reporter/blob/master/doc/api.md

You can find the protected API documentation at https://github.com/tom-bjorkholm/version-reporter/blob/master/doc/protected_api.md

Even though the API documentation exists, most users and programmers probably get a better start by reading the examples.

Test summary

  • Test result: 247 passed in 7s
  • No flake8 warnings.
  • No mypy errors found.
  • No python layout warnings.
  • Built version(s): 0.4
  • Build and test using Python 3.14.6

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

versionreporter-0.4.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

versionreporter-0.4-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file versionreporter-0.4.tar.gz.

File metadata

  • Download URL: versionreporter-0.4.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for versionreporter-0.4.tar.gz
Algorithm Hash digest
SHA256 2a08e18c10620fef192eca3b152b5480788924d0cdab35bed55d1c8ae61b2e8e
MD5 b725483e39a91461d8635c27da719844
BLAKE2b-256 7fd6aede12f5b845644bcccc8bf4a6b7f596048c29d9529ce7d5ef7d46999ae6

See more details on using hashes here.

File details

Details for the file versionreporter-0.4-py3-none-any.whl.

File metadata

  • Download URL: versionreporter-0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for versionreporter-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 33377fbd46ada0027538eeff2148f9c1c2b0976b0794d37217adf7fa316ef83a
MD5 8b41f81fcf38664b6e46306e5a19ffad
BLAKE2b-256 153f6bdfb9c8a39d84a136a3e7aa737207092245a2182d7069832714f8f41f17

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