Skip to main content

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

Metadata

Release files for versionreporter 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for versionreporter 0.4
File Size Uploaded
versionreporter-0.4.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for versionreporter 0.4
File Interpreter ABI Platform
versionreporter-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 18.4 kB

Release files / versionreporter-0.4.tar.gz

Download URL versionreporter-0.4.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2a08e18c10620fef192eca3b152b5480788924d0cdab35bed55d1c8ae61b2e8e
BLAKE2b-256 checksum
How to use checksums
7fd6aede12f5b845644bcccc8bf4a6b7f596048c29d9529ce7d5ef7d46999ae6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / versionreporter-0.4-py3-none-any.whl

Download URL versionreporter-0.4-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33377fbd46ada0027538eeff2148f9c1c2b0976b0794d37217adf7fa316ef83a
BLAKE2b-256 checksum
How to use checksums
153f6bdfb9c8a39d84a136a3e7aa737207092245a2182d7069832714f8f41f17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page