yambs.github package#
Module contents#
A module for working with GitHub releases.
- class yambs.github.Github(data: dict[str, str | int | float | bool | None | dict[str, str | int | float | bool | None] | list[str | int | float | bool | None]] = None, schemas: SchemaMap = None, dest_attr: str = 'data', verify: bool = True)[source]#
Bases:
YambsDictCodec
,BasicDictCodec
GitHub repository information.
- yambs.github.github_url(netloc_prefix: str = '', scheme: str = 'https', path: str = '', params: str = '', query: str = '', fragment: str = '') ParseResult [source]#
- yambs.github.release_data(owner: str, repo: str, *args, version: str = 'latest', timeout: float = None, **kwargs) Dict[str, Any] [source]#
Get latest-release data.