Skip to main content

print a one-list summary of the current git repository, the current branch, and the hash for the current head

Reason this release was yanked:

superseded by project gitsummary

Project description

gitsummary

Pure python utility to print a one-line summary of the current git repository, the current branch, and the hash for the current head.

usage

import gitsummary
gitsummary.print_cwd_git_version()

returns a string containing the current git repository, the current branch, and the hash of the branch head. This information is useful in scientific codes to quickly determine the origin of a plot or dataset. The string can, for example, be written in a jupyter notebook or placed in the metadata of a netcdf file.

License

This project is licensed under the terms of the MIT license.

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

gitsummary-Timothy-W-Hilton-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

gitsummary_Timothy_W_Hilton-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file gitsummary-Timothy-W-Hilton-0.0.1.tar.gz.

File metadata

File hashes

Hashes for gitsummary-Timothy-W-Hilton-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4cc168635f7079d4fff9167f5ed8d2d9e3d3436f3e21595680af2d07809d8403
MD5 dd334a4b6ad0dc01f02c54242f630724
BLAKE2b-256 525a0768e52b2482cefbd1be9c6b132410f3b7a542e9ef033e1e5af3c0d7826f

See more details on using hashes here.

File details

Details for the file gitsummary_Timothy_W_Hilton-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for gitsummary_Timothy_W_Hilton-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12a25960080071b90ef7e4ca771c1ea71ef88d529dca5d3a022b85d5211dd058
MD5 b05d0e88416fd2ec3e3f607e87fa3576
BLAKE2b-256 ddd8ec0d6446786a62f6ba011695fa334ee3d7d4cb44a47a6633bdb7314563c2

See more details on using hashes here.

Supported by

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