template_python.workflows¶
Utility script for GitHub workflows.
Functions
Get the author from pyproject.toml. |
|
Get the name from pyproject.toml. |
|
|
Generate an RST prolog with the given keys and values. |
Get the version from pyproject.toml. |
|
Get the version from uv.lock. |
|
Run ci-pyproject-name to echo the name from pyproject.toml. |
|
Run ci-pyproject-version to echo the version from pyproject.toml. |
|
Run ci-uv-lock-version to echo the version from uv.lock. |
- template_python.workflows.get_version_from_pyproject()[source]¶
Get the version from pyproject.toml.
- Return type:
- template_python.workflows.get_name_from_pyproject()[source]¶
Get the name from pyproject.toml.
- Return type:
- template_python.workflows.get_author_from_pyproject()[source]¶
Get the author from pyproject.toml.
- Return type:
- template_python.workflows.get_version_from_uv_lock()[source]¶
Get the version from uv.lock.
- Return type:
- template_python.workflows.get_rst_prolog(keys, values)[source]¶
Generate an RST prolog with the given keys and values.
- Return type:
- template_python.workflows.print_version_pyproject()[source]¶
Run ci-pyproject-version to echo the version from pyproject.toml.
- Return type: