phasorpy 0.7__cp314-cp314t-win_amd64.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.
phasorpy/_typing.py ADDED
@@ -0,0 +1,77 @@
1
+ """Type annotations.
2
+
3
+ This module should only be imported when type-checking, for example::
4
+
5
+ from __future__ import annotations
6
+
7
+ from typing import TYPE_CHECKING
8
+
9
+ if TYPE_CHECKING:
10
+ from ._typing import Any, ArrayLike, PathLike
11
+
12
+ """
13
+
14
+ # flake8: noqa: F401
15
+ # pylint: disable=unused-import
16
+ # autoflake: skip_file
17
+
18
+ from __future__ import annotations
19
+
20
+ __all__ = [
21
+ 'Any',
22
+ 'ArrayLike',
23
+ 'Callable',
24
+ 'Collection',
25
+ 'Container',
26
+ 'DTypeLike',
27
+ 'DataArray',
28
+ 'EllipsisType',
29
+ 'IO',
30
+ 'ItemsView',
31
+ 'Iterable',
32
+ 'Iterator',
33
+ 'KeysView',
34
+ 'Literal',
35
+ 'Mapping',
36
+ 'NDArray',
37
+ 'Optional',
38
+ 'PathLike',
39
+ 'Pooch',
40
+ 'Sequence',
41
+ 'TextIO',
42
+ 'Union',
43
+ 'ValuesView',
44
+ 'cast',
45
+ 'final',
46
+ 'overload',
47
+ ]
48
+
49
+ from collections.abc import (
50
+ Callable,
51
+ Collection,
52
+ Container,
53
+ ItemsView,
54
+ Iterable,
55
+ Iterator,
56
+ KeysView,
57
+ Mapping,
58
+ Sequence,
59
+ ValuesView,
60
+ )
61
+ from os import PathLike
62
+ from types import EllipsisType
63
+ from typing import (
64
+ IO,
65
+ Any,
66
+ Literal,
67
+ Optional,
68
+ TextIO,
69
+ Union,
70
+ cast,
71
+ final,
72
+ overload,
73
+ )
74
+
75
+ from numpy.typing import ArrayLike, DTypeLike, NDArray
76
+ from pooch import Pooch
77
+ from xarray import DataArray