Show EOL distros:
Package Summary
Internal packaging of the 2.2.2 version of the python semantic version module.
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Raphaël Barrois
- License: BSD
- External website: https://github.com/rbarrois/python-semanticversion
- Bug / feature tracker: https://github.com/robotics-in-concert/rocon_tools/issues
- Source: git https://github.com/robotics-in-concert/rocon_tools.git (branch: hydro-devel)
Package Summary
Internal packaging of the 2.2.2 version of the python semantic version module.
- Maintainer status: developed
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Raphaël Barrois
- License: BSD
- External website: https://github.com/rbarrois/python-semanticversion
- Bug / feature tracker: https://github.com/robotics-in-concert/rocon_tools/issues
- Source: git https://github.com/robotics-in-concert/rocon_tools.git (branch: release/0.1-indigo)
Package Summary
Internal packaging of the 2.2.2 version of the python semantic version module.
- Maintainer status: developed
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Raphaël Barrois
- License: BSD
- External website: https://github.com/rbarrois/python-semanticversion
- Bug / feature tracker: https://github.com/robotics-in-concert/rocon_tools/issues
- Source: git https://github.com/robotics-in-concert/rocon_tools.git (branch: release/0.3-kinetic)
Package Summary
Internal packaging of the 2.2.2 version of the python semantic version module.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Raphaël Barrois
- License: BSD
- External website: https://github.com/rbarrois/python-semanticversion
- Bug / feature tracker: https://github.com/robotics-in-concert/rocon_tools/issues
- Source: git https://github.com/robotics-in-concert/rocon_tools.git (branch: release/0.3-melodic)
Overview
A very convenient, simple python package for interacting with standard MAJOR.MINOR.PATCH version number strings.
1 import rocon_semantic_version as semantic_version
2
3 version = semantic_version.Version("1.5.2")
4 print("Major Version: %s" % version.major) # 1
5 print("Minor Version: %s" % version.minor) # 5
6 print("Patch Version: %s" % version.patch) # 2
7
8 version2 = semantic_version.Version("1.5.3")
9 version < version2 # True
Note that it has been renamespaced to rocon_semantic_version to avoid conflicts with a locally installed module. See the original documentation for more information.