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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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