PyPIManager

mypy-boto3-builder Index / Mypy Boto3 Builder / Utils / PyPIManager

Auto-generated documentation for mypy_boto3_builder.utils.pypi_manager module.

PyPIManager

Show source in pypi_manager.py:11

Version manager for PyPI packages.

Arguments

  • package - PyPI package name

Signature

class PyPIManager:
    def __init__(self, package: str) -> None:
        ...

PyPIManager().get_next_version

Show source in pypi_manager.py:34

Get not existing version or closest not existing post-release.

Arguments

  • version - Target version

Signature

def get_next_version(self, version: str) -> str:
    ...

PyPIManager().has_version

Show source in pypi_manager.py:25

Check if version is already uploaded to PyPI.

Arguments

  • version - Target version

Signature

def has_version(self, version: str) -> bool:
    ...