thoth.package_analyzer package

Submodules

thoth.package_analyzer.base module

A tool for gathering digests of packages and files present inside packages.

class thoth.package_analyzer.base.FetcherBase[source]

Bases: object

A base class for implementing per-ecosystem specific digest fetchers.

abstract fetch(package_name: str, package_version: str) → dict[source]

Fetch digests of files specific for the given package in its version.

thoth.package_analyzer.cli module

A command line interface for Python package analyzer used in project Thoth.

thoth.package_analyzer.exceptions module

Exceptions used inside and outside of package-analyzer.

exception thoth.package_analyzer.exceptions.DigestsFetcherException[source]

Bases: Exception

A base class for exception hierarchy used in package analyzer.

Module contents

A tool for gathering digests of packages and files present inside packages.