GSEGUtils 0.5.2__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.
- GSEGUtils/__init__.py +53 -0
- GSEGUtils/__init__.pyi +48 -0
- GSEGUtils/_version.py +24 -0
- GSEGUtils/base_arrays.py +717 -0
- GSEGUtils/base_types.py +516 -0
- GSEGUtils/config.py +68 -0
- GSEGUtils/constants.py +40 -0
- GSEGUtils/generate_init_stubs.py +435 -0
- GSEGUtils/lazy_disk_cache/__init__.py +33 -0
- GSEGUtils/lazy_disk_cache/disk_backed_ndarray.py +171 -0
- GSEGUtils/lazy_disk_cache/disk_backed_store.py +500 -0
- GSEGUtils/lazy_disk_cache/lazy_disk_cache.py +543 -0
- GSEGUtils/logging_setup.py +109 -0
- GSEGUtils/py.typed +0 -0
- GSEGUtils/singleton.py +78 -0
- GSEGUtils/util.py +374 -0
- GSEGUtils/validators.py +759 -0
- gsegutils-0.5.2.dist-info/METADATA +147 -0
- gsegutils-0.5.2.dist-info/RECORD +24 -0
- gsegutils-0.5.2.dist-info/WHEEL +5 -0
- gsegutils-0.5.2.dist-info/licenses/LICENSE +35 -0
- gsegutils-0.5.2.dist-info/scm_file_list.json +71 -0
- gsegutils-0.5.2.dist-info/scm_version.json +8 -0
- gsegutils-0.5.2.dist-info/top_level.txt +1 -0
GSEGUtils/__init__.py
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# GSEGUtils – General utility functions and classes for GSEG research/projects
|
|
2
|
+
#
|
|
3
|
+
# Copyright (c) 2025–2026 ETH Zurich
|
|
4
|
+
# Department of Civil, Environmental and Geomatic Engineering (D-BAUG)
|
|
5
|
+
# Institute of Geodesy and Photogrammetry
|
|
6
|
+
# Geosensors and Engineering Geodesy
|
|
7
|
+
#
|
|
8
|
+
# Authors:
|
|
9
|
+
# Nicholas Meyer
|
|
10
|
+
# Jon Allemand
|
|
11
|
+
#
|
|
12
|
+
# SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
+
|
|
14
|
+
"""GSEGUtils — general utility functions and classes for GSEG research projects.
|
|
15
|
+
|
|
16
|
+
The package eagerly re-exports its submodules so that ``import GSEGUtils`` makes
|
|
17
|
+
the full public surface available without further imports. Typed companion
|
|
18
|
+
``__init__.pyi`` stubs are auto-generated via :mod:`GSEGUtils.generate_init_stubs`.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
__all__ = [
|
|
22
|
+
"__author__",
|
|
23
|
+
"__email__",
|
|
24
|
+
"__version__",
|
|
25
|
+
"version",
|
|
26
|
+
"__version_tuple__",
|
|
27
|
+
"version_tuple",
|
|
28
|
+
"base_arrays",
|
|
29
|
+
"base_types",
|
|
30
|
+
"config",
|
|
31
|
+
"constants",
|
|
32
|
+
"generate_init_stubs",
|
|
33
|
+
"logging_setup",
|
|
34
|
+
"singleton",
|
|
35
|
+
"util",
|
|
36
|
+
"validators",
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
__author__ = "Nicholas Meyer"
|
|
40
|
+
__email__ = "meyernic@ethz.ch"
|
|
41
|
+
|
|
42
|
+
from . import (
|
|
43
|
+
base_arrays,
|
|
44
|
+
base_types,
|
|
45
|
+
config,
|
|
46
|
+
constants,
|
|
47
|
+
generate_init_stubs,
|
|
48
|
+
logging_setup,
|
|
49
|
+
singleton,
|
|
50
|
+
util,
|
|
51
|
+
validators,
|
|
52
|
+
)
|
|
53
|
+
from ._version import __version__, __version_tuple__, version, version_tuple
|
GSEGUtils/__init__.pyi
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# GSEGUtils – General utility functions and classes for GSEG research/projects
|
|
2
|
+
#
|
|
3
|
+
# Copyright (c) 2025–2026 ETH Zurich
|
|
4
|
+
# Department of Civil, Environmental and Geomatic Engineering (D-BAUG)
|
|
5
|
+
# Institute of Geodesy and Photogrammetry
|
|
6
|
+
# Geosensors and Engineering Geodesy
|
|
7
|
+
#
|
|
8
|
+
# Authors:
|
|
9
|
+
# Nicholas Meyer
|
|
10
|
+
# Jon Allemand
|
|
11
|
+
#
|
|
12
|
+
# SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
+
|
|
14
|
+
# Auto-generated stub for lazy exports
|
|
15
|
+
from typing import Final
|
|
16
|
+
|
|
17
|
+
from . import (
|
|
18
|
+
base_arrays,
|
|
19
|
+
base_types,
|
|
20
|
+
config,
|
|
21
|
+
constants,
|
|
22
|
+
generate_init_stubs,
|
|
23
|
+
logging_setup,
|
|
24
|
+
singleton,
|
|
25
|
+
util,
|
|
26
|
+
validators,
|
|
27
|
+
)
|
|
28
|
+
from ._version import __version__, __version_tuple__, version, version_tuple
|
|
29
|
+
|
|
30
|
+
__author__: str
|
|
31
|
+
__email__: str
|
|
32
|
+
__all__: Final[list[str]] = [
|
|
33
|
+
"__author__",
|
|
34
|
+
"__email__",
|
|
35
|
+
"__version__",
|
|
36
|
+
"version",
|
|
37
|
+
"__version_tuple__",
|
|
38
|
+
"version_tuple",
|
|
39
|
+
"base_arrays",
|
|
40
|
+
"base_types",
|
|
41
|
+
"config",
|
|
42
|
+
"constants",
|
|
43
|
+
"generate_init_stubs",
|
|
44
|
+
"logging_setup",
|
|
45
|
+
"singleton",
|
|
46
|
+
"util",
|
|
47
|
+
"validators",
|
|
48
|
+
]
|
GSEGUtils/_version.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# file generated by vcs-versioning
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
__all__ = [
|
|
6
|
+
"__version__",
|
|
7
|
+
"__version_tuple__",
|
|
8
|
+
"version",
|
|
9
|
+
"version_tuple",
|
|
10
|
+
"__commit_id__",
|
|
11
|
+
"commit_id",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
version: str
|
|
15
|
+
__version__: str
|
|
16
|
+
__version_tuple__: tuple[int | str, ...]
|
|
17
|
+
version_tuple: tuple[int | str, ...]
|
|
18
|
+
commit_id: str | None
|
|
19
|
+
__commit_id__: str | None
|
|
20
|
+
|
|
21
|
+
__version__ = version = '0.5.2'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 5, 2)
|
|
23
|
+
|
|
24
|
+
__commit_id__ = commit_id = 'g21aea04'
|