Skip to main content

Git commit date based version generator

Project description

DateVersioning

Python package

The What

This is a python module to generate a git commit date based version. The first two digits represent the year, as in 20 means the year 2020 and 21 the year 2021 and so on. The middle three digits represent the day of the year ranging from 001 to 366. The last six digits represent the time of date in 24 hour format (hhmmss).

The Why

For continuous release software, it is more user friendly to be able to read out from the version how old it is. So the user can make a decision to check up on updates based on that.

The How

Install from PyPi:

pip install DateVersioning

Usage:

In a directory containing a git repository

python -m DateVersioning

Specify a location of a git repository

python -m DateVersioning directory="/path/to/repo"

The Who

Einar Arnason
https://github.com/EinarArnason/
https://www.linkedin.com/in/einararnason/

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

DateVersioning-20.292.113213.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file DateVersioning-20.292.113213.tar.gz.

File metadata

  • Download URL: DateVersioning-20.292.113213.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for DateVersioning-20.292.113213.tar.gz
Algorithm Hash digest
SHA256 a83a8f94ad8ef90ebe318bd7431d4ff6d60ddf6fcc7042bcbf05b29a4464de43
MD5 b7aa903becb9b4b400e6e761e566aca6
BLAKE2b-256 7bdff7c6e88d220daa4b1e23b146e76c88b1ae53a7263e4d5f287ddbaec1437f

See more details on using hashes here.

Supported by

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