ServiceName

Auto-generated documentation for mypy_boto3_builder.service_name module.

Description for boto3 service.

ServiceName

[find in source code]

class ServiceName():
    def __init__(name: str, class_name: str) -> None:

Description for boto3 service.

ServiceName().boto3_name

[find in source code]

@property
def boto3_name() -> str:

Boto3 package name.

[find in source code]

@property
def doc_link() -> str:

ServiceName().extras_name

[find in source code]

@property
def extras_name() -> str:

Extras name for subpackage installation.

ServiceName().import_name

[find in source code]

@property
def import_name() -> str:

Safe mudule import name.

ServiceName().is_essential

[find in source code]

def is_essential() -> bool:

ServiceName().module_name

[find in source code]

@property
def module_name() -> str:

Package name for given service.

[find in source code]

@property
def pypi_link() -> str:

Link to package on PyPI.

ServiceName().pypi_name

[find in source code]

@property
def pypi_name() -> str:

Name of package on PyPI.

ServiceName().underscore_name

[find in source code]

@property
def underscore_name() -> str:

ServiceNameCatalog

[find in source code]

class ServiceNameCatalog():

Finder for boto3 services by name.

ServiceNameCatalog.create

[find in source code]

@staticmethod
def create(name: str) -> ServiceName:

Create ServiceName for unknown service.

See also

ServiceNameCatalog.find

[find in source code]

@classmethod
def find(name: str) -> ServiceName:

Get ServiceName by import name.

Arguments

  • name - Service import name.

Returns

ServiceName.

Raises

  • ValueError - If ServiceName not found.

See also