version – Store project metadata

Store project metadata.

This module defines the project metadata to avoid duplicating these values across sources files [pypa1]. The project metadata are the project name (name) and the version identifier (version).

Using version

For this short tutorial, we simply import the data.

>>> from darkbridge.version import version
>>> version
'0.1.0'

Reference

darkbridge.version.name: str = 'DarkBridge'

The name of the project

darkbridge.version.version: str = '0.1.0a1'

The version identifier of the project, as defined in the Version specifier specification