Version¶
Functions and classes for handling version numbers.
get_version ¶
get_version(distribution_name)
Get the installed version of a Python distribution.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
distribution_name
|
str
|
Name of the distribution package. |
required |
Returns:
| Type | Description |
|---|---|
str
|
The version string. |
Source code in src/aibs_informatics_core/utils/version.py
8 9 10 11 12 13 14 15 16 17 | |