keplemon 0.1.9__cp313-cp313-win_amd64.whl → 2.0.2__cp313-cp313-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.
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]: ...
@@ -1,101 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: keplemon
3
- Version: 0.1.9
4
- Requires-Dist: requests
5
- Requires-Dist: click
6
- Requires-Dist: maturin>=1.0,<2.0 ; extra == 'dev'
7
- Requires-Dist: keplemon[test] ; extra == 'dev'
8
- Requires-Dist: mkdocstrings[python] ; extra == 'dev'
9
- Requires-Dist: mkdocs-material ; extra == 'dev'
10
- Requires-Dist: markdown-include ; extra == 'dev'
11
- Requires-Dist: tomli ; python_full_version < '3.11' and extra == 'dev'
12
- Requires-Dist: pytest ; extra == 'test'
13
- Provides-Extra: dev
14
- Provides-Extra: test
15
- Summary: Citra Space Corporation's Rust-accelerated astrodynamics library.
16
- Author-email: Brandon Sexton <brandon@citra.space>
17
- License: MIT
18
- Requires-Python: >=3.9
19
- Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
20
- Project-URL: Documentation, https://keplemon.citra.space
21
- Project-URL: Repository, https://github.com/citra-space/keplemon.git
22
- Project-URL: Issues, https://github.com/citra-space/keplemon/issues
23
-
24
- # KepLemon
25
-
26
- [Citra Space Corporation's](https://citra.space) Rust-accelerated astrodynamics package built on the shared libraries
27
- provided by [space-track](https://space-track.org). Please visit the [documentation](https://keplemon.citra.space)
28
- page for additional details.
29
-
30
- ## Installation
31
-
32
- ### From PyPI (Preferred)
33
-
34
- KepLemon can be installed directly for any operating system from a command line using `pip install keplemon`.
35
-
36
- ### From a Local Build
37
-
38
- For python users, the **_preferred installation method is through [PyPI](https://www.pypi.org)_**; however, the package can be
39
- installed locally by following the steps below.
40
-
41
- 1. `git clone https://github.com/citra-space/keplemon.git`
42
- 2. `cargo install cargo-make`
43
- 3. `cargo make build-<os>-<architecture>` (e.g. for Linux x86 `cargo make build-linux-amd`)
44
- 4. `pip install target/wheels/*.whl`
45
-
46
- ## Environment Settings
47
-
48
- Although not required, it is recommended to explicitly apply the settings in this section before using KepLemon to avoid
49
- unexpected behaviors and inaccurate calculations.
50
-
51
- ### CPU Limits
52
-
53
- By default, KepLemon will have access to all available cores when performing parallel functions. Limit this by calling
54
- `set_thread_count` **_before_** using other KepLemon functions.
55
-
56
- ```python
57
- from keplemon import set_thread_count, get_thread_count
58
-
59
- # Update this to the desired core count
60
- set_thread_count(4)
61
- ```
62
-
63
- ### Time Constants and Earth-Orientation Parameters (EOP)
64
-
65
- All astrodynamics packages have a strict dependence on measured changes to time and Earth's orientation. Since KepLemon
66
- uses the public Standardized Astrodynamics Algorithms Library (SAAL) at the core, the time and (EOP) data must conform
67
- to a specific format required by the underlying binaries. Rather than referencing data directly provided by the
68
- [USNO](https://maia.usno.navy.mil/), utility scripts are provided in KepLemon to request and export the relevant data.
69
-
70
- #### Global Update
71
-
72
- Use the command below from a terminal to update time constants and EOP data package-wide.
73
-
74
- ```bash
75
- keplemon --update-eop global
76
- ```
77
-
78
- #### Local Override
79
-
80
- EOP data can also be written to explicit paths for inspection or package overrides using the commands below.
81
-
82
- ```bash
83
- keplemon --update-eop custom_path.txt
84
- ```
85
-
86
- !!! note
87
- If you intend to use the data written to a local override, you must use the `load_time_constants` method at the
88
- beginning of your scripts. **_This is not needed if you maintain constants using the global method_**.
89
-
90
- ```python
91
- from keplemon.time import load_time_constants
92
-
93
- # Update this to reflect the desired override path
94
- load_time_constants("custom_path.txt")
95
- ```
96
-
97
- ## Contributing
98
-
99
- Anyone is welcome to contribute to KepLemon. Users are encouraged to start by opening issues or forking the repository.
100
- Changes directly to the baseline may be approved by contacting the owner at <brandon@citra.space>.
101
-