Skip to main content

Obtain installed version of package automatically, even if it is installed using editable or develop

Project description

Automatically obtain the version number of the importer, retrieving it from

pkg_resources or source control if necessary.

Example:

# my fancy module

from __autoversion__ import __version__, __version_tuple__

Current support:

  • Git

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

autoversion-1.2.2.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file autoversion-1.2.2.tar.gz.

File metadata

  • Download URL: autoversion-1.2.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for autoversion-1.2.2.tar.gz
Algorithm Hash digest
SHA256 1beda2277a208524c96d50d09c8dc31f53316b55fde7803e8ee60ac4a7d28c14
MD5 053ef5b7a62ade10e81dab71ce0b2da4
BLAKE2b-256 fbc2b08b0418a2c6d61b433d5b7bcc4291eb62f0fa1d0edc1cd11f385db1c1e2

See more details on using hashes here.

Supported by

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