kerykeion 5.0.0b4__py3-none-any.whl → 5.0.0b5__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.
Potentially problematic release.
This version of kerykeion might be problematic. Click here for more details.
- kerykeion/kr_types/__init__.py +70 -0
- kerykeion/kr_types/chart_template_model.py +20 -0
- kerykeion/kr_types/kerykeion_exception.py +20 -0
- kerykeion/kr_types/kr_literals.py +20 -0
- kerykeion/kr_types/kr_models.py +20 -0
- kerykeion/kr_types/settings_models.py +20 -0
- kerykeion/schemas/__init__.py +7 -0
- kerykeion/schemas/kr_literals.py +11 -0
- {kerykeion-5.0.0b4.dist-info → kerykeion-5.0.0b5.dist-info}/METADATA +32 -6
- {kerykeion-5.0.0b4.dist-info → kerykeion-5.0.0b5.dist-info}/RECORD +12 -6
- {kerykeion-5.0.0b4.dist-info → kerykeion-5.0.0b5.dist-info}/WHEEL +0 -0
- {kerykeion-5.0.0b4.dist-info → kerykeion-5.0.0b5.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
Backward compatibility module for Kerykeion v4.x imports.
|
|
4
|
+
|
|
5
|
+
DEPRECATED: This module will be removed in Kerykeion v6.0.
|
|
6
|
+
Please update your imports:
|
|
7
|
+
OLD: from kerykeion.kr_types import ...
|
|
8
|
+
NEW: from kerykeion.schemas import ...
|
|
9
|
+
"""
|
|
10
|
+
import warnings
|
|
11
|
+
|
|
12
|
+
# Issue deprecation warning when this module is imported
|
|
13
|
+
warnings.warn(
|
|
14
|
+
"The 'kerykeion.kr_types' module is deprecated and will be removed in v6.0. "
|
|
15
|
+
"Please update your imports to use 'kerykeion.schemas' instead.",
|
|
16
|
+
DeprecationWarning,
|
|
17
|
+
stacklevel=2,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
# Re-export everything from schemas for backward compatibility
|
|
21
|
+
from kerykeion.schemas import * # noqa: F401, F403
|
|
22
|
+
from kerykeion.schemas.kerykeion_exception import * # noqa: F401, F403
|
|
23
|
+
from kerykeion.schemas.kr_literals import * # noqa: F401, F403
|
|
24
|
+
from kerykeion.schemas.kr_models import * # noqa: F401, F403
|
|
25
|
+
from kerykeion.schemas.settings_models import * # noqa: F401, F403
|
|
26
|
+
from kerykeion.schemas.chart_template_model import * # noqa: F401, F403
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
# Re-export from schemas
|
|
30
|
+
"KerykeionException",
|
|
31
|
+
# kr_literals
|
|
32
|
+
"ZodiacType",
|
|
33
|
+
"Sign",
|
|
34
|
+
"SignNumbers",
|
|
35
|
+
"AspectMovementType",
|
|
36
|
+
"Houses",
|
|
37
|
+
"HouseNumbers",
|
|
38
|
+
"AstrologicalPoint",
|
|
39
|
+
"Element",
|
|
40
|
+
"Quality",
|
|
41
|
+
"ChartType",
|
|
42
|
+
"PointType",
|
|
43
|
+
"LunarPhaseEmoji",
|
|
44
|
+
"LunarPhaseName",
|
|
45
|
+
"SiderealMode",
|
|
46
|
+
"HousesSystemIdentifier",
|
|
47
|
+
"PerspectiveType",
|
|
48
|
+
"SignsEmoji",
|
|
49
|
+
"KerykeionChartTheme",
|
|
50
|
+
"KerykeionChartLanguage",
|
|
51
|
+
"RelationshipScoreDescription",
|
|
52
|
+
"CompositeChartType",
|
|
53
|
+
"AspectName",
|
|
54
|
+
# kr_models
|
|
55
|
+
"AstrologicalSubjectModel",
|
|
56
|
+
"CompositeSubjectModel",
|
|
57
|
+
"KerykeionPointModel",
|
|
58
|
+
"AspectModel",
|
|
59
|
+
"ActiveAspect",
|
|
60
|
+
"SingleChartAspectsModel",
|
|
61
|
+
"DualChartAspectsModel",
|
|
62
|
+
"ElementDistributionModel",
|
|
63
|
+
"QualityDistributionModel",
|
|
64
|
+
"SingleChartDataModel",
|
|
65
|
+
"DualChartDataModel",
|
|
66
|
+
# settings_models
|
|
67
|
+
"KerykeionSettingsModel",
|
|
68
|
+
# chart_template_model
|
|
69
|
+
"ChartTemplateModel",
|
|
70
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
Backward compatibility module for chart_template_model.
|
|
4
|
+
|
|
5
|
+
DEPRECATED: This module will be removed in Kerykeion v6.0.
|
|
6
|
+
Please update your imports:
|
|
7
|
+
OLD: from kerykeion.kr_types.chart_template_model import ...
|
|
8
|
+
NEW: from kerykeion.schemas.chart_template_model import ...
|
|
9
|
+
"""
|
|
10
|
+
import warnings
|
|
11
|
+
|
|
12
|
+
warnings.warn(
|
|
13
|
+
"The 'kerykeion.kr_types.chart_template_model' module is deprecated and will be removed in v6.0. "
|
|
14
|
+
"Please update your imports to use 'kerykeion.schemas.chart_template_model' instead.",
|
|
15
|
+
DeprecationWarning,
|
|
16
|
+
stacklevel=2,
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
# Re-export everything from schemas.chart_template_model for backward compatibility
|
|
20
|
+
from kerykeion.schemas.chart_template_model import * # noqa: F401, F403
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
Backward compatibility module for kerykeion_exception.
|
|
4
|
+
|
|
5
|
+
DEPRECATED: This module will be removed in Kerykeion v6.0.
|
|
6
|
+
Please update your imports:
|
|
7
|
+
OLD: from kerykeion.kr_types.kerykeion_exception import ...
|
|
8
|
+
NEW: from kerykeion.schemas.kerykeion_exception import ...
|
|
9
|
+
"""
|
|
10
|
+
import warnings
|
|
11
|
+
|
|
12
|
+
warnings.warn(
|
|
13
|
+
"The 'kerykeion.kr_types.kerykeion_exception' module is deprecated and will be removed in v6.0. "
|
|
14
|
+
"Please update your imports to use 'kerykeion.schemas.kerykeion_exception' instead.",
|
|
15
|
+
DeprecationWarning,
|
|
16
|
+
stacklevel=2,
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
# Re-export everything from schemas.kerykeion_exception for backward compatibility
|
|
20
|
+
from kerykeion.schemas.kerykeion_exception import * # noqa: F401, F403
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
Backward compatibility module for kr_literals.
|
|
4
|
+
|
|
5
|
+
DEPRECATED: This module will be removed in Kerykeion v6.0.
|
|
6
|
+
Please update your imports:
|
|
7
|
+
OLD: from kerykeion.kr_types.kr_literals import ...
|
|
8
|
+
NEW: from kerykeion.schemas.kr_literals import ...
|
|
9
|
+
"""
|
|
10
|
+
import warnings
|
|
11
|
+
|
|
12
|
+
warnings.warn(
|
|
13
|
+
"The 'kerykeion.kr_types.kr_literals' module is deprecated and will be removed in v6.0. "
|
|
14
|
+
"Please update your imports to use 'kerykeion.schemas.kr_literals' instead.",
|
|
15
|
+
DeprecationWarning,
|
|
16
|
+
stacklevel=2,
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
# Re-export everything from schemas.kr_literals for backward compatibility
|
|
20
|
+
from kerykeion.schemas.kr_literals import * # noqa: F401, F403
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
Backward compatibility module for kr_models.
|
|
4
|
+
|
|
5
|
+
DEPRECATED: This module will be removed in Kerykeion v6.0.
|
|
6
|
+
Please update your imports:
|
|
7
|
+
OLD: from kerykeion.kr_types.kr_models import ...
|
|
8
|
+
NEW: from kerykeion.schemas.kr_models import ...
|
|
9
|
+
"""
|
|
10
|
+
import warnings
|
|
11
|
+
|
|
12
|
+
warnings.warn(
|
|
13
|
+
"The 'kerykeion.kr_types.kr_models' module is deprecated and will be removed in v6.0. "
|
|
14
|
+
"Please update your imports to use 'kerykeion.schemas.kr_models' instead.",
|
|
15
|
+
DeprecationWarning,
|
|
16
|
+
stacklevel=2,
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
# Re-export everything from schemas.kr_models for backward compatibility
|
|
20
|
+
from kerykeion.schemas.kr_models import * # noqa: F401, F403
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
Backward compatibility module for settings_models.
|
|
4
|
+
|
|
5
|
+
DEPRECATED: This module will be removed in Kerykeion v6.0.
|
|
6
|
+
Please update your imports:
|
|
7
|
+
OLD: from kerykeion.kr_types.settings_models import ...
|
|
8
|
+
NEW: from kerykeion.schemas.settings_models import ...
|
|
9
|
+
"""
|
|
10
|
+
import warnings
|
|
11
|
+
|
|
12
|
+
warnings.warn(
|
|
13
|
+
"The 'kerykeion.kr_types.settings_models' module is deprecated and will be removed in v6.0. "
|
|
14
|
+
"Please update your imports to use 'kerykeion.schemas.settings_models' instead.",
|
|
15
|
+
DeprecationWarning,
|
|
16
|
+
stacklevel=2,
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
# Re-export everything from schemas.settings_models for backward compatibility
|
|
20
|
+
from kerykeion.schemas.settings_models import * # noqa: F401, F403
|
kerykeion/schemas/__init__.py
CHANGED
|
@@ -27,6 +27,9 @@ from .kr_literals import (
|
|
|
27
27
|
RelationshipScoreDescription,
|
|
28
28
|
CompositeChartType,
|
|
29
29
|
AspectName,
|
|
30
|
+
# Deprecated aliases
|
|
31
|
+
Planet,
|
|
32
|
+
AxialCusps,
|
|
30
33
|
)
|
|
31
34
|
from .kr_models import (
|
|
32
35
|
SubscriptableBaseModel,
|
|
@@ -80,6 +83,10 @@ __all__ = [
|
|
|
80
83
|
"CompositeChartType",
|
|
81
84
|
"AspectName",
|
|
82
85
|
|
|
86
|
+
# Deprecated aliases (for v4.x compatibility, will be removed in v6.0)
|
|
87
|
+
"Planet",
|
|
88
|
+
"AxialCusps",
|
|
89
|
+
|
|
83
90
|
# Main Model Classes (from kr_models)
|
|
84
91
|
"SubscriptableBaseModel",
|
|
85
92
|
"LunarPhaseModel",
|
kerykeion/schemas/kr_literals.py
CHANGED
|
@@ -168,3 +168,14 @@ AspectName = Literal[
|
|
|
168
168
|
|
|
169
169
|
ReturnType = Literal["Lunar", "Solar"]
|
|
170
170
|
"""Literal type for Return Types"""
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
# ---------------------------------------------------------------------------
|
|
174
|
+
# Deprecated aliases for backward compatibility with Kerykeion v4.x
|
|
175
|
+
# ---------------------------------------------------------------------------
|
|
176
|
+
# These will be removed in v6.0 - migrate to AstrologicalPoint
|
|
177
|
+
Planet = AstrologicalPoint
|
|
178
|
+
"""DEPRECATED: Use AstrologicalPoint instead. This alias will be removed in v6.0."""
|
|
179
|
+
|
|
180
|
+
AxialCusps = AstrologicalPoint
|
|
181
|
+
"""DEPRECATED: Use AstrologicalPoint instead. This alias will be removed in v6.0."""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kerykeion
|
|
3
|
-
Version: 5.0.
|
|
3
|
+
Version: 5.0.0b5
|
|
4
4
|
Summary: A Python library for astrological calculations, including natal charts, houses, planetary aspects, and SVG chart generation.
|
|
5
5
|
Project-URL: Homepage, https://www.kerykeion.net/
|
|
6
6
|
Project-URL: Repository, https://github.com/g-battaglia/kerykeion
|
|
@@ -926,16 +926,42 @@ Module structure has been completely reorganized:
|
|
|
926
926
|
```python
|
|
927
927
|
from kerykeion import AstrologicalSubject, KerykeionChartSVG
|
|
928
928
|
from kerykeion.kr_types import KerykeionException
|
|
929
|
+
from kerykeion.kr_types.kr_literals import Planet, AxialCusps
|
|
929
930
|
```
|
|
930
931
|
|
|
931
932
|
**New imports (v5):**
|
|
932
933
|
|
|
933
934
|
```python
|
|
934
935
|
from kerykeion import AstrologicalSubjectFactory, ChartDataFactory, ChartDrawer
|
|
935
|
-
from kerykeion.schemas
|
|
936
|
+
from kerykeion.schemas import KerykeionException
|
|
937
|
+
from kerykeion.schemas.kr_literals import AstrologicalPoint
|
|
936
938
|
```
|
|
937
939
|
|
|
938
|
-
|
|
940
|
+
**Backward compatibility (v5 only, removed in v6.0):**
|
|
941
|
+
|
|
942
|
+
```python
|
|
943
|
+
# Old kr_types imports still work with deprecation warnings
|
|
944
|
+
from kerykeion.kr_types import Planet, AxialCusps # Shows warning
|
|
945
|
+
from kerykeion.schemas import Planet, AxialCusps # Works, no warning
|
|
946
|
+
```
|
|
947
|
+
|
|
948
|
+
#### 3. Type Aliases Unified
|
|
949
|
+
|
|
950
|
+
**Old (v4):** `Planet` and `AxialCusps` were separate types
|
|
951
|
+
**New (v5):** Unified as `AstrologicalPoint`
|
|
952
|
+
|
|
953
|
+
```python
|
|
954
|
+
# v4
|
|
955
|
+
from kerykeion.kr_types.kr_literals import Planet, AxialCusps
|
|
956
|
+
|
|
957
|
+
# v5 (recommended)
|
|
958
|
+
from kerykeion.schemas.kr_literals import AstrologicalPoint
|
|
959
|
+
|
|
960
|
+
# v5 (transition, uses aliases)
|
|
961
|
+
from kerykeion.schemas import Planet, AxialCusps # Still available
|
|
962
|
+
```
|
|
963
|
+
|
|
964
|
+
#### 4. Lunar Nodes Naming
|
|
939
965
|
|
|
940
966
|
All lunar node fields have been renamed for clarity:
|
|
941
967
|
|
|
@@ -956,11 +982,11 @@ print(subject.mean_node)
|
|
|
956
982
|
print(subject.mean_north_lunar_node)
|
|
957
983
|
```
|
|
958
984
|
|
|
959
|
-
####
|
|
985
|
+
#### 5. Axis Orb Filtering
|
|
960
986
|
|
|
961
987
|
Modern default orbs now treat chart axes (ASC, MC, DSC, IC) exactly like planets. If you prefer a traditional, constrained approach, every public aspect factory exposes the keyword-only `axis_orb_limit` parameter so you can set a dedicated threshold when needed.
|
|
962
988
|
|
|
963
|
-
####
|
|
989
|
+
#### 6. Chart Generation Changes
|
|
964
990
|
|
|
965
991
|
The two-step process (data + rendering) is now required:
|
|
966
992
|
|
|
@@ -979,7 +1005,7 @@ drawer = ChartDrawer(chart_data=chart_data)
|
|
|
979
1005
|
drawer.save_svg()
|
|
980
1006
|
```
|
|
981
1007
|
|
|
982
|
-
####
|
|
1008
|
+
#### 7. Aspects API Changes
|
|
983
1009
|
|
|
984
1010
|
Aspects are now calculated through the factory:
|
|
985
1011
|
|
|
@@ -29,10 +29,16 @@ kerykeion/charts/themes/strawberry.css,sha256=pFrST9xDRiej-YXh7P_snOr46DUcKjw--5
|
|
|
29
29
|
kerykeion/house_comparison/__init__.py,sha256=dnSVpx_pKylYUeaTGxHsSlN15HqQS6eJHpDQOrIvrpY,107
|
|
30
30
|
kerykeion/house_comparison/house_comparison_factory.py,sha256=YkA7itvkyIcKEf8Ffi53on-gGhsHi_Oeu9Gm4N9aHQs,4588
|
|
31
31
|
kerykeion/house_comparison/house_comparison_utils.py,sha256=vzME6Aw5njCXu6BmPLuhgfEVDI00qfQI7MPH-YujO1g,5071
|
|
32
|
-
kerykeion/
|
|
32
|
+
kerykeion/kr_types/__init__.py,sha256=qu6A0wjQEkBgCGAyTRl2srHvq6LOiBlNsrlEcVomx78,1990
|
|
33
|
+
kerykeion/kr_types/chart_template_model.py,sha256=k4WhL3sKAa8iCTsvlH4dFdOBByLIkgT7Y1MHBuYem1Q,733
|
|
34
|
+
kerykeion/kr_types/kerykeion_exception.py,sha256=_Jjd-5DuBA4qBG58ob5Lhe9HANrXCaihMagD0icPZc0,726
|
|
35
|
+
kerykeion/kr_types/kr_literals.py,sha256=_yZ-mtuomVxa1sMpxemA6T30PGVPMdGxbF_K2jmWfTo,670
|
|
36
|
+
kerykeion/kr_types/kr_models.py,sha256=-cesGCN8-CjmPSqCH6CMnc0hDA_87g4zflEHxiKi1QY,656
|
|
37
|
+
kerykeion/kr_types/settings_models.py,sha256=xtpsrhjmhdowDSBeQ7TEMR53-uEEspCoXKCLnq18nDo,698
|
|
38
|
+
kerykeion/schemas/__init__.py,sha256=EcwbnoYPKLq3m7n5s2cEZ8UyWpxdmHXbvM23hLNBNBI,2376
|
|
33
39
|
kerykeion/schemas/chart_template_model.py,sha256=fQ_EZ8ccOgNd4gXu5KilF1dUH9B2RVCDLHc09YkYLyY,8978
|
|
34
40
|
kerykeion/schemas/kerykeion_exception.py,sha256=vTYdwj_mL-Q-MqHJvEzzBXxQ5YI2kAwUC6ImoWxMKXc,454
|
|
35
|
-
kerykeion/schemas/kr_literals.py,sha256=
|
|
41
|
+
kerykeion/schemas/kr_literals.py,sha256=p0lm598ut0GyeT-sRzWNcp5BFk9-FdYme4XjEUFJ3cA,5656
|
|
36
42
|
kerykeion/schemas/kr_models.py,sha256=C8Xo4uPxMfCUbKOBopKrbI8bSZzWVXImYsOJEZIlBjQ,22159
|
|
37
43
|
kerykeion/schemas/settings_models.py,sha256=NlOW9T7T5kD5Dzna1UOdb7XPQeQnzMOu0y4-ApERxPw,17619
|
|
38
44
|
kerykeion/settings/__init__.py,sha256=IJUqkYTpvmbKecVeCbsiL1qU_4xWc78u4OrvN_T3ZAI,624
|
|
@@ -51,7 +57,7 @@ kerykeion/sweph/ast28/se28978s.se1,sha256=nU2Qp-ELc_tzFnRc1QT6uVueWXEipvhYDgfQRX
|
|
|
51
57
|
kerykeion/sweph/ast50/se50000s.se1,sha256=9jTrPlIrZMOBWC9cNgwzcfz0KBHdXFZoY9-NZ_HtECo,15748
|
|
52
58
|
kerykeion/sweph/ast90/se90377s.se1,sha256=bto2x4LtBv8b1ej1XhVFYq-kfHO9cczbKV9U1f9UVu4,10288
|
|
53
59
|
kerykeion/sweph/ast90/se90482s.se1,sha256=uHxz6bP4K8zgtQFrlWFwxrYfmqm5kXxsg6OYhAIUbAA,16173
|
|
54
|
-
kerykeion-5.0.
|
|
55
|
-
kerykeion-5.0.
|
|
56
|
-
kerykeion-5.0.
|
|
57
|
-
kerykeion-5.0.
|
|
60
|
+
kerykeion-5.0.0b5.dist-info/METADATA,sha256=clE-uDW7c5VIQXy4nFPPLr1gRl0WQ83Z68Fy_eudPiM,44928
|
|
61
|
+
kerykeion-5.0.0b5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
62
|
+
kerykeion-5.0.0b5.dist-info/licenses/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
|
|
63
|
+
kerykeion-5.0.0b5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|