chronos-timetool 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chronos/__init__.py +29 -0
- chronos/core.py +916 -0
- chronos/exceptions.py +36 -0
- chronos/packages.py +533 -0
- chronos/parser.py +261 -0
- chronos/py.typed +0 -0
- chronos/utils.py +270 -0
- chronos_timetool-0.1.0.dist-info/METADATA +397 -0
- chronos_timetool-0.1.0.dist-info/RECORD +11 -0
- chronos_timetool-0.1.0.dist-info/WHEEL +4 -0
- chronos_timetool-0.1.0.dist-info/licenses/LICENSE +21 -0
chronos/__init__.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
|
|
2
|
+
"""The ultimate Chronos library to manipulate, convert, transform and obtain time data, made by @DevPedroLab on GitHub!"""
|
|
3
|
+
|
|
4
|
+
from .core import Time, Countries, Chronos
|
|
5
|
+
from .utils import Utils, Documentation
|
|
6
|
+
from .parser import Parser
|
|
7
|
+
from .exceptions import ParserErrorException, HumanizerErrorException, CountryCodeNotFoundException
|
|
8
|
+
from .packages import COUNTRY_CODES_ALPHA, DATE_PATTERN, StaticDefaults, DEFAULTS, Tools, ALPHABET, UNIT_MAP, GENERIC
|
|
9
|
+
|
|
10
|
+
__all__: list[str] = [
|
|
11
|
+
"Time",
|
|
12
|
+
"Countries",
|
|
13
|
+
"StaticDefaults",
|
|
14
|
+
"Chronos",
|
|
15
|
+
"ParserErrorException",
|
|
16
|
+
"HumanizerErrorException",
|
|
17
|
+
"CountryCodeNotFoundException",
|
|
18
|
+
"packages",
|
|
19
|
+
"DEFAULTS",
|
|
20
|
+
"Utils",
|
|
21
|
+
"Documentation",
|
|
22
|
+
"Parser",
|
|
23
|
+
"COUNTRY_CODES_ALPHA",
|
|
24
|
+
"DATE_PATTERN",
|
|
25
|
+
"Tools",
|
|
26
|
+
"ALPHABET",
|
|
27
|
+
"UNIT_MAP",
|
|
28
|
+
"GENERIC",
|
|
29
|
+
]
|