Skip to main content

Semantic versioning for python projects

Project description

TraVersion

TraVersion is similar way of maintaining semantic versioning in python, where the major points are introduced in this repository.

Usage Example:

  • Default version
    from traVer import Version
    version = Version()
    
    # Default version will be 1.0.0
    print(version)
    
    Output:
    >> 1.0.0
    
  • Assigning version
    from traVer import Version
    version = Version("2.3.4-beta.5")
    
    # You can specify major, minor, patch, preRelName, preRelease
    print(version.major)
    print(version.patch)
    
    Output:
    >> 2
    4
    

Note:

Anyone interested to contribute code or give some ideas to improve the versions to this repository are most welcome.

Do you know?

The word TraVersion is taken from Traverse which means "to go or travel across or over"

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

traVer-1.1.0.tar.gz (15.8 kB view details)

Uploaded Source

File details

Details for the file traVer-1.1.0.tar.gz.

File metadata

  • Download URL: traVer-1.1.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.3

File hashes

Hashes for traVer-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0e4a752d8b8721861f25725db67d55fcf9b688056bf6866bfbe6e83f4e592d86
MD5 bb4f5cbd6c5fbe606dc582c20a907ea8
BLAKE2b-256 a05660f2996e127ca3e2aafeafc1fa9db28d26cb51b1cc8ce32d03e0ea4e9b91

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