Git commit date based version generator
Project description
DateVersioning
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for DateVersioning-20.292.114220.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58cd90d2fb7e15badf57dcfe6373609bcaa8b64286ea68b930fb7e2e41537f2b |
|
MD5 | 8322110fa346edcf7cb1c7c00c7a949a |
|
BLAKE2b-256 | 863ecfdc51bc8e2e638172d6019cc703d7bfedf78fddc99cbab20d3dd3e9e083 |
Hashes for DateVersioning-20.292.114220-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d32a85d53c2f9c5ba8c7f8363a02d966111fc05fa2555a1af34e95d9a847bb0c |
|
MD5 | e6b7e8695611572bbadb1cec83572ffa |
|
BLAKE2b-256 | 89108b6f6734d0e592b2861baae2d7320d6a74aaff70dd015c94c19656a77e8a |