pylunar 0.8.0__tar.gz → 0.9.0__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.
- {pylunar-0.8.0 → pylunar-0.9.0}/.pre-commit-config.yaml +4 -4
- {pylunar-0.8.0 → pylunar-0.9.0}/HISTORY.rst +16 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/PKG-INFO +5 -7
- {pylunar-0.8.0 → pylunar-0.9.0}/pyproject.toml +4 -6
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar/altitude_dict.py +1 -2
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar/lunar_feature_container.py +1 -1
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar/pkg_types.py +7 -7
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar.egg-info/PKG-INFO +5 -7
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar.egg-info/requires.txt +3 -13
- {pylunar-0.8.0 → pylunar-0.9.0}/AUTHORS.rst +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/CONTRIBUTING.rst +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/LICENSE +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/MANIFEST.in +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/Makefile +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/README.rst +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/docs/Makefile +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/docs/authors.rst +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/docs/conf.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/docs/contributing.rst +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/docs/history.rst +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/docs/index.rst +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/docs/installation.rst +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/docs/make.bat +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/docs/usage.rst +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/renovate.json +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/scripts/startup.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/setup.cfg +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar/__init__.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar/data/lunar.db +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar/helpers.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar/lunar_feature.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar/moon_info.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar.egg-info/SOURCES.txt +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar.egg-info/dependency_links.txt +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/src/pylunar.egg-info/top_level.txt +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/tests/__init__.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/tests/test_altitude_dict.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/tests/test_helpers.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/tests/test_lunar_feature.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/tests/test_lunar_feature_container.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/tests/test_moon_info.py +0 -0
- {pylunar-0.8.0 → pylunar-0.9.0}/tox.ini +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
repos:
|
2
2
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
3
|
-
rev:
|
3
|
+
rev: v5.0.0
|
4
4
|
hooks:
|
5
5
|
- id: check-merge-conflict
|
6
6
|
- id: check-toml
|
@@ -8,21 +8,21 @@ repos:
|
|
8
8
|
- id: trailing-whitespace
|
9
9
|
|
10
10
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
11
|
-
rev: v0.
|
11
|
+
rev: v0.8.2
|
12
12
|
hooks:
|
13
13
|
- id: ruff
|
14
14
|
args: [--fix, --exit-non-zero-on-fix]
|
15
15
|
- id: ruff-format
|
16
16
|
|
17
17
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
18
|
-
rev: v1.
|
18
|
+
rev: v1.13.0
|
19
19
|
hooks:
|
20
20
|
- id: mypy
|
21
21
|
args: [--strict]
|
22
22
|
additional_dependencies: [types-pytz==2024.2.0.20240913]
|
23
23
|
|
24
24
|
- repo: https://github.com/numpy/numpydoc
|
25
|
-
rev: v1.
|
25
|
+
rev: v1.8.0
|
26
26
|
hooks:
|
27
27
|
- id: numpydoc-validation
|
28
28
|
|
@@ -4,6 +4,22 @@ History
|
|
4
4
|
-------
|
5
5
|
.. scriv-insert-here
|
6
6
|
|
7
|
+
.. _changelog-0.9.0:
|
8
|
+
|
9
|
+
0.9.0 (2024-12-10)
|
10
|
+
++++++++++++++++++
|
11
|
+
|
12
|
+
Changed
|
13
|
+
^^^^^^^
|
14
|
+
|
15
|
+
- Remove Python 3.8 support.
|
16
|
+
- Add Python 3.13 support.
|
17
|
+
|
18
|
+
Fixed
|
19
|
+
^^^^^
|
20
|
+
|
21
|
+
- Issues from pre-commit config version updates.
|
22
|
+
|
7
23
|
.. _changelog-0.8.0:
|
8
24
|
|
9
25
|
0.8.0 (2024-11-09)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pylunar
|
3
|
-
Version: 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,11 +10,11 @@ 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
|
@@ -27,18 +27,16 @@ Requires-Dist: pylunar[build,docs,lint,test]; extra == "dev"
|
|
27
27
|
Requires-Dist: scriv==1.5.1; extra == "dev"
|
28
28
|
Requires-Dist: tox==4.23.2; extra == "dev"
|
29
29
|
Provides-Extra: test
|
30
|
-
Requires-Dist: coverage[toml]==7.6.
|
31
|
-
Requires-Dist: coverage[toml]==7.6.4; python_version >= "3.9" and extra == "test"
|
30
|
+
Requires-Dist: coverage[toml]==7.6.9; extra == "test"
|
32
31
|
Requires-Dist: pytest==8.3.3; extra == "test"
|
33
32
|
Provides-Extra: lint
|
34
|
-
Requires-Dist: pre-commit==
|
35
|
-
Requires-Dist: pre-commit==3.8.0; python_version >= "3.9" and extra == "lint"
|
33
|
+
Requires-Dist: pre-commit==4.0.1; extra == "lint"
|
36
34
|
Provides-Extra: build
|
37
35
|
Requires-Dist: build==1.2.2.post1; extra == "build"
|
38
36
|
Requires-Dist: twine==5.1.1; extra == "build"
|
39
37
|
Provides-Extra: docs
|
40
38
|
Requires-Dist: sphinx~=7.1; extra == "docs"
|
41
|
-
Requires-Dist: sphinx_rtd_theme==
|
39
|
+
Requires-Dist: sphinx_rtd_theme==3.0.2; extra == "docs"
|
42
40
|
|
43
41
|
=============================
|
44
42
|
Python Lunar
|
@@ -20,11 +20,11 @@ classifiers = [
|
|
20
20
|
"License :: OSI Approved :: BSD License",
|
21
21
|
"Natural Language :: English",
|
22
22
|
"Programming Language :: Python :: 3",
|
23
|
-
"Programming Language :: Python :: 3.8",
|
24
23
|
"Programming Language :: Python :: 3.9",
|
25
24
|
"Programming Language :: Python :: 3.10",
|
26
25
|
"Programming Language :: Python :: 3.11",
|
27
26
|
"Programming Language :: Python :: 3.12",
|
27
|
+
"Programming Language :: Python :: 3.13",
|
28
28
|
]
|
29
29
|
dependencies = [
|
30
30
|
"ephem==4.1.6",
|
@@ -44,13 +44,11 @@ dev = [
|
|
44
44
|
"tox==4.23.2"
|
45
45
|
]
|
46
46
|
test = [
|
47
|
-
"coverage[toml]==7.6.
|
48
|
-
"coverage[toml]==7.6.4;python_version>='3.9'",
|
47
|
+
"coverage[toml]==7.6.9",
|
49
48
|
"pytest==8.3.3",
|
50
49
|
]
|
51
50
|
lint = [
|
52
|
-
"pre-commit==
|
53
|
-
"pre-commit==3.8.0;python_version>='3.9'"
|
51
|
+
"pre-commit==4.0.1"
|
54
52
|
]
|
55
53
|
build = [
|
56
54
|
"build==1.2.2.post1",
|
@@ -58,7 +56,7 @@ build = [
|
|
58
56
|
]
|
59
57
|
docs = [
|
60
58
|
"sphinx~=7.1",
|
61
|
-
"sphinx_rtd_theme==
|
59
|
+
"sphinx_rtd_theme==3.0.2"
|
62
60
|
]
|
63
61
|
|
64
62
|
[tool.setuptools_scm]
|
@@ -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(
|
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
|
@@ -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
|
22
|
+
from typing import Union
|
23
23
|
|
24
|
-
DateTimeTuple: TypeAlias =
|
25
|
-
MoonPhases: TypeAlias =
|
26
|
-
DmsCoordinate: TypeAlias =
|
27
|
-
Range: TypeAlias =
|
28
|
-
LunarFeatureList: TypeAlias =
|
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 =
|
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.
|
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,11 +10,11 @@ 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
|
@@ -27,18 +27,16 @@ Requires-Dist: pylunar[build,docs,lint,test]; extra == "dev"
|
|
27
27
|
Requires-Dist: scriv==1.5.1; extra == "dev"
|
28
28
|
Requires-Dist: tox==4.23.2; extra == "dev"
|
29
29
|
Provides-Extra: test
|
30
|
-
Requires-Dist: coverage[toml]==7.6.
|
31
|
-
Requires-Dist: coverage[toml]==7.6.4; python_version >= "3.9" and extra == "test"
|
30
|
+
Requires-Dist: coverage[toml]==7.6.9; extra == "test"
|
32
31
|
Requires-Dist: pytest==8.3.3; extra == "test"
|
33
32
|
Provides-Extra: lint
|
34
|
-
Requires-Dist: pre-commit==
|
35
|
-
Requires-Dist: pre-commit==3.8.0; python_version >= "3.9" and extra == "lint"
|
33
|
+
Requires-Dist: pre-commit==4.0.1; extra == "lint"
|
36
34
|
Provides-Extra: build
|
37
35
|
Requires-Dist: build==1.2.2.post1; extra == "build"
|
38
36
|
Requires-Dist: twine==5.1.1; extra == "build"
|
39
37
|
Provides-Extra: docs
|
40
38
|
Requires-Dist: sphinx~=7.1; extra == "docs"
|
41
|
-
Requires-Dist: sphinx_rtd_theme==
|
39
|
+
Requires-Dist: sphinx_rtd_theme==3.0.2; extra == "docs"
|
42
40
|
|
43
41
|
=============================
|
44
42
|
Python Lunar
|
@@ -16,21 +16,11 @@ tox==4.23.2
|
|
16
16
|
|
17
17
|
[docs]
|
18
18
|
sphinx~=7.1
|
19
|
-
sphinx_rtd_theme==
|
19
|
+
sphinx_rtd_theme==3.0.2
|
20
20
|
|
21
21
|
[lint]
|
22
|
-
|
23
|
-
[lint:python_version < "3.9"]
|
24
|
-
pre-commit==3.5.0
|
25
|
-
|
26
|
-
[lint:python_version >= "3.9"]
|
27
|
-
pre-commit==3.8.0
|
22
|
+
pre-commit==4.0.1
|
28
23
|
|
29
24
|
[test]
|
25
|
+
coverage[toml]==7.6.9
|
30
26
|
pytest==8.3.3
|
31
|
-
|
32
|
-
[test:python_version < "3.9"]
|
33
|
-
coverage[toml]==7.6.1
|
34
|
-
|
35
|
-
[test:python_version >= "3.9"]
|
36
|
-
coverage[toml]==7.6.4
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|