prometa.git.gitlab.badges.python package
Submodules
prometa.git.gitlab.badges.python.black module
Black code-style badge.
prometa.git.gitlab.badges.python.hatch module
Hatch and Hatchling build system.
- class prometa.git.gitlab.badges.python.hatch.HatchBadgeManager(gitlab_api)[source]
Bases:
PythonBadgeManager
The Python package uses the Hatch build system.
prometa.git.gitlab.badges.python.isort module
isort import sorting badge.
prometa.git.gitlab.badges.python.pylint module
Display the Pylint score.
prometa.git.gitlab.badges.python.pypi module
PyPI package.
- class prometa.git.gitlab.badges.python.pypi.PyPIBadgeManager(gitlab_api)[source]
Bases:
PythonBadgeManager
The Python project’s name on PyPI.
prometa.git.gitlab.badges.python.pypi_downloads module
PyPI downloads.
- class prometa.git.gitlab.badges.python.pypi_downloads.PyPIDownloadsBadgeManager(gitlab_api)[source]
Bases:
PythonBadgeManager
Estimated number of downloads from PyPI.
prometa.git.gitlab.badges.python.python module
Base class for Python badges.
- class prometa.git.gitlab.badges.python.python.PythonBadgeManager(gitlab_api)[source]
Bases:
BadgeManager
Base class for Python badges.
- class prometa.git.gitlab.badges.python.python.ToggledPythonBadgeManager(gitlab_api)[source]
Bases:
PythonBadgeManager
Base class for Python badges that are toggled by adding their names to the
tool.prometa.enabled_badges
list in pyproject.toml. In general these are badges for which no easily verifiable condition exists.- property include[source]
The badge’s name is in the
gitlab.enabled_badges
list in the configuration file.AND
The project includes a Python package.
AND
NAME is included in a list named
enabled_badges
in the[tool.prometa]
section of the project’s pyproject.toml file, e.g.enabled_badges = ["NAME"]
.
Module contents
Package stub.