Skip to main content

Basic version tagging for python scripts and plots

Project description

git_version_info

CFAB 2020

A very simple package for getting the git hash of the current repository and adding it to a matplotlib plot. The two main commands are:

get_version()

...which returns the current git hash, and

tag_plot(small=True, ax=plt.gca())

...which adds the current hash to the given plot axis, optionally as a small tag in the corner.

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

git_version_info-0.7.1.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

git_version_info-0.7.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file git_version_info-0.7.1.tar.gz.

File metadata

  • Download URL: git_version_info-0.7.1.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for git_version_info-0.7.1.tar.gz
Algorithm Hash digest
SHA256 1df7891f196a160561f59f02ecee51752ad09a2299fffb5c9fcb06bbdf577bd6
MD5 bb27d024022da497e7fd8bc47aa490d0
BLAKE2b-256 f1bbf1b3c4e971bb6d395f5a5322417e25f133dbb8c55456f81cc02ea0f21ef8

See more details on using hashes here.

File details

Details for the file git_version_info-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for git_version_info-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b96b408c5624bde1b3720526e41fecf4f32b3631e6a17b2601f515df2166ac3
MD5 f9d217166d5b0af6edd706fb05a3efb7
BLAKE2b-256 decfc1b96156340b227638c81cdca718f51e04def4d49b07cf728e225aa0b388

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