[Documentation] [TitleIndex] [WordIndex

  Show EOL distros: 

rocon_tools: rocon_console | rocon_ebnf | rocon_interactions | rocon_launch | rocon_master_info | rocon_python_comms | rocon_python_redis | rocon_python_utils | rocon_python_wifi | rocon_semantic_version | rocon_uri

Package Summary

Internal packaging of the 2.2.2 version of the python semantic version module.

rocon_tools: rocon_console | rocon_ebnf | rocon_interactions | rocon_launch | rocon_master_info | rocon_python_comms | rocon_python_redis | rocon_python_utils | rocon_python_wifi | rocon_semantic_version | rocon_uri

Package Summary

Internal packaging of the 2.2.2 version of the python semantic version module.

rocon_tools: rocon_console | rocon_ebnf | rocon_interactions | rocon_launch | rocon_master_info | rocon_python_comms | rocon_python_redis | rocon_python_utils | rocon_python_wifi | rocon_semantic_version | rocon_uri

Package Summary

Internal packaging of the 2.2.2 version of the python semantic version module.

rocon_tools: rocon_console | rocon_ebnf | rocon_interactions | rocon_launch | rocon_master_info | rocon_python_comms | rocon_python_redis | rocon_python_utils | rocon_python_wifi | rocon_semantic_version | rocon_uri

Package Summary

Internal packaging of the 2.2.2 version of the python semantic version module.

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.


2024-12-28 15:13