keplemon 0.1.9__cp311-cp311-win_amd64.whl → 0.2.1__cp311-cp311-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.
Potentially problematic release.
This version of keplemon might be problematic. Click here for more details.
- keplemon/__init__.py +21 -9
- keplemon/__init__.pyi +24 -0
- keplemon/_keplemon.cp311-win_amd64.pyd +0 -0
- keplemon/saal/__init__.py +3 -0
- keplemon/saal/obs_interface.py +9 -0
- {keplemon-0.1.9.dist-info → keplemon-0.2.1.dist-info}/METADATA +1 -1
- {keplemon-0.1.9.dist-info → keplemon-0.2.1.dist-info}/RECORD +10 -10
- keplemon/saal.py +0 -15
- keplemon/saal.pyi +0 -8
- /keplemon/{SGP4_Open_License.txt → assets/SGP4_Open_License.txt} +0 -0
- {keplemon-0.1.9.dist-info → keplemon-0.2.1.dist-info}/WHEEL +0 -0
- {keplemon-0.1.9.dist-info → keplemon-0.2.1.dist-info}/entry_points.txt +0 -0
keplemon/__init__.py
CHANGED
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
from keplemon._keplemon.time import load_time_constants # type: ignore
|
|
2
|
-
from keplemon._keplemon import
|
|
2
|
+
from keplemon._keplemon import ( # type: ignore
|
|
3
|
+
get_thread_count,
|
|
4
|
+
set_thread_count,
|
|
5
|
+
set_license_file_path,
|
|
6
|
+
get_license_file_path,
|
|
7
|
+
)
|
|
3
8
|
from pathlib import Path
|
|
4
|
-
from shutil import copyfile
|
|
5
9
|
|
|
6
|
-
current_dir = Path(__file__).parent
|
|
7
10
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
PACKAGE_DIRECTORY = Path(__file__).parent
|
|
12
|
+
ASSETS_DIRECTORY = PACKAGE_DIRECTORY / "assets"
|
|
13
|
+
|
|
14
|
+
# Set the license file directory to the package directory
|
|
15
|
+
set_license_file_path(ASSETS_DIRECTORY.as_posix())
|
|
12
16
|
|
|
13
17
|
# Load the time constants from the assets directory
|
|
14
|
-
TIME_CONSTANTS_PATH =
|
|
18
|
+
TIME_CONSTANTS_PATH = ASSETS_DIRECTORY / "time_constants.dat"
|
|
15
19
|
load_time_constants(TIME_CONSTANTS_PATH.as_posix())
|
|
16
20
|
|
|
17
|
-
__all__ = [
|
|
21
|
+
__all__ = [
|
|
22
|
+
"get_thread_count",
|
|
23
|
+
"set_thread_count",
|
|
24
|
+
"TIME_CONSTANTS_PATH",
|
|
25
|
+
"set_license_file_path",
|
|
26
|
+
"PACKAGE_DIRECTORY",
|
|
27
|
+
"ASSETS_DIRECTORY",
|
|
28
|
+
"get_license_file_path",
|
|
29
|
+
]
|
keplemon/__init__.pyi
CHANGED
|
@@ -28,3 +28,27 @@ Path to the default time constants file required by the SAAL binaries
|
|
|
28
28
|
!!! warning
|
|
29
29
|
This path should never be modified and is only exposed to allow inspection of current data.
|
|
30
30
|
"""
|
|
31
|
+
|
|
32
|
+
#: Path to the parent directory of the package
|
|
33
|
+
PACKAGE_DIRECTORY: Path
|
|
34
|
+
"""Path to the parent directory of the package"""
|
|
35
|
+
|
|
36
|
+
#: Path to the assets directory containing supporting data files for the package
|
|
37
|
+
ASSETS_DIRECTORY: Path
|
|
38
|
+
"""Path to the assets directory containing supporting data files for the package"""
|
|
39
|
+
|
|
40
|
+
def set_license_file_path(path: str) -> None:
|
|
41
|
+
"""
|
|
42
|
+
Set the path to the license file required by the SAAL binaries
|
|
43
|
+
|
|
44
|
+
Args:
|
|
45
|
+
path: Path to the SGP4 license file
|
|
46
|
+
"""
|
|
47
|
+
...
|
|
48
|
+
|
|
49
|
+
def get_license_file_path() -> str:
|
|
50
|
+
"""
|
|
51
|
+
Returns:
|
|
52
|
+
Path to the SGP4 license file
|
|
53
|
+
"""
|
|
54
|
+
...
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
keplemon-0.1.
|
|
2
|
-
keplemon-0.1.
|
|
3
|
-
keplemon-0.1.
|
|
1
|
+
keplemon-0.2.1.dist-info/METADATA,sha256=P38KkQNgMVkb6OXxGext8rkjQEc_Lp2GtCn9knRupf0,3869
|
|
2
|
+
keplemon-0.2.1.dist-info/WHEEL,sha256=j4qqVNEKdft0WYe2NEymIjSlGSeJ1BogQYEaMx5ZvPI,96
|
|
3
|
+
keplemon-0.2.1.dist-info/entry_points.txt,sha256=eYbCkvQvWfRDQ0LzaCELov1xeLAxQEHlfdgNq-LXyb0,49
|
|
4
4
|
keplemon/AstroFunc.dll,sha256=RwDLeYGuSd3MxQ3O_Ljb0maS5KoDL8HZLpAvcQhDmnQ,357376
|
|
5
5
|
keplemon/AstroFunc.lib,sha256=q0Ob5NGUgbywJg6XqH48QLNmFv8T5p8NVLSx2kKkL4A,56480
|
|
6
6
|
keplemon/DllMain.dll,sha256=vYgOfGAUHn2z1MrVu9wV-k_LRdtuF8RuWrbuu2xk7jk,121344
|
|
@@ -13,7 +13,6 @@ keplemon/ExtEphem.dll,sha256=w5MHBNwWNzN-g-ktRpMl4e30na4ImVkb53Pz0C_kqP0,189440
|
|
|
13
13
|
keplemon/ExtEphem.lib,sha256=eHAH2Z9fIjWGIQ5APwvMVjTOwam46FvXBratKtI3nQ8,23564
|
|
14
14
|
keplemon/Obs.dll,sha256=32n3P_s2kyCt_Tdx9R4L7Zf-J9zP4qCKP2bFopKr_4M,508416
|
|
15
15
|
keplemon/Obs.lib,sha256=HtMrLI6WpUOfyLj-1g1Xej07IPhoXV9laMftqu2BTOo,47006
|
|
16
|
-
keplemon/SGP4_Open_License.txt,sha256=ThQ87DpbbXt-9K0-0U13tcZqsndte_UkaG3S0nLsfNY,8695
|
|
17
16
|
keplemon/SatState.dll,sha256=IVtdIIwq1X_5NN-V-OpbPH4ypWJEG7ES29IxttQMLvU,180224
|
|
18
17
|
keplemon/SatState.lib,sha256=h8WbZgcjyfZ8RnMPw7XJLN55KmW8cSm_XffvmBImwAI,18270
|
|
19
18
|
keplemon/Sensor.dll,sha256=MRmMoJfQPZEH0iKk4_haF5AxOeFfx1PH_Vne_rKx4eE,882688
|
|
@@ -28,10 +27,10 @@ keplemon/Tle.dll,sha256=Yt6hY3-PoJFFgB2idJQFC_Ia49grYhpSe_gPAmVswMs,195584
|
|
|
28
27
|
keplemon/Tle.lib,sha256=6NCJPR7JQ63mxCISyvYteq4-oHcqs3Ib8bwhTjJfk-I,23622
|
|
29
28
|
keplemon/Vcm.dll,sha256=EWx2eZAdBa1F2yGSUYzgAItnP6-nJT35sfJsrBW1Vfs,274432
|
|
30
29
|
keplemon/Vcm.lib,sha256=q2FPbH_DJXjIzNIzli2f1uV2faHHBjLbffZrL3Nagpw,19404
|
|
31
|
-
keplemon/__init__.py,sha256=
|
|
32
|
-
keplemon/__init__.pyi,sha256=
|
|
30
|
+
keplemon/__init__.py,sha256=_U5-uFEGFpoL5mnNOV84Z1bbA3rDsKUO_DnsAjzlsO0,841
|
|
31
|
+
keplemon/__init__.pyi,sha256=PgtL8CNupZCJibx07RLmFf56gMkCFx7voUIxBpeADO8,1349
|
|
33
32
|
keplemon/__main__.py,sha256=Bbbzny3eE3NOikVCEVFAGJiSRGooAkLzPwoSz-rpaxc,689
|
|
34
|
-
keplemon/_keplemon.cp311-win_amd64.pyd,sha256=
|
|
33
|
+
keplemon/_keplemon.cp311-win_amd64.pyd,sha256=FzDy31r44L5zlzF9ks6bbQfDrT0qpBXj1d62YF0OqJg,1321984
|
|
35
34
|
keplemon/assets/EGM-2008.GEO,sha256=K2nG8HGLATIHZYMfw3GSClYOTCuZ7rq4RdCeUNgCw5A,148770
|
|
36
35
|
keplemon/assets/EGM-96.GEO,sha256=VBkILuvEMwAPuWmUHy2PeyEfULOwJ4PEJLNf5hr84mU,148770
|
|
37
36
|
keplemon/assets/GEM_5-22.GEO,sha256=stemYLn1ChXa-VdLGHYfa15AXZa_xxGZQ65p4c3gffI,6852
|
|
@@ -40,6 +39,7 @@ keplemon/assets/JGM2-70.GEO,sha256=7NCW-clrb7PddiBOf_GWrJ0Qf_ZjM823jU9mDIOVLG0,1
|
|
|
40
39
|
keplemon/assets/JPLcon_1950_2050.405,sha256=IRfVZmBTDAKGdMGTyZr06KSBY0N5PxRgEcljPrZB_iU,31222725
|
|
41
40
|
keplemon/assets/NWL8C-12.GEO,sha256=ZwDKiFC5AxrSIkDPBUnQMmZeSaA5272V-z8yn6bKjOs,4788
|
|
42
41
|
keplemon/assets/SEM68R-8.GEO,sha256=vJTCLrviQ9HonN9BojX8PbH0vPkL4qgpBxUc9X43sjI,2482
|
|
42
|
+
keplemon/assets/SGP4_Open_License.txt,sha256=ThQ87DpbbXt-9K0-0U13tcZqsndte_UkaG3S0nLsfNY,8695
|
|
43
43
|
keplemon/assets/WGS84-70.GEO,sha256=ARjEC_5s2SVd0Kh9udbTy1ztBwTeuBYPOhUVJgIqit8,148510
|
|
44
44
|
keplemon/assets/time_constants.dat,sha256=3nsYjFgq0QnTUHPxuQPdtMG-AqxShVbvmG2zPcZfdcA,1246208
|
|
45
45
|
keplemon/bodies.py,sha256=MjdAGL25eF5pA3KHo5ipjz0DDql5EEEbBqR735M254g,217
|
|
@@ -60,8 +60,8 @@ keplemon/libmmd.dll,sha256=Qf9bE3FoMllIyq4gRjhGK-Al9PVonTI0O5GP-dwuhb4,4449832
|
|
|
60
60
|
keplemon/propagation.py,sha256=PEFXVmF-UgSR88Wp72MGtJYo2xxUFC5A7tQhT9JnF8w,120
|
|
61
61
|
keplemon/propagation.pyi,sha256=ZWqjxwg4MQebRukTysK2ZyTtIxvAyZIkUybO3wsZO9Q,483
|
|
62
62
|
keplemon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
63
|
-
keplemon/saal.py,sha256
|
|
64
|
-
keplemon/saal.
|
|
63
|
+
keplemon/saal/__init__.py,sha256=JS-tjVFqN1B3ZjIG2g7v1GrmUPi9eIv0_Le1reYuQ2o,126
|
|
64
|
+
keplemon/saal/obs_interface.py,sha256=ax8T4Y61pWh3VnQ4K2bCDNdrK-H6WKWr14pEDAY8WxE,257
|
|
65
65
|
keplemon/time.py,sha256=3cCQYaJpRPm5EEHa8PUT7OP6ILkmzxCEjmrhqa383cE,2974
|
|
66
66
|
keplemon/time.pyi,sha256=A4mR1uKrXIeBWfkwzIGoh910u2xZ_TAF6vENG7kvs2E,6524
|
|
67
|
-
keplemon-0.1.
|
|
67
|
+
keplemon-0.2.1.dist-info/RECORD,,
|
keplemon/saal.py
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
from keplemon._keplemon.saal import ( # type: ignore
|
|
2
|
-
get_key_mode,
|
|
3
|
-
set_key_mode,
|
|
4
|
-
topo_date_to_epoch,
|
|
5
|
-
topo_epoch_to_date,
|
|
6
|
-
topo_equinox_to_date,
|
|
7
|
-
)
|
|
8
|
-
|
|
9
|
-
__all__ = [
|
|
10
|
-
"get_key_mode",
|
|
11
|
-
"set_key_mode",
|
|
12
|
-
"topo_date_to_epoch",
|
|
13
|
-
"topo_epoch_to_date",
|
|
14
|
-
"topo_equinox_to_date",
|
|
15
|
-
]
|
keplemon/saal.pyi
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# flake8: noqa
|
|
2
|
-
from keplemon.enums import SAALKeyMode
|
|
3
|
-
|
|
4
|
-
def get_key_mode() -> SAALKeyMode: ...
|
|
5
|
-
def set_key_mode(mode: SAALKeyMode) -> None: ...
|
|
6
|
-
def topo_equinox_to_date(yr_of_equinox: int, ds50utc: float, ra: float, dec: float) -> tuple[float, float]: ...
|
|
7
|
-
def topo_date_to_epoch(ds50_in: float, ra: float, dec: float, ds50_out: float) -> tuple[float, float]: ...
|
|
8
|
-
def topo_epoch_to_date(ds50_in: float, ra: float, dec: float, ds50_out: float) -> tuple[float, float]: ...
|
|
File without changes
|
|
File without changes
|
|
File without changes
|