kerykeion 5.0.0b4__py3-none-any.whl → 5.0.1__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/backword.py +1 -1
- 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.1.dist-info}/METADATA +98 -77
- {kerykeion-5.0.0b4.dist-info → kerykeion-5.0.1.dist-info}/RECORD +13 -7
- {kerykeion-5.0.0b4.dist-info → kerykeion-5.0.1.dist-info}/WHEEL +0 -0
- {kerykeion-5.0.0b4.dist-info → kerykeion-5.0.1.dist-info}/licenses/LICENSE +0 -0
kerykeion/backword.py
CHANGED
|
@@ -621,7 +621,7 @@ class KerykeionChartSVG:
|
|
|
621
621
|
# ---------------------------------------------------------------------------
|
|
622
622
|
class NatalAspects:
|
|
623
623
|
"""Wrapper replicating the master branch NatalAspects interface.
|
|
624
|
-
|
|
624
|
+
|
|
625
625
|
Replacement: AspectsFactory.single_subject_aspects(subject)
|
|
626
626
|
"""
|
|
627
627
|
|
|
@@ -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.1
|
|
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
|
|
@@ -64,7 +64,7 @@ Kerykeion also integrates seamlessly with LLM and AI applications.
|
|
|
64
64
|
|
|
65
65
|
Here is an example of a birthchart:
|
|
66
66
|
|
|
67
|
-

|
|
68
68
|
|
|
69
69
|
## **Web API**
|
|
70
70
|
|
|
@@ -80,70 +80,65 @@ Maintaining this project requires substantial time and effort. The Astrologer AP
|
|
|
80
80
|
|
|
81
81
|
[](https://ko-fi.com/kerykeion)
|
|
82
82
|
|
|
83
|
-
## ⚠️ Development Branch Notice
|
|
84
|
-
|
|
85
|
-
This branch (`next`) is **not the stable version** of Kerykeion. It is the **development branch for the upcoming V5 release**.
|
|
86
|
-
|
|
87
|
-
If you're looking for the latest stable version, please check out the [`master`](https://github.com/g-battaglia/kerykeion/tree/master) branch instead.
|
|
88
|
-
|
|
89
83
|
## Table of Contents
|
|
90
84
|
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
-
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
-
|
|
85
|
+
- [**Web API**](#web-api)
|
|
86
|
+
- [**Donate**](#donate)
|
|
87
|
+
- [Table of Contents](#table-of-contents)
|
|
88
|
+
- [Installation](#installation)
|
|
89
|
+
- [Basic Usage](#basic-usage)
|
|
90
|
+
- [Generate a SVG Chart](#generate-a-svg-chart)
|
|
91
|
+
- [Birth Chart](#birth-chart)
|
|
92
|
+
- [External Birth Chart](#external-birth-chart)
|
|
93
|
+
- [Synastry Chart](#synastry-chart)
|
|
94
|
+
- [Transit Chart](#transit-chart)
|
|
95
|
+
- [Composite Chart](#composite-chart)
|
|
96
|
+
- [Wheel Only Charts](#wheel-only-charts)
|
|
97
|
+
- [Birth Chart](#birth-chart-1)
|
|
98
|
+
- [Wheel Only Birth Chart (External)](#wheel-only-birth-chart-external)
|
|
99
|
+
- [Synastry Chart](#synastry-chart-1)
|
|
100
|
+
- [Change the Output Directory](#change-the-output-directory)
|
|
101
|
+
- [Change Language](#change-language)
|
|
102
|
+
- [SVG without CSS Variables](#svg-without-css-variables)
|
|
103
|
+
- [Grid Only SVG](#grid-only-svg)
|
|
104
|
+
- [Report Generator](#report-generator)
|
|
105
|
+
- [Quick Examples](#quick-examples)
|
|
106
|
+
- [Section Access](#section-access)
|
|
107
|
+
- [Example: Retrieving Aspects](#example-retrieving-aspects)
|
|
108
|
+
- [Element \& Quality Distribution Strategies](#element--quality-distribution-strategies)
|
|
109
|
+
- [Ayanamsa (Sidereal Modes)](#ayanamsa-sidereal-modes)
|
|
110
|
+
- [House Systems](#house-systems)
|
|
111
|
+
- [Perspective Type](#perspective-type)
|
|
112
|
+
- [Themes](#themes)
|
|
113
|
+
- [Alternative Initialization](#alternative-initialization)
|
|
114
|
+
- [Lunar Nodes (Rahu \& Ketu)](#lunar-nodes-rahu--ketu)
|
|
115
|
+
- [JSON Support](#json-support)
|
|
116
|
+
- [Auto Generated Documentation](#auto-generated-documentation)
|
|
117
|
+
- [Development](#development)
|
|
118
|
+
- [Kerykeion v5.0 – What's New](#kerykeion-v50--whats-new)
|
|
119
|
+
- [🎯 Key Highlights](#-key-highlights)
|
|
120
|
+
- [Factory-Centered Architecture](#factory-centered-architecture)
|
|
121
|
+
- [Pydantic 2 Models \& Type Safety](#pydantic-2-models--type-safety)
|
|
122
|
+
- [Enhanced Features](#enhanced-features)
|
|
123
|
+
- [🚨 Breaking Changes](#-breaking-changes)
|
|
124
|
+
- [1. Removed Legacy Classes](#1-removed-legacy-classes)
|
|
125
|
+
- [2. Import Changes](#2-import-changes)
|
|
126
|
+
- [3. Type Aliases Unified](#3-type-aliases-unified)
|
|
127
|
+
- [4. Lunar Nodes Naming](#4-lunar-nodes-naming)
|
|
128
|
+
- [5. Axis Orb Filtering](#5-axis-orb-filtering)
|
|
129
|
+
- [6. Chart Generation Changes](#6-chart-generation-changes)
|
|
130
|
+
- [7. Aspects API Changes](#7-aspects-api-changes)
|
|
131
|
+
- [🔄 Migration Guide](#-migration-guide)
|
|
132
|
+
- [Using the Backward Compatibility Layer](#using-the-backward-compatibility-layer)
|
|
133
|
+
- [Step-by-Step Migration](#step-by-step-migration)
|
|
134
|
+
- [Automated Migration Script](#automated-migration-script)
|
|
135
|
+
- [📦 Other Notable Changes](#-other-notable-changes)
|
|
136
|
+
- [🎨 New Themes](#-new-themes)
|
|
137
|
+
- [📚 Resources](#-resources)
|
|
138
|
+
- [Integrating Kerykeion into Your Project](#integrating-kerykeion-into-your-project)
|
|
139
|
+
- [License](#license)
|
|
140
|
+
- [Contributing](#contributing)
|
|
141
|
+
- [Citations](#citations)
|
|
147
142
|
|
|
148
143
|
## Installation
|
|
149
144
|
|
|
@@ -216,7 +211,7 @@ birth_chart_svg.save_svg()
|
|
|
216
211
|
```
|
|
217
212
|
|
|
218
213
|
The SVG file will be saved in the home directory.
|
|
219
|
-

|
|
220
215
|
|
|
221
216
|
### External Birth Chart
|
|
222
217
|
|
|
@@ -236,7 +231,7 @@ birth_chart_svg = ChartDrawer(chart_data=chart_data)
|
|
|
236
231
|
birth_chart_svg.save_svg()
|
|
237
232
|
```
|
|
238
233
|
|
|
239
|
-

|
|
240
235
|
|
|
241
236
|
### Synastry Chart
|
|
242
237
|
|
|
@@ -278,7 +273,7 @@ transit_chart = ChartDrawer(chart_data=chart_data)
|
|
|
278
273
|
transit_chart.save_svg()
|
|
279
274
|
```
|
|
280
275
|
|
|
281
|
-

|
|
282
277
|
|
|
283
278
|
### Composite Chart
|
|
284
279
|
|
|
@@ -304,7 +299,7 @@ composite_chart = ChartDrawer(chart_data=chart_data)
|
|
|
304
299
|
composite_chart.save_svg()
|
|
305
300
|
```
|
|
306
301
|
|
|
307
|
-

|
|
308
303
|
|
|
309
304
|
## Wheel Only Charts
|
|
310
305
|
|
|
@@ -328,7 +323,7 @@ birth_chart_svg = ChartDrawer(chart_data=chart_data)
|
|
|
328
323
|
birth_chart_svg.save_wheel_only_svg_file()
|
|
329
324
|
```
|
|
330
325
|
|
|
331
|
-

|
|
332
327
|
|
|
333
328
|
### Wheel Only Birth Chart (External)
|
|
334
329
|
|
|
@@ -351,7 +346,7 @@ birth_chart_svg.save_wheel_only_svg_file(
|
|
|
351
346
|
)
|
|
352
347
|
```
|
|
353
348
|
|
|
354
|
-

|
|
355
350
|
|
|
356
351
|
### Synastry Chart
|
|
357
352
|
|
|
@@ -372,7 +367,7 @@ synastry_chart = ChartDrawer(chart_data=chart_data)
|
|
|
372
367
|
synastry_chart.save_wheel_only_svg_file()
|
|
373
368
|
```
|
|
374
369
|
|
|
375
|
-

|
|
376
371
|
|
|
377
372
|
### Change the Output Directory
|
|
378
373
|
|
|
@@ -518,7 +513,7 @@ aspect_grid_chart = ChartDrawer(chart_data=chart_data, theme="dark")
|
|
|
518
513
|
aspect_grid_chart.save_aspect_grid_only_svg_file()
|
|
519
514
|
```
|
|
520
515
|
|
|
521
|
-

|
|
522
517
|
|
|
523
518
|
## Report Generator
|
|
524
519
|
|
|
@@ -926,16 +921,42 @@ Module structure has been completely reorganized:
|
|
|
926
921
|
```python
|
|
927
922
|
from kerykeion import AstrologicalSubject, KerykeionChartSVG
|
|
928
923
|
from kerykeion.kr_types import KerykeionException
|
|
924
|
+
from kerykeion.kr_types.kr_literals import Planet, AxialCusps
|
|
929
925
|
```
|
|
930
926
|
|
|
931
927
|
**New imports (v5):**
|
|
932
928
|
|
|
933
929
|
```python
|
|
934
930
|
from kerykeion import AstrologicalSubjectFactory, ChartDataFactory, ChartDrawer
|
|
935
|
-
from kerykeion.schemas
|
|
931
|
+
from kerykeion.schemas import KerykeionException
|
|
932
|
+
from kerykeion.schemas.kr_literals import AstrologicalPoint
|
|
933
|
+
```
|
|
934
|
+
|
|
935
|
+
**Backward compatibility (v5 only, removed in v6.0):**
|
|
936
|
+
|
|
937
|
+
```python
|
|
938
|
+
# Old kr_types imports still work with deprecation warnings
|
|
939
|
+
from kerykeion.kr_types import Planet, AxialCusps # Shows warning
|
|
940
|
+
from kerykeion.schemas import Planet, AxialCusps # Works, no warning
|
|
941
|
+
```
|
|
942
|
+
|
|
943
|
+
#### 3. Type Aliases Unified
|
|
944
|
+
|
|
945
|
+
**Old (v4):** `Planet` and `AxialCusps` were separate types
|
|
946
|
+
**New (v5):** Unified as `AstrologicalPoint`
|
|
947
|
+
|
|
948
|
+
```python
|
|
949
|
+
# v4
|
|
950
|
+
from kerykeion.kr_types.kr_literals import Planet, AxialCusps
|
|
951
|
+
|
|
952
|
+
# v5 (recommended)
|
|
953
|
+
from kerykeion.schemas.kr_literals import AstrologicalPoint
|
|
954
|
+
|
|
955
|
+
# v5 (transition, uses aliases)
|
|
956
|
+
from kerykeion.schemas import Planet, AxialCusps # Still available
|
|
936
957
|
```
|
|
937
958
|
|
|
938
|
-
####
|
|
959
|
+
#### 4. Lunar Nodes Naming
|
|
939
960
|
|
|
940
961
|
All lunar node fields have been renamed for clarity:
|
|
941
962
|
|
|
@@ -956,11 +977,11 @@ print(subject.mean_node)
|
|
|
956
977
|
print(subject.mean_north_lunar_node)
|
|
957
978
|
```
|
|
958
979
|
|
|
959
|
-
####
|
|
980
|
+
#### 5. Axis Orb Filtering
|
|
960
981
|
|
|
961
982
|
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
983
|
|
|
963
|
-
####
|
|
984
|
+
#### 6. Chart Generation Changes
|
|
964
985
|
|
|
965
986
|
The two-step process (data + rendering) is now required:
|
|
966
987
|
|
|
@@ -979,7 +1000,7 @@ drawer = ChartDrawer(chart_data=chart_data)
|
|
|
979
1000
|
drawer.save_svg()
|
|
980
1001
|
```
|
|
981
1002
|
|
|
982
|
-
####
|
|
1003
|
+
#### 7. Aspects API Changes
|
|
983
1004
|
|
|
984
1005
|
Aspects are now calculated through the factory:
|
|
985
1006
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
kerykeion/__init__.py,sha256=7gI_kWXhsmEK4SvNV6CkRmI0yjA3r7EO8UfQc_44UZU,1963
|
|
2
2
|
kerykeion/astrological_subject_factory.py,sha256=KaNuPSgVOgAva9z83fTuCpvIfEm3hsJro-z_mFPU1Q4,94604
|
|
3
|
-
kerykeion/backword.py,sha256=
|
|
3
|
+
kerykeion/backword.py,sha256=B4hBXpQvNcDStcJmJE8jhDnLajstkIUWjfc19J_3T1g,32530
|
|
4
4
|
kerykeion/chart_data_factory.py,sha256=ud0qjGT45NJyJAkd_Xrb3Zq2qU2QVAyU6MvidR0jeqQ,25024
|
|
5
5
|
kerykeion/composite_subject_factory.py,sha256=eUtjThDlYr6SQsEi02_CgO1kEMUMYgQGzR5rX91GEwY,17120
|
|
6
6
|
kerykeion/ephemeris_data_factory.py,sha256=uwEhVqqkB56HbxKueMAvSAbEKkYTJ9GH3mVLDNxIQnc,20358
|
|
@@ -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.1.dist-info/METADATA,sha256=Pe4u6mLgq8zkgTEbUT93N4E4tA4hmdqTjHlx4U_pFBQ,44502
|
|
61
|
+
kerykeion-5.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
62
|
+
kerykeion-5.0.1.dist-info/licenses/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
|
|
63
|
+
kerykeion-5.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|