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.146.163301.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DateVersioning-20.146.163301-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: DateVersioning-20.146.163301.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for DateVersioning-20.146.163301.tar.gz
Algorithm Hash digest
SHA256 4c5182bd8dffdc162ade7ee154404d52cc52e9d16af0380ce00019ef157d86d7
MD5 27279be3ef9b90bd7893bdcd008faabe
BLAKE2b-256 f43f0d9d54a60c121ef57fa8cca3969f8e0cce39c46d57a8f60654da4b3edd25

See more details on using hashes here.

File details

Details for the file DateVersioning-20.146.163301-py3-none-any.whl.

File metadata

  • Download URL: DateVersioning-20.146.163301-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for DateVersioning-20.146.163301-py3-none-any.whl
Algorithm Hash digest
SHA256 740e835e899c68407edbbfde1e3fa6b5b5b2d51c6bd2acf5886671f3e6eae55f
MD5 cea441c9dd60bc9bcee4b1267ace26bc
BLAKE2b-256 0b355991b713fb718c7a59b55be19b3846f7902270ed06f2a5998ff512d7fca5

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