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.1.0.tar.gz (2.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for autoversion-1.1.0.tar.gz
Algorithm Hash digest
SHA256 02d2c3f35ab9e4cadc745b5dfce5a9b8538028032c278b43b71ac01548998a88
MD5 f78ac4eaf1adce0263c2426d9ba54ac4
BLAKE2b-256 98dce90d402fd1470881f0985b924b57a5dda9307222ce87706887072de63e9a

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