licheck/licheck/__init__.py

33 lines
1.4 KiB
Python

#
# __init__.py
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@live.com>
#
# This file is part of licheck.
#
# licheck is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# licheck is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with licheck. If not, see <http://www.gnu.org/licenses/>.
#
"""Python discovery file."""
from .api import (build_command, check_cache_structure,
check_configuration_structure, check_licenses,
create_common_data_structure, create_files_data_structure,
get_binary_and_program, get_data, pipeline, print_errors,
read_configuration_file, read_remote_files, read_yaml_file,
transform_cache_to_data, write_cache)
from .cli import CliInterface
from .exceptions import (BinaryDoesNotExist, InvalidCache,
InvalidCommonDataStructure, InvalidConfiguration,
InvalidOutput)