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.

Files for traVer, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size traVer-1.1.0.tar.gz (15.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page