pylunar 0.8.0__py3-none-any.whl → 0.9.0__py3-none-any.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.
pylunar/altitude_dict.py CHANGED
@@ -13,7 +13,6 @@
13
13
  from __future__ import annotations
14
14
 
15
15
  import sys
16
- from typing import Dict
17
16
 
18
17
  if sys.version_info >= (3, 10):
19
18
  from importlib.resources import files
@@ -28,7 +27,7 @@ from .moon_info import MoonInfo
28
27
  __all__ = ["AltitudeDict"]
29
28
 
30
29
 
31
- class AltitudeDict(Dict[str, float]):
30
+ class AltitudeDict(dict[str, float]):
32
31
  """Dictionary for the Lunar II features requiring solar altitude."""
33
32
 
34
33
  def load(self, moon_info: MoonInfo) -> None:
@@ -15,8 +15,8 @@ from __future__ import annotations
15
15
  __all__ = ["LunarFeatureContainer"]
16
16
 
17
17
  import collections
18
+ from collections.abc import Generator
18
19
  import sys
19
- from typing import Generator
20
20
 
21
21
  if sys.version_info >= (3, 10):
22
22
  from importlib.resources import files
pylunar/pkg_types.py CHANGED
@@ -19,13 +19,13 @@ if sys.version_info >= (3, 10):
19
19
  else:
20
20
  from typing_extensions import TypeAlias
21
21
 
22
- from typing import List, Tuple, Union
22
+ from typing import Union
23
23
 
24
- DateTimeTuple: TypeAlias = Tuple[int, int, int, int, int, Union[int, float]]
25
- MoonPhases: TypeAlias = List[Tuple[str, Union[DateTimeTuple, str]]]
26
- DmsCoordinate: TypeAlias = Tuple[int, int, int]
27
- Range: TypeAlias = Tuple[float, float]
28
- LunarFeatureList: TypeAlias = Tuple[
24
+ DateTimeTuple: TypeAlias = Union[tuple[int, ...], tuple[int, int, int, int, int, float]]
25
+ MoonPhases: TypeAlias = list[tuple[str, Union[DateTimeTuple, str]]]
26
+ DmsCoordinate: TypeAlias = tuple[int, int, int]
27
+ Range: TypeAlias = tuple[float, float]
28
+ LunarFeatureList: TypeAlias = tuple[
29
29
  str, float, float, float, float, float, str, str, str, str, Union[str, None]
30
30
  ]
31
- FeatureRow: TypeAlias = Tuple[int, str, float, float, float, float, float, str, str, str, str, str]
31
+ FeatureRow: TypeAlias = tuple[int, str, float, float, float, float, float, str, str, str, str, str]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pylunar
3
- Version: 0.8.0
3
+ Version: 0.9.0
4
4
  Summary: Information for completing the Astronomical League's Lunar and Lunar II observing programs.
5
5
  Author-email: Michael Reuter <mareuternh@gmail.com>
6
6
  Project-URL: Documentation, http://pylunar.readthedocs.io
@@ -10,35 +10,33 @@ Classifier: Intended Audience :: Developers
10
10
  Classifier: License :: OSI Approved :: BSD License
11
11
  Classifier: Natural Language :: English
12
12
  Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.8
14
13
  Classifier: Programming Language :: Python :: 3.9
15
14
  Classifier: Programming Language :: Python :: 3.10
16
15
  Classifier: Programming Language :: Python :: 3.11
17
16
  Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
18
  Description-Content-Type: text/x-rst
19
19
  License-File: LICENSE
20
20
  License-File: AUTHORS.rst
21
21
  Requires-Dist: ephem==4.1.6
22
- Requires-Dist: pytz==2024.2
23
22
  Requires-Dist: importlib-resources==6.4.5; python_version < "3.10"
24
23
  Requires-Dist: typing-extensions==4.12.2; python_version < "3.10"
25
- Provides-Extra: build
26
- Requires-Dist: build==1.2.2.post1; extra == "build"
27
- Requires-Dist: twine==5.1.1; extra == "build"
24
+ Requires-Dist: pytz==2024.2
28
25
  Provides-Extra: dev
29
26
  Requires-Dist: pylunar[build,docs,lint,test]; extra == "dev"
30
27
  Requires-Dist: scriv==1.5.1; extra == "dev"
31
28
  Requires-Dist: tox==4.23.2; extra == "dev"
32
- Provides-Extra: docs
33
- Requires-Dist: sphinx~=7.1; extra == "docs"
34
- Requires-Dist: sphinx-rtd-theme==2.0.0; extra == "docs"
35
- Provides-Extra: lint
36
- Requires-Dist: pre-commit==3.5.0; python_version < "3.9" and extra == "lint"
37
- Requires-Dist: pre-commit==3.8.0; python_version >= "3.9" and extra == "lint"
38
29
  Provides-Extra: test
30
+ Requires-Dist: coverage[toml]==7.6.9; extra == "test"
39
31
  Requires-Dist: pytest==8.3.3; extra == "test"
40
- Requires-Dist: coverage[toml]==7.6.1; python_version < "3.9" and extra == "test"
41
- Requires-Dist: coverage[toml]==7.6.4; python_version >= "3.9" and extra == "test"
32
+ Provides-Extra: lint
33
+ Requires-Dist: pre-commit==4.0.1; extra == "lint"
34
+ Provides-Extra: build
35
+ Requires-Dist: build==1.2.2.post1; extra == "build"
36
+ Requires-Dist: twine==5.1.1; extra == "build"
37
+ Provides-Extra: docs
38
+ Requires-Dist: sphinx~=7.1; extra == "docs"
39
+ Requires-Dist: sphinx_rtd_theme==3.0.2; extra == "docs"
42
40
 
43
41
  =============================
44
42
  Python Lunar
@@ -0,0 +1,14 @@
1
+ pylunar/__init__.py,sha256=1HgvGZdShUOeanMLMf2vNzdtyvcyAGtjvsytGxbaW00,1116
2
+ pylunar/altitude_dict.py,sha256=x0nsR9ZeyyEl10tvSDXSqfUx_4q2hmwckWzEmpjoE7Q,1558
3
+ pylunar/helpers.py,sha256=UgEFvBGGZxTBaKx16-CjOO8hkqPA_GLRZN8SOgshZFs,1327
4
+ pylunar/lunar_feature.py,sha256=cqNFA7ED-u13H1rayo029GrQfPR3g1cYL-m_Q0zYNuQ,5532
5
+ pylunar/lunar_feature_container.py,sha256=ci5MXPLqKhghh3k9HCti5csvkohfu3GV9LHnI6rLio0,2819
6
+ pylunar/moon_info.py,sha256=n9sMgk8lDM18_D6hbC8AG0I9yQ7-FfwwQccah-LrqCs,20833
7
+ pylunar/pkg_types.py,sha256=o5LVdgosUo9Vy6OS2Hi1HkVcgUStlPV-AnEYimyxlIo,972
8
+ pylunar/data/lunar.db,sha256=y2u5wR_DpHjPYH7fuR-T_q0nbPzN1GuP8_OXorjVr14,28672
9
+ pylunar-0.9.0.dist-info/AUTHORS.rst,sha256=mqGQzrJPFGm44DZxZFs0d080QDWXdtfFlv1i_fdJerg,332
10
+ pylunar-0.9.0.dist-info/LICENSE,sha256=EF_CKfNhkKjEynpn9Msb6HaGNIBN9VfeGyrJFJQ5FYk,1479
11
+ pylunar-0.9.0.dist-info/METADATA,sha256=2QqOXzrBsu6onsZzuMbM3ePz8PJZGaGg-JzO_OzEKIo,3064
12
+ pylunar-0.9.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
13
+ pylunar-0.9.0.dist-info/top_level.txt,sha256=vEQZCgYlUuoq6D4q99Kj5fSpNs2Mo-jW8vKV3dnpI-U,8
14
+ pylunar-0.9.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,14 +0,0 @@
1
- pylunar/__init__.py,sha256=1HgvGZdShUOeanMLMf2vNzdtyvcyAGtjvsytGxbaW00,1116
2
- pylunar/altitude_dict.py,sha256=NEpnNvKmnOFlEF9VxXBANbsf1ks7G7xnu6ul_DfMpAo,1582
3
- pylunar/helpers.py,sha256=UgEFvBGGZxTBaKx16-CjOO8hkqPA_GLRZN8SOgshZFs,1327
4
- pylunar/lunar_feature.py,sha256=cqNFA7ED-u13H1rayo029GrQfPR3g1cYL-m_Q0zYNuQ,5532
5
- pylunar/lunar_feature_container.py,sha256=dcV9Thd7AdQTllhkIKJ_lYGWW5jsj7a1ZpqTjq7BQ6Y,2810
6
- pylunar/moon_info.py,sha256=n9sMgk8lDM18_D6hbC8AG0I9yQ7-FfwwQccah-LrqCs,20833
7
- pylunar/pkg_types.py,sha256=DbPCc9_kzRuSOxOfeKaLJdWfykdbzRPnOTY-EN2xrsc,973
8
- pylunar/data/lunar.db,sha256=y2u5wR_DpHjPYH7fuR-T_q0nbPzN1GuP8_OXorjVr14,28672
9
- pylunar-0.8.0.dist-info/AUTHORS.rst,sha256=mqGQzrJPFGm44DZxZFs0d080QDWXdtfFlv1i_fdJerg,332
10
- pylunar-0.8.0.dist-info/LICENSE,sha256=EF_CKfNhkKjEynpn9Msb6HaGNIBN9VfeGyrJFJQ5FYk,1479
11
- pylunar-0.8.0.dist-info/METADATA,sha256=uafi1dvpjSpMogwlBYmbf2ch-0v9YaWfHY4Fktrh4gk,3277
12
- pylunar-0.8.0.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
13
- pylunar-0.8.0.dist-info/top_level.txt,sha256=vEQZCgYlUuoq6D4q99Kj5fSpNs2Mo-jW8vKV3dnpI-U,8
14
- pylunar-0.8.0.dist-info/RECORD,,