locateobject 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.
- locateobject/__init__.py +22 -0
- locateobject/classes.py +2255 -0
- locateobject/locate.py +314 -0
- locateobject-0.1.0.dist-info/METADATA +194 -0
- locateobject-0.1.0.dist-info/RECORD +8 -0
- locateobject-0.1.0.dist-info/WHEEL +5 -0
- locateobject-0.1.0.dist-info/licenses/LICENSE +9 -0
- locateobject-0.1.0.dist-info/top_level.txt +1 -0
locateobject/__init__.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
# from importlib import resources
|
|
3
|
+
# import tomllib
|
|
4
|
+
|
|
5
|
+
from .locate import locate_object
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Version of the locateobject package
|
|
9
|
+
__version__ = "0.1.0"
|
|
10
|
+
|
|
11
|
+
# Library rule: attach a NullHandler to the package's top-level logger.
|
|
12
|
+
# This silences "no handlers found" warnings if the caller configures nothing,
|
|
13
|
+
# and leaves all real handler/level setup to the application.
|
|
14
|
+
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
|
15
|
+
|
|
16
|
+
__all__ = ["locate_object"]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# Read URL of the Real Python feed from config file
|
|
20
|
+
# _cfg = tomllib.loads(resources.read_text("triangulation", "config.toml"))
|
|
21
|
+
# EARTH_RADIUS_M = _cfg["general"]["EARTH_RADIUS_M"]
|
|
22
|
+
# print(f'EARTH_RADIUS_M: {EARTH_RADIUS_M}')
|