types-PyMeeus 0.5.0.20250828__tar.gz

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.
Files changed (34) hide show
  1. types_pymeeus-0.5.0.20250828/CHANGELOG.md +4 -0
  2. types_pymeeus-0.5.0.20250828/LICENSE +237 -0
  3. types_pymeeus-0.5.0.20250828/MANIFEST.in +1 -0
  4. types_pymeeus-0.5.0.20250828/PKG-INFO +38 -0
  5. types_pymeeus-0.5.0.20250828/README.md +21 -0
  6. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Angle.pyi +95 -0
  7. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Coordinates.pyi +192 -0
  8. types_pymeeus-0.5.0.20250828/pymeeus-stubs/CurveFitting.pyi +43 -0
  9. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Earth.pyi +64 -0
  10. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Epoch.pyi +129 -0
  11. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Interpolation.pyi +42 -0
  12. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Jupiter.pyi +38 -0
  13. types_pymeeus-0.5.0.20250828/pymeeus-stubs/JupiterMoons.pyi +78 -0
  14. types_pymeeus-0.5.0.20250828/pymeeus-stubs/METADATA.toml +2 -0
  15. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Mars.pyi +38 -0
  16. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Mercury.pyi +42 -0
  17. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Minor.pyi +10 -0
  18. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Moon.pyi +39 -0
  19. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Neptune.pyi +30 -0
  20. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Pluto.pyi +17 -0
  21. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Saturn.pyi +44 -0
  22. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Sun.pyi +35 -0
  23. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Uranus.pyi +34 -0
  24. types_pymeeus-0.5.0.20250828/pymeeus-stubs/Venus.pyi +44 -0
  25. types_pymeeus-0.5.0.20250828/pymeeus-stubs/__init__.pyi +0 -0
  26. types_pymeeus-0.5.0.20250828/pymeeus-stubs/base.pyi +8 -0
  27. types_pymeeus-0.5.0.20250828/pymeeus-stubs/py.typed +0 -0
  28. types_pymeeus-0.5.0.20250828/pyproject.toml +50 -0
  29. types_pymeeus-0.5.0.20250828/setup.cfg +4 -0
  30. types_pymeeus-0.5.0.20250828/setup.py +4 -0
  31. types_pymeeus-0.5.0.20250828/types_PyMeeus.egg-info/PKG-INFO +38 -0
  32. types_pymeeus-0.5.0.20250828/types_PyMeeus.egg-info/SOURCES.txt +32 -0
  33. types_pymeeus-0.5.0.20250828/types_PyMeeus.egg-info/dependency_links.txt +1 -0
  34. types_pymeeus-0.5.0.20250828/types_PyMeeus.egg-info/top_level.txt +1 -0
@@ -0,0 +1,4 @@
1
+ ## 0.5.0.20250828 (2025-08-28)
2
+
3
+ [PyMeeus] Add stubs ([#14649](https://github.com/python/typeshed/pull/14649))
4
+
@@ -0,0 +1,237 @@
1
+ The "typeshed" project is licensed under the terms of the Apache license, as
2
+ reproduced below.
3
+
4
+ = = = = =
5
+
6
+ Apache License
7
+ Version 2.0, January 2004
8
+ http://www.apache.org/licenses/
9
+
10
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
11
+
12
+ 1. Definitions.
13
+
14
+ "License" shall mean the terms and conditions for use, reproduction,
15
+ and distribution as defined by Sections 1 through 9 of this document.
16
+
17
+ "Licensor" shall mean the copyright owner or entity authorized by
18
+ the copyright owner that is granting the License.
19
+
20
+ "Legal Entity" shall mean the union of the acting entity and all
21
+ other entities that control, are controlled by, or are under common
22
+ control with that entity. For the purposes of this definition,
23
+ "control" means (i) the power, direct or indirect, to cause the
24
+ direction or management of such entity, whether by contract or
25
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
26
+ outstanding shares, or (iii) beneficial ownership of such entity.
27
+
28
+ "You" (or "Your") shall mean an individual or Legal Entity
29
+ exercising permissions granted by this License.
30
+
31
+ "Source" form shall mean the preferred form for making modifications,
32
+ including but not limited to software source code, documentation
33
+ source, and configuration files.
34
+
35
+ "Object" form shall mean any form resulting from mechanical
36
+ transformation or translation of a Source form, including but
37
+ not limited to compiled object code, generated documentation,
38
+ and conversions to other media types.
39
+
40
+ "Work" shall mean the work of authorship, whether in Source or
41
+ Object form, made available under the License, as indicated by a
42
+ copyright notice that is included in or attached to the work
43
+ (an example is provided in the Appendix below).
44
+
45
+ "Derivative Works" shall mean any work, whether in Source or Object
46
+ form, that is based on (or derived from) the Work and for which the
47
+ editorial revisions, annotations, elaborations, or other modifications
48
+ represent, as a whole, an original work of authorship. For the purposes
49
+ of this License, Derivative Works shall not include works that remain
50
+ separable from, or merely link (or bind by name) to the interfaces of,
51
+ the Work and Derivative Works thereof.
52
+
53
+ "Contribution" shall mean any work of authorship, including
54
+ the original version of the Work and any modifications or additions
55
+ to that Work or Derivative Works thereof, that is intentionally
56
+ submitted to Licensor for inclusion in the Work by the copyright owner
57
+ or by an individual or Legal Entity authorized to submit on behalf of
58
+ the copyright owner. For the purposes of this definition, "submitted"
59
+ means any form of electronic, verbal, or written communication sent
60
+ to the Licensor or its representatives, including but not limited to
61
+ communication on electronic mailing lists, source code control systems,
62
+ and issue tracking systems that are managed by, or on behalf of, the
63
+ Licensor for the purpose of discussing and improving the Work, but
64
+ excluding communication that is conspicuously marked or otherwise
65
+ designated in writing by the copyright owner as "Not a Contribution."
66
+
67
+ "Contributor" shall mean Licensor and any individual or Legal Entity
68
+ on behalf of whom a Contribution has been received by Licensor and
69
+ subsequently incorporated within the Work.
70
+
71
+ 2. Grant of Copyright License. Subject to the terms and conditions of
72
+ this License, each Contributor hereby grants to You a perpetual,
73
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
74
+ copyright license to reproduce, prepare Derivative Works of,
75
+ publicly display, publicly perform, sublicense, and distribute the
76
+ Work and such Derivative Works in Source or Object form.
77
+
78
+ 3. Grant of Patent License. Subject to the terms and conditions of
79
+ this License, each Contributor hereby grants to You a perpetual,
80
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
81
+ (except as stated in this section) patent license to make, have made,
82
+ use, offer to sell, sell, import, and otherwise transfer the Work,
83
+ where such license applies only to those patent claims licensable
84
+ by such Contributor that are necessarily infringed by their
85
+ Contribution(s) alone or by combination of their Contribution(s)
86
+ with the Work to which such Contribution(s) was submitted. If You
87
+ institute patent litigation against any entity (including a
88
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
89
+ or a Contribution incorporated within the Work constitutes direct
90
+ or contributory patent infringement, then any patent licenses
91
+ granted to You under this License for that Work shall terminate
92
+ as of the date such litigation is filed.
93
+
94
+ 4. Redistribution. You may reproduce and distribute copies of the
95
+ Work or Derivative Works thereof in any medium, with or without
96
+ modifications, and in Source or Object form, provided that You
97
+ meet the following conditions:
98
+
99
+ (a) You must give any other recipients of the Work or
100
+ Derivative Works a copy of this License; and
101
+
102
+ (b) You must cause any modified files to carry prominent notices
103
+ stating that You changed the files; and
104
+
105
+ (c) You must retain, in the Source form of any Derivative Works
106
+ that You distribute, all copyright, patent, trademark, and
107
+ attribution notices from the Source form of the Work,
108
+ excluding those notices that do not pertain to any part of
109
+ the Derivative Works; and
110
+
111
+ (d) If the Work includes a "NOTICE" text file as part of its
112
+ distribution, then any Derivative Works that You distribute must
113
+ include a readable copy of the attribution notices contained
114
+ within such NOTICE file, excluding those notices that do not
115
+ pertain to any part of the Derivative Works, in at least one
116
+ of the following places: within a NOTICE text file distributed
117
+ as part of the Derivative Works; within the Source form or
118
+ documentation, if provided along with the Derivative Works; or,
119
+ within a display generated by the Derivative Works, if and
120
+ wherever such third-party notices normally appear. The contents
121
+ of the NOTICE file are for informational purposes only and
122
+ do not modify the License. You may add Your own attribution
123
+ notices within Derivative Works that You distribute, alongside
124
+ or as an addendum to the NOTICE text from the Work, provided
125
+ that such additional attribution notices cannot be construed
126
+ as modifying the License.
127
+
128
+ You may add Your own copyright statement to Your modifications and
129
+ may provide additional or different license terms and conditions
130
+ for use, reproduction, or distribution of Your modifications, or
131
+ for any such Derivative Works as a whole, provided Your use,
132
+ reproduction, and distribution of the Work otherwise complies with
133
+ the conditions stated in this License.
134
+
135
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
136
+ any Contribution intentionally submitted for inclusion in the Work
137
+ by You to the Licensor shall be under the terms and conditions of
138
+ this License, without any additional terms or conditions.
139
+ Notwithstanding the above, nothing herein shall supersede or modify
140
+ the terms of any separate license agreement you may have executed
141
+ with Licensor regarding such Contributions.
142
+
143
+ 6. Trademarks. This License does not grant permission to use the trade
144
+ names, trademarks, service marks, or product names of the Licensor,
145
+ except as required for reasonable and customary use in describing the
146
+ origin of the Work and reproducing the content of the NOTICE file.
147
+
148
+ 7. Disclaimer of Warranty. Unless required by applicable law or
149
+ agreed to in writing, Licensor provides the Work (and each
150
+ Contributor provides its Contributions) on an "AS IS" BASIS,
151
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
152
+ implied, including, without limitation, any warranties or conditions
153
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
154
+ PARTICULAR PURPOSE. You are solely responsible for determining the
155
+ appropriateness of using or redistributing the Work and assume any
156
+ risks associated with Your exercise of permissions under this License.
157
+
158
+ 8. Limitation of Liability. In no event and under no legal theory,
159
+ whether in tort (including negligence), contract, or otherwise,
160
+ unless required by applicable law (such as deliberate and grossly
161
+ negligent acts) or agreed to in writing, shall any Contributor be
162
+ liable to You for damages, including any direct, indirect, special,
163
+ incidental, or consequential damages of any character arising as a
164
+ result of this License or out of the use or inability to use the
165
+ Work (including but not limited to damages for loss of goodwill,
166
+ work stoppage, computer failure or malfunction, or any and all
167
+ other commercial damages or losses), even if such Contributor
168
+ has been advised of the possibility of such damages.
169
+
170
+ 9. Accepting Warranty or Additional Liability. While redistributing
171
+ the Work or Derivative Works thereof, You may choose to offer,
172
+ and charge a fee for, acceptance of support, warranty, indemnity,
173
+ or other liability obligations and/or rights consistent with this
174
+ License. However, in accepting such obligations, You may act only
175
+ on Your own behalf and on Your sole responsibility, not on behalf
176
+ of any other Contributor, and only if You agree to indemnify,
177
+ defend, and hold each Contributor harmless for any liability
178
+ incurred by, or claims asserted against, such Contributor by reason
179
+ of your accepting any such warranty or additional liability.
180
+
181
+ END OF TERMS AND CONDITIONS
182
+
183
+ APPENDIX: How to apply the Apache License to your work.
184
+
185
+ To apply the Apache License to your work, attach the following
186
+ boilerplate notice, with the fields enclosed by brackets "{}"
187
+ replaced with your own identifying information. (Don't include
188
+ the brackets!) The text should be enclosed in the appropriate
189
+ comment syntax for the file format. We also recommend that a
190
+ file or class name and description of purpose be included on the
191
+ same "printed page" as the copyright notice for easier
192
+ identification within third-party archives.
193
+
194
+ Copyright {yyyy} {name of copyright owner}
195
+
196
+ Licensed under the Apache License, Version 2.0 (the "License");
197
+ you may not use this file except in compliance with the License.
198
+ You may obtain a copy of the License at
199
+
200
+ http://www.apache.org/licenses/LICENSE-2.0
201
+
202
+ Unless required by applicable law or agreed to in writing, software
203
+ distributed under the License is distributed on an "AS IS" BASIS,
204
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
205
+ See the License for the specific language governing permissions and
206
+ limitations under the License.
207
+
208
+ = = = = =
209
+
210
+ Parts of typeshed are licensed under different licenses (like the MIT
211
+ license), reproduced below.
212
+
213
+ = = = = =
214
+
215
+ The MIT License
216
+
217
+ Copyright (c) 2015 Jukka Lehtosalo and contributors
218
+
219
+ Permission is hereby granted, free of charge, to any person obtaining a
220
+ copy of this software and associated documentation files (the "Software"),
221
+ to deal in the Software without restriction, including without limitation
222
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
223
+ and/or sell copies of the Software, and to permit persons to whom the
224
+ Software is furnished to do so, subject to the following conditions:
225
+
226
+ The above copyright notice and this permission notice shall be included in
227
+ all copies or substantial portions of the Software.
228
+
229
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
230
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
231
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
232
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
233
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
234
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
235
+ DEALINGS IN THE SOFTWARE.
236
+
237
+ = = = = =
@@ -0,0 +1 @@
1
+ include CHANGELOG.md
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: types-PyMeeus
3
+ Version: 0.5.0.20250828
4
+ Summary: Typing stubs for PyMeeus
5
+ License-Expression: Apache-2.0
6
+ Project-URL: Homepage, https://github.com/python/typeshed
7
+ Project-URL: GitHub, https://github.com/python/typeshed
8
+ Project-URL: Changes, https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/PyMeeus.md
9
+ Project-URL: Issue tracker, https://github.com/python/typeshed/issues
10
+ Project-URL: Chat, https://gitter.im/python/typing
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Typing :: Stubs Only
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Dynamic: license-file
17
+
18
+ ## Typing stubs for PyMeeus
19
+
20
+ This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
21
+ for the [`PyMeeus`](https://github.com/architest/pymeeus) package. It can be used by type checkers
22
+ to check code that uses `PyMeeus`. This version of
23
+ `types-PyMeeus` aims to provide accurate annotations for
24
+ `PyMeeus==0.5.*`.
25
+
26
+ This package is part of the [typeshed project](https://github.com/python/typeshed).
27
+ All fixes for types and metadata should be contributed there.
28
+ See [the README](https://github.com/python/typeshed/blob/main/README.md)
29
+ for more details. The source for this package can be found in the
30
+ [`stubs/PyMeeus`](https://github.com/python/typeshed/tree/main/stubs/PyMeeus)
31
+ directory.
32
+
33
+ This package was tested with the following type checkers:
34
+ * [mypy](https://github.com/python/mypy/) 1.17.1
35
+ * [pyright](https://github.com/microsoft/pyright) 1.1.404
36
+
37
+ It was generated from typeshed commit
38
+ [`ff32af2c654e7ee4f2f380a8774d77579b5c0743`](https://github.com/python/typeshed/commit/ff32af2c654e7ee4f2f380a8774d77579b5c0743).
@@ -0,0 +1,21 @@
1
+ ## Typing stubs for PyMeeus
2
+
3
+ This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
4
+ for the [`PyMeeus`](https://github.com/architest/pymeeus) package. It can be used by type checkers
5
+ to check code that uses `PyMeeus`. This version of
6
+ `types-PyMeeus` aims to provide accurate annotations for
7
+ `PyMeeus==0.5.*`.
8
+
9
+ This package is part of the [typeshed project](https://github.com/python/typeshed).
10
+ All fixes for types and metadata should be contributed there.
11
+ See [the README](https://github.com/python/typeshed/blob/main/README.md)
12
+ for more details. The source for this package can be found in the
13
+ [`stubs/PyMeeus`](https://github.com/python/typeshed/tree/main/stubs/PyMeeus)
14
+ directory.
15
+
16
+ This package was tested with the following type checkers:
17
+ * [mypy](https://github.com/python/mypy/) 1.17.1
18
+ * [pyright](https://github.com/microsoft/pyright) 1.1.404
19
+
20
+ It was generated from typeshed commit
21
+ [`ff32af2c654e7ee4f2f380a8774d77579b5c0743`](https://github.com/python/typeshed/commit/ff32af2c654e7ee4f2f380a8774d77579b5c0743).
@@ -0,0 +1,95 @@
1
+ from typing import overload
2
+ from typing_extensions import Self
3
+
4
+ class Angle:
5
+ @overload
6
+ def __init__(self, *, ra: bool = False) -> None: ...
7
+ @overload
8
+ def __init__(self, a: Angle, /, *, ra: bool = False) -> None: ...
9
+ @overload
10
+ def __init__(self, a: float, /, *, ra: bool = False, radians: bool = False) -> None: ...
11
+ @overload
12
+ def __init__(self, a: list[float] | tuple[float, ...], /, *, ra: bool = False, radians: bool = False) -> None: ...
13
+ @overload
14
+ def __init__(self, a1: float, a2: float, /, *, ra: bool = False) -> None: ...
15
+ @overload
16
+ def __init__(self, a1: float, a2: float, a3: float, /, *, ra: bool = False) -> None: ...
17
+ @overload
18
+ def __init__(self, a1: float, a2: float, a3: float, a4: float, /, *, ra: bool = False) -> None: ...
19
+ @staticmethod
20
+ def reduce_deg(deg: float | Angle) -> float: ...
21
+ @staticmethod
22
+ def reduce_dms(degrees: float, minutes: float, seconds: float = 0.0) -> tuple[int, int, float, float]: ...
23
+ @staticmethod
24
+ def deg2dms(deg: float | Angle) -> tuple[int, int, float, float]: ...
25
+ @staticmethod
26
+ def dms2deg(degrees: float, minutes: float, seconds: float = 0.0) -> float: ...
27
+ def get_tolerance(self) -> float: ...
28
+ def set_tolerance(self, tol: float) -> None: ...
29
+ def __call__(self) -> float: ...
30
+ @overload
31
+ def set(self, *, ra: bool = False) -> None: ...
32
+ @overload
33
+ def set(self, a: Angle, /, *, ra: bool = False) -> None: ...
34
+ @overload
35
+ def set(self, a: float, /, *, ra: bool = False, radians: bool = False) -> None: ...
36
+ @overload
37
+ def set(self, a: list[float] | tuple[float, ...], /, *, ra: bool = False, radians: bool = False) -> None: ...
38
+ @overload
39
+ def set(self, a1: float, a2: float, /, *, ra: bool = False) -> None: ...
40
+ @overload
41
+ def set(self, a1: float, a2: float, a3: float, /, *, ra: bool = False) -> None: ...
42
+ @overload
43
+ def set(self, a1: float, a2: float, a3: float, a4: float, /, *, ra: bool = False) -> None: ...
44
+ def set_radians(self, rads: float) -> None: ...
45
+ @overload
46
+ def set_ra(self) -> None: ...
47
+ @overload
48
+ def set_ra(self, a: float | Angle | list[float] | tuple[float, ...], /) -> None: ...
49
+ @overload
50
+ def set_ra(self, a1: float, a2: float, /) -> None: ...
51
+ @overload
52
+ def set_ra(self, a1: float, a2: float, a3: float, /) -> None: ...
53
+ @overload
54
+ def set_ra(self, a1: float, a2: float, a3: float, a4: float, /) -> None: ...
55
+ def dms_str(self, fancy: bool | None = True, n_dec: int = -1) -> str: ...
56
+ def get_ra(self) -> float: ...
57
+ def ra_str(self, fancy: bool | None = True, n_dec: int = -1) -> str: ...
58
+ def rad(self) -> float: ...
59
+ def dms_tuple(self) -> tuple[int, int, float, float]: ...
60
+ def ra_tuple(self) -> tuple[int, int, float, float]: ...
61
+ def to_positive(self) -> Self: ...
62
+ def __eq__(self, b: float | Angle) -> bool: ... # type: ignore[override]
63
+ def __ne__(self, b: float | Angle) -> bool: ... # type: ignore[override]
64
+ def __lt__(self, b: float | Angle) -> bool: ...
65
+ def __ge__(self, b: float | Angle) -> bool: ...
66
+ def __gt__(self, b: float | Angle) -> bool: ...
67
+ def __le__(self, b: float | Angle) -> bool: ...
68
+ def __neg__(self) -> Angle: ...
69
+ def __abs__(self) -> Angle: ...
70
+ def __mod__(self, b: float | Angle) -> Angle: ...
71
+ def __add__(self, b: float | Angle) -> Angle: ...
72
+ def __sub__(self, b: float | Angle) -> Angle: ...
73
+ def __mul__(self, b: float | Angle) -> Angle: ...
74
+ def __div__(self, b: float | Angle) -> Angle: ...
75
+ def __truediv__(self, b: float | Angle) -> Angle: ...
76
+ def __pow__(self, b: float | Angle) -> Angle: ...
77
+ def __imod__(self, b: float | Angle) -> Self: ...
78
+ def __iadd__(self, b: float | Angle) -> Self: ...
79
+ def __isub__(self, b: float | Angle) -> Self: ...
80
+ def __imul__(self, b: float | Angle) -> Self: ...
81
+ def __idiv__(self, b: float | Angle) -> Angle: ...
82
+ def __itruediv__(self, b: float | Angle) -> Self: ...
83
+ def __ipow__(self, b: float | Angle) -> Self: ...
84
+ def __rmod__(self, b: float | Angle) -> Angle: ...
85
+ def __radd__(self, b: float | Angle) -> Angle: ...
86
+ def __rsub__(self, b: float | Angle) -> Angle: ...
87
+ def __rmul__(self, b: float | Angle) -> Angle: ...
88
+ def __rdiv__(self, b: float | Angle) -> Angle: ...
89
+ def __rtruediv__(self, b: float | Angle) -> Angle: ...
90
+ def __rpow__(self, b: float | Angle) -> Angle: ...
91
+ def __float__(self) -> float: ...
92
+ def __int__(self) -> int: ...
93
+ def __round__(self, n: float = 0) -> Angle: ...
94
+
95
+ def main() -> None: ...
@@ -0,0 +1,192 @@
1
+ import datetime
2
+ from typing import Final, overload
3
+
4
+ from pymeeus.Angle import Angle
5
+ from pymeeus.Epoch import Epoch
6
+
7
+ NUTATION_ARG_TABLE: Final[list[list[int]]]
8
+ NUTATION_SINE_COEF_TABLE: Final[list[list[float]]]
9
+ NUTATION_COSINE_COEF_TABLE: Final[list[list[float]]]
10
+
11
+ @overload
12
+ def mean_obliquity(
13
+ a: Epoch | list[float] | tuple[float, ...] | datetime.date,
14
+ /,
15
+ *,
16
+ leap_seconds: float = 0,
17
+ local: bool = False,
18
+ utc: bool = False,
19
+ ) -> Angle: ...
20
+ @overload
21
+ def mean_obliquity(
22
+ year: int, month: int, day: int, /, *, leap_seconds: float = 0, local: bool = False, utc: bool = False
23
+ ) -> Angle: ...
24
+ @overload
25
+ def true_obliquity(
26
+ a: Epoch | list[float] | tuple[float, ...] | datetime.date,
27
+ /,
28
+ *,
29
+ leap_seconds: float = 0,
30
+ local: bool = False,
31
+ utc: bool = False,
32
+ ) -> Angle: ...
33
+ @overload
34
+ def true_obliquity(
35
+ year: int, month: int, day: int, /, *, leap_seconds: float = 0, local: bool = False, utc: bool = False
36
+ ) -> Angle: ...
37
+ @overload
38
+ def nutation_longitude(
39
+ a: Epoch | list[float] | tuple[float, ...] | datetime.date,
40
+ /,
41
+ *,
42
+ leap_seconds: float = 0,
43
+ local: bool = False,
44
+ utc: bool = False,
45
+ ) -> Angle: ...
46
+ @overload
47
+ def nutation_longitude(
48
+ year: int, month: int, day: int, /, *, leap_seconds: float = 0, local: bool = False, utc: bool = False
49
+ ) -> Angle: ...
50
+ @overload
51
+ def nutation_obliquity(
52
+ a: Epoch | list[float] | tuple[float, ...] | datetime.date,
53
+ /,
54
+ *,
55
+ leap_seconds: float = 0,
56
+ local: bool = False,
57
+ utc: bool = False,
58
+ ) -> Angle: ...
59
+ @overload
60
+ def nutation_obliquity(
61
+ year: int, month: int, day: int, /, *, leap_seconds: float = 0, local: bool = False, utc: bool = False
62
+ ) -> Angle: ...
63
+ def precession_equatorial(
64
+ start_epoch: Epoch,
65
+ final_epoch: Epoch,
66
+ start_ra: Angle,
67
+ start_dec: Angle,
68
+ p_motion_ra: float | Angle = 0.0,
69
+ p_motion_dec: float | Angle = 0.0,
70
+ ) -> tuple[Angle, Angle]: ...
71
+ def precession_ecliptical(
72
+ start_epoch: Epoch,
73
+ final_epoch: Epoch,
74
+ start_lon: Angle,
75
+ start_lat: Angle,
76
+ p_motion_lon: float | Angle = 0.0,
77
+ p_motion_lat: float | Angle = 0.0,
78
+ ) -> tuple[Angle, Angle]: ...
79
+ def p_motion_equa2eclip(
80
+ p_motion_ra: Angle, p_motion_dec: Angle, ra: Angle, dec: Angle, lat: Angle, epsilon: Angle
81
+ ) -> tuple[float, float]: ...
82
+ def precession_newcomb(
83
+ start_epoch: Epoch,
84
+ final_epoch: Epoch,
85
+ start_ra: Angle,
86
+ start_dec: Angle,
87
+ p_motion_ra: float | Angle = 0.0,
88
+ p_motion_dec: float | Angle = 0.0,
89
+ ) -> tuple[Angle, Angle]: ...
90
+ def motion_in_space(
91
+ start_ra: Angle,
92
+ start_dec: Angle,
93
+ distance: float,
94
+ velocity: float,
95
+ p_motion_ra: float | Angle,
96
+ p_motion_dec: float | Angle,
97
+ time: float,
98
+ ) -> tuple[Angle, Angle]: ...
99
+ def equatorial2ecliptical(right_ascension: Angle, declination: Angle, obliquity: Angle) -> tuple[Angle, Angle]: ...
100
+ def ecliptical2equatorial(longitude: Angle, latitude: Angle, obliquity: Angle) -> tuple[Angle, Angle]: ...
101
+ def equatorial2horizontal(hour_angle: Angle, declination: Angle, geo_latitude: Angle) -> tuple[Angle, Angle]: ...
102
+ def horizontal2equatorial(azimuth: Angle, elevation: Angle, geo_latitude: Angle) -> tuple[Angle, Angle]: ...
103
+ def equatorial2galactic(right_ascension: Angle, declination: Angle) -> tuple[Angle, Angle]: ...
104
+ def galactic2equatorial(longitude: Angle, latitude: Angle) -> tuple[Angle, Angle]: ...
105
+ def parallactic_angle(hour_angle: Angle, declination: Angle, geo_latitude: Angle) -> Angle | None: ...
106
+ def ecliptic_horizon(local_sidereal_time: Angle, geo_latitude: Angle, obliquity: Angle) -> tuple[Angle, Angle, Angle]: ...
107
+ def ecliptic_equator(longitude: Angle, latitude: Angle, obliquity: Angle) -> Angle: ...
108
+ def diurnal_path_horizon(declination: Angle, geo_latitude: Angle) -> Angle: ...
109
+ def times_rise_transit_set(
110
+ longitude: Angle,
111
+ latitude: Angle,
112
+ alpha1: Angle,
113
+ delta1: Angle,
114
+ alpha2: Angle,
115
+ delta2: Angle,
116
+ alpha3: Angle,
117
+ delta3: Angle,
118
+ h0: Angle,
119
+ delta_t: float,
120
+ theta0: Angle,
121
+ ) -> tuple[float, float, float] | tuple[None, None, None]: ...
122
+ def refraction_apparent2true(apparent_elevation: Angle, pressure: float = 1010.0, temperature: float = 10.0) -> Angle: ...
123
+ def refraction_true2apparent(true_elevation: Angle, pressure: float = 1010.0, temperature: float = 10.0) -> Angle: ...
124
+ def angular_separation(alpha1: Angle, delta1: Angle, alpha2: Angle, delta2: Angle) -> Angle: ...
125
+ def minimum_angular_separation(
126
+ alpha1_1: Angle,
127
+ delta1_1: Angle,
128
+ alpha1_2: Angle,
129
+ delta1_2: Angle,
130
+ alpha1_3: Angle,
131
+ delta1_3: Angle,
132
+ alpha2_1: Angle,
133
+ delta2_1: Angle,
134
+ alpha2_2: Angle,
135
+ delta2_2: Angle,
136
+ alpha2_3: Angle,
137
+ delta2_3: Angle,
138
+ ) -> tuple[float, Angle]: ...
139
+ def relative_position_angle(alpha1: Angle, delta1: Angle, alpha2: Angle, delta2: Angle) -> Angle: ...
140
+ def planetary_conjunction(
141
+ alpha1_list: list[Angle] | tuple[Angle, ...],
142
+ delta1_list: list[Angle] | tuple[Angle, ...],
143
+ alpha2_list: list[Angle] | tuple[Angle, ...],
144
+ delta2_list: list[Angle] | tuple[Angle, ...],
145
+ ) -> tuple[float, Angle]: ...
146
+ def planet_star_conjunction(
147
+ alpha_list: list[Angle] | tuple[Angle, ...], delta_list: list[Angle] | tuple[Angle, ...], alpha_star: Angle, delta_star: Angle
148
+ ) -> tuple[float, Angle]: ...
149
+ def planet_stars_in_line(
150
+ alpha_list: list[Angle] | tuple[Angle, ...],
151
+ delta_list: list[Angle] | tuple[Angle, ...],
152
+ alpha_star1: Angle,
153
+ delta_star1: Angle,
154
+ alpha_star2: Angle,
155
+ delta_star2: Angle,
156
+ ) -> float: ...
157
+ def straight_line(
158
+ alpha1: Angle, delta1: Angle, alpha2: Angle, delta2: Angle, alpha3: Angle, delta3: Angle
159
+ ) -> tuple[Angle, Angle]: ...
160
+ def circle_diameter(alpha1: Angle, delta1: Angle, alpha2: Angle, delta2: Angle, alpha3: Angle, delta3: Angle) -> Angle: ...
161
+ def vsop_pos(
162
+ epoch: Epoch, vsop_l: list[list[list[float]]], vsop_b: list[list[list[float]]], vsop_r: list[list[list[float]]]
163
+ ) -> tuple[Angle, Angle, float]: ...
164
+ def geometric_vsop_pos(
165
+ epoch: Epoch,
166
+ vsop_l: list[list[list[float]]],
167
+ vsop_b: list[list[list[float]]],
168
+ vsop_r: list[list[list[float]]],
169
+ tofk5: bool | None = True,
170
+ ) -> tuple[Angle, Angle, float]: ...
171
+ def apparent_vsop_pos(
172
+ epoch: Epoch,
173
+ vsop_l: list[list[list[float]]],
174
+ vsop_b: list[list[list[float]]],
175
+ vsop_r: list[list[list[float]]],
176
+ nutation: bool | None = True,
177
+ ) -> tuple[Angle, Angle, float]: ...
178
+ def apparent_position(epoch: Epoch, alpha: Angle, delta: Angle, sun_lon: Angle) -> tuple[Angle, Angle]: ...
179
+ def orbital_equinox2equinox(epoch0: Epoch, epoch: Epoch, i0: Angle, arg0: Angle, lon0: Angle) -> tuple[Angle, Angle, Angle]: ...
180
+ def kepler_equation(eccentricity: float, mean_anomaly: Angle) -> tuple[Angle, Angle]: ...
181
+ def orbital_elements(
182
+ epoch: Epoch, parameters1: list[list[float]], parameters2: list[list[float]]
183
+ ) -> tuple[Angle, float, float, Angle, Angle, Angle]: ...
184
+ def velocity(r: float, a: float) -> float: ...
185
+ def velocity_perihelion(e: float, a: float) -> float: ...
186
+ def velocity_aphelion(e: float, a: float) -> float: ...
187
+ def length_orbit(e: float, a: float) -> float: ...
188
+ def passage_nodes_elliptic(omega: Angle, e: float, a: float, t: Epoch, ascending: bool | None = True) -> tuple[Epoch, float]: ...
189
+ def passage_nodes_parabolic(omega: Angle, q: float, t: Epoch, ascending: bool | None = True) -> tuple[Epoch, float]: ...
190
+ def phase_angle(sun_dist: float, earth_dist: float, sun_earth_dist: float) -> Angle: ...
191
+ def illuminated_fraction(sun_dist: float, earth_dist: float, sun_earth_dist: float) -> float: ...
192
+ def main() -> None: ...
@@ -0,0 +1,43 @@
1
+ from collections.abc import Callable
2
+ from typing import overload
3
+
4
+ from pymeeus.Angle import Angle
5
+
6
+ class CurveFitting:
7
+ @overload
8
+ def __init__(self) -> None: ...
9
+ @overload
10
+ def __init__(self, a: CurveFitting, /) -> None: ...
11
+ @overload
12
+ def __init__(self, a: list[float | Angle] | tuple[float | Angle, ...], /) -> None: ...
13
+ @overload
14
+ def __init__(
15
+ self, a1: list[float | Angle] | tuple[float | Angle, ...], a2: list[float | Angle] | tuple[float | Angle, ...], /
16
+ ) -> None: ...
17
+ @overload
18
+ def __init__(
19
+ self, a1: float | Angle, a2: float | Angle, a3: float | Angle, a4: float | Angle, /, *rest: float | Angle
20
+ ) -> None: ...
21
+ @overload
22
+ def set(self) -> None: ...
23
+ @overload
24
+ def set(self, a: CurveFitting, /) -> None: ...
25
+ @overload
26
+ def set(self, a: list[float | Angle] | tuple[float | Angle, ...], /) -> None: ...
27
+ @overload
28
+ def set(
29
+ self, a1: list[float | Angle] | tuple[float | Angle, ...], a2: list[float | Angle] | tuple[float | Angle, ...], /
30
+ ) -> None: ...
31
+ @overload
32
+ def set(
33
+ self, a1: float | Angle, a2: float | Angle, a3: float | Angle, a4: float | Angle, /, *rest: float | Angle
34
+ ) -> None: ...
35
+ def __len__(self) -> int: ...
36
+ def correlation_coeff(self) -> float: ...
37
+ def linear_fitting(self) -> tuple[float, float]: ...
38
+ def quadratic_fitting(self) -> tuple[float, float, float]: ...
39
+ def general_fitting(
40
+ self, f0: Callable[..., float], f1: Callable[..., float] = ..., f2: Callable[..., float] = ...
41
+ ) -> tuple[float, float, float]: ...
42
+
43
+ def main() -> None: ...