Debian Codegraph @

python/src/feature_check/__init__.py

raw
1 # SPDX-FileCopyrightText: Peter Pentchev <[email protected]>
2 # SPDX-License-Identifier: BSD-2-Clause
3
4 """Base module for the feature-check Python library.
5
6 This module imports the `obtain_features()`, `parse_expr()`, and
7 `parse_version()` functions from the `feature_check.obtain`,
8 `feature_check.expr`, and `feature_check.version` submodules;
9 see their documentation for details.
10 """
11
12 # isort: skip_file
13
14 from .defs import VERSION
15 from .expr import ResultBool, ResultVersion
16 from .obtain import obtain_features
17 from .parser import parse_expr, parse_version
18 from .version import Version, VersionComponent
19
20 __all__ = [
21 "VERSION",
22 "ResultBool",
23 "ResultVersion",
24 "Version",
25 "VersionComponent",
26 "obtain_features",
27 "parse_expr",
28 "parse_version",
29 ]