keplemon 0.2.0__cp310-cp310-macosx_10_12_x86_64.whl → 0.2.1__cp310-cp310-macosx_10_12_x86_64.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 +8 -10
- keplemon/__init__.pyi +7 -3
- keplemon/_keplemon.cpython-310-darwin.so +0 -0
- {keplemon-0.2.0.dist-info → keplemon-0.2.1.dist-info}/METADATA +1 -1
- {keplemon-0.2.0.dist-info → keplemon-0.2.1.dist-info}/RECORD +8 -8
- /keplemon/{SGP4_Open_License.txt → assets/SGP4_Open_License.txt} +0 -0
- {keplemon-0.2.0.dist-info → keplemon-0.2.1.dist-info}/WHEEL +0 -0
- {keplemon-0.2.0.dist-info → keplemon-0.2.1.dist-info}/entry_points.txt +0 -0
keplemon/__init__.py
CHANGED
|
@@ -6,19 +6,16 @@ from keplemon._keplemon import ( # type: ignore
|
|
|
6
6
|
get_license_file_path,
|
|
7
7
|
)
|
|
8
8
|
from pathlib import Path
|
|
9
|
-
from shutil import copyfile
|
|
10
9
|
|
|
11
|
-
current_dir = Path(__file__).parent
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
set_license_file_path(LICENSE_PATH.as_posix())
|
|
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())
|
|
19
16
|
|
|
20
17
|
# Load the time constants from the assets directory
|
|
21
|
-
TIME_CONSTANTS_PATH =
|
|
18
|
+
TIME_CONSTANTS_PATH = ASSETS_DIRECTORY / "time_constants.dat"
|
|
22
19
|
load_time_constants(TIME_CONSTANTS_PATH.as_posix())
|
|
23
20
|
|
|
24
21
|
__all__ = [
|
|
@@ -26,6 +23,7 @@ __all__ = [
|
|
|
26
23
|
"set_thread_count",
|
|
27
24
|
"TIME_CONSTANTS_PATH",
|
|
28
25
|
"set_license_file_path",
|
|
29
|
-
"
|
|
26
|
+
"PACKAGE_DIRECTORY",
|
|
27
|
+
"ASSETS_DIRECTORY",
|
|
30
28
|
"get_license_file_path",
|
|
31
29
|
]
|
keplemon/__init__.pyi
CHANGED
|
@@ -29,9 +29,13 @@ Path to the default time constants file required by the SAAL binaries
|
|
|
29
29
|
This path should never be modified and is only exposed to allow inspection of current data.
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
|
-
#: Path to the
|
|
33
|
-
|
|
34
|
-
"""Path to the
|
|
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"""
|
|
35
39
|
|
|
36
40
|
def set_license_file_path(path: str) -> None:
|
|
37
41
|
"""
|
|
Binary file
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
keplemon-0.2.
|
|
2
|
-
keplemon-0.2.
|
|
3
|
-
keplemon-0.2.
|
|
4
|
-
keplemon/
|
|
5
|
-
keplemon/__init__.
|
|
6
|
-
keplemon/__init__.pyi,sha256=GfQncAsWnriz9fQVW2xP7jQ5xFvHbGrknUw-2hRoIVg,1093
|
|
1
|
+
keplemon-0.2.1.dist-info/METADATA,sha256=bncXm0xVjRXq6_20nfZwVx5uc7ooEEukjfPa_Faj6Qw,3792
|
|
2
|
+
keplemon-0.2.1.dist-info/WHEEL,sha256=mVElpspfUxdUYjHAkh4qLZGBcmDp2Vm5yKU-yeIBUtA,106
|
|
3
|
+
keplemon-0.2.1.dist-info/entry_points.txt,sha256=eYbCkvQvWfRDQ0LzaCELov1xeLAxQEHlfdgNq-LXyb0,49
|
|
4
|
+
keplemon/__init__.py,sha256=WbSkCGu2zpYEemTr-QtRXWnH7amDTQ7OSVD59BxI9ig,812
|
|
5
|
+
keplemon/__init__.pyi,sha256=uE60ln_KJgcfvKburVmbcKT0h_wLPgjBWuyNLgI8ETI,1295
|
|
7
6
|
keplemon/__main__.py,sha256=-3GVkDOA0lV0MIqU9gPb4zbVimg2lA8HMkvdPDw1O28,669
|
|
8
|
-
keplemon/_keplemon.cpython-310-darwin.so,sha256=
|
|
7
|
+
keplemon/_keplemon.cpython-310-darwin.so,sha256=3OvonakO5rBE4oLxF23GECUD7kqDFjVKAM9mbFXSUPY,1827988
|
|
9
8
|
keplemon/assets/EGM-2008.GEO,sha256=K2nG8HGLATIHZYMfw3GSClYOTCuZ7rq4RdCeUNgCw5A,148770
|
|
10
9
|
keplemon/assets/EGM-96.GEO,sha256=VBkILuvEMwAPuWmUHy2PeyEfULOwJ4PEJLNf5hr84mU,148770
|
|
11
10
|
keplemon/assets/GEM_5-22.GEO,sha256=stemYLn1ChXa-VdLGHYfa15AXZa_xxGZQ65p4c3gffI,6852
|
|
@@ -14,6 +13,7 @@ keplemon/assets/JGM2-70.GEO,sha256=7NCW-clrb7PddiBOf_GWrJ0Qf_ZjM823jU9mDIOVLG0,1
|
|
|
14
13
|
keplemon/assets/JPLcon_1950_2050.405,sha256=IRfVZmBTDAKGdMGTyZr06KSBY0N5PxRgEcljPrZB_iU,31222725
|
|
15
14
|
keplemon/assets/NWL8C-12.GEO,sha256=ZwDKiFC5AxrSIkDPBUnQMmZeSaA5272V-z8yn6bKjOs,4788
|
|
16
15
|
keplemon/assets/SEM68R-8.GEO,sha256=vJTCLrviQ9HonN9BojX8PbH0vPkL4qgpBxUc9X43sjI,2482
|
|
16
|
+
keplemon/assets/SGP4_Open_License.txt,sha256=0WofOXQb5YJqnYhXWXnBdCajiTJQAT60UAkSeHsxyr8,8509
|
|
17
17
|
keplemon/assets/WGS84-70.GEO,sha256=ARjEC_5s2SVd0Kh9udbTy1ztBwTeuBYPOhUVJgIqit8,148510
|
|
18
18
|
keplemon/assets/time_constants.dat,sha256=qDpJ2UrQvIDfxsBc4P2AdLS-b2lyR7RCzjqmeG4Ypl8,1226736
|
|
19
19
|
keplemon/bodies.py,sha256=XnaY6XTuj8CHM3XOwOSY3E8nSo0RWwCcAY0FGxAVWa8,208
|
|
@@ -52,4 +52,4 @@ keplemon/saal/__init__.py,sha256=aoTB13q7IvXuQ80jgGCnwXA29yjpOqLiTdrtyjyRqLE,123
|
|
|
52
52
|
keplemon/saal/obs_interface.py,sha256=EtsaPKixjMWfCUpMd79SvhCs3f9sRcBaal6-ickj3Vs,248
|
|
53
53
|
keplemon/time.py,sha256=rFefwGP2deAeyzMQcaK5D7dIpiQDklr9eBKT6yVK7Ac,2872
|
|
54
54
|
keplemon/time.pyi,sha256=f6MxNpscs3jje0zo5yilyMBj8b0U7TVFnU6bt6NAJl0,6255
|
|
55
|
-
keplemon-0.2.
|
|
55
|
+
keplemon-0.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|