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.114220.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.292.114220-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: DateVersioning-20.292.114220.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.114220.tar.gz
Algorithm Hash digest
SHA256 58cd90d2fb7e15badf57dcfe6373609bcaa8b64286ea68b930fb7e2e41537f2b
MD5 8322110fa346edcf7cb1c7c00c7a949a
BLAKE2b-256 863ecfdc51bc8e2e638172d6019cc703d7bfedf78fddc99cbab20d3dd3e9e083

See more details on using hashes here.

File details

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

File metadata

  • Download URL: DateVersioning-20.292.114220-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • 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.114220-py3-none-any.whl
Algorithm Hash digest
SHA256 d32a85d53c2f9c5ba8c7f8363a02d966111fc05fa2555a1af34e95d9a847bb0c
MD5 e6b7e8695611572bbadb1cec83572ffa
BLAKE2b-256 89108b6f6734d0e592b2861baae2d7320d6a74aaff70dd015c94c19656a77e8a

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