keplemon 0.2.0__cp39-cp39-win_amd64.whl → 0.2.1__cp39-cp39-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 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
- # Copy the license file to the current working directory if it doesn't exist
14
- LICENSE_PATH = current_dir / "SGP4_Open_License.txt"
15
- local_path = Path.cwd() / "SGP4_Open_License.txt"
16
- if not local_path.exists():
17
- copyfile(LICENSE_PATH, local_path)
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 = current_dir / "assets" / "time_constants.dat"
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
- "LICENSE_PATH",
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 license file
33
- LICENSE_PATH: Path
34
- """Path to the license file required by the SAAL binaries"""
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: keplemon
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Requires-Dist: requests
5
5
  Requires-Dist: click
6
6
  Requires-Dist: maturin>=1.0,<2.0 ; extra == 'dev'
@@ -1,6 +1,6 @@
1
- keplemon-0.2.0.dist-info/METADATA,sha256=ItHFuUvj2typO7HZt5HsVjABdHaVh50Nzxw5nU6tBDk,3869
2
- keplemon-0.2.0.dist-info/WHEEL,sha256=SqgFUQC3rmJBHv6XKhA7wOKmU2ih3aAfz0FSmR1FvyM,94
3
- keplemon-0.2.0.dist-info/entry_points.txt,sha256=eYbCkvQvWfRDQ0LzaCELov1xeLAxQEHlfdgNq-LXyb0,49
1
+ keplemon-0.2.1.dist-info/METADATA,sha256=P38KkQNgMVkb6OXxGext8rkjQEc_Lp2GtCn9knRupf0,3869
2
+ keplemon-0.2.1.dist-info/WHEEL,sha256=SqgFUQC3rmJBHv6XKhA7wOKmU2ih3aAfz0FSmR1FvyM,94
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=-gU6voiCb9asLkojqqkAsxq12MrgPPjc9odkjlm5SfI,978
32
- keplemon/__init__.pyi,sha256=AINTWPIZPPt5MmlB9qe_IArcQaRvfqI3wRozvJduWFM,1143
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.cp39-win_amd64.pyd,sha256=EzoUwcO3yKgePnDtvtuuN4Xh1HkT3jTdp--w4sIPKz0,1323520
33
+ keplemon/_keplemon.cp39-win_amd64.pyd,sha256=XaNdr1ZoBSGmDhfBiGUqgCpkj2dCU8ykJyOMZ4kNwdw,1323520
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
@@ -64,4 +64,4 @@ keplemon/saal/__init__.py,sha256=JS-tjVFqN1B3ZjIG2g7v1GrmUPi9eIv0_Le1reYuQ2o,126
64
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.2.0.dist-info/RECORD,,
67
+ keplemon-0.2.1.dist-info/RECORD,,