Skip to content

TraVersion is similar way of maintaining semantic versioning, where the major points are introduced in this repository. Note: The word TraVersion is taken from Traverse which means "to go or travel across or over"

License

Notifications You must be signed in to change notification settings

sunilk-n/TraVersion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

TraVersion is similar way of maintaining semantic versioning, where the major points are introduced in this repository. Note: The word TraVersion is taken from Traverse which means "to go or travel across or over"

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages