Debian Codegraph @

cloup/__init__.py

raw
1 """Top-level package for cloup."""
2 # WARNING: _version.py is generated by setuptools-scm upon package building/installation
3 from . import _version
4
5 __author__ = """Gianluca Gippetto"""
6 __email__ = '[email protected]'
7 __version__ = _version.version
8 __version_tuple__ = _version.version_tuple
9
10 from click import (
11 # decorators
12 confirmation_option,
13 help_option,
14 pass_obj,
15 password_option,
16 version_option,
17 # types
18 BOOL,
19 Choice,
20 DateTime,
21 File,
22 FLOAT,
23 FloatRange,
24 INT,
25 IntRange,
26 ParamType,
27 Path,
28 STRING,
29 Tuple,
30 UNPROCESSED,
31 UUID,
32 )
33
34 from . import warnings
35 from .styling import (
36 HelpTheme,
37 Style,
38 Color,
39 )
40 from .formatting import (
41 HelpFormatter,
42 HelpSection,
43 )
44 from ._context import Context, get_current_context, pass_context
45 from ._params import Argument, Option, argument, option
46 from ._option_groups import (
47 OptionGroup,
48 OptionGroupMixin,
49 option_group,
50 )
51 from ._sections import (
52 Section,
53 SectionMixin,
54 )
55 from ._commands import (
56 Command,
57 Group,
58 command,
59 group,
60 )
61 from .constraints import (
62 ConstraintMixin,
63 constrained_params,
64 constraint,
65 )
66 from .types import dir_path, file_path, path
67
68 __all__ = [
69 "Argument",
70 "BOOL",
71 "Choice",
72 "Color",
73 "Command",
74 "ConstraintMixin",
75 "Context",
76 "DateTime",
77 "FLOAT",
78 "File",
79 "FloatRange",
80 "Group",
81 "HelpFormatter",
82 "HelpSection",
83 "HelpTheme",
84 "INT",
85 "IntRange",
86 "Option",
87 "OptionGroup",
88 "OptionGroupMixin",
89 "ParamType",
90 "Path",
91 "STRING",
92 "Section",
93 "SectionMixin",
94 "Style",
95 "Tuple",
96 "UNPROCESSED",
97 "UUID",
98 "_version",
99 "argument",
100 "command",
101 "confirmation_option",
102 "constrained_params",
103 "constraint",
104 "dir_path",
105 "file_path",
106 "get_current_context",
107 "group",
108 "help_option",
109 "option",
110 "option_group",
111 "pass_context",
112 "pass_obj",
113 "password_option",
114 "path",
115 "version_option",
116 "warnings",
117 ]