kerykeion 5.0.0a9__py3-none-any.whl → 5.1.8__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/__init__.py +50 -9
- kerykeion/aspects/__init__.py +5 -2
- kerykeion/aspects/aspects_factory.py +568 -0
- kerykeion/aspects/aspects_utils.py +78 -11
- kerykeion/astrological_subject_factory.py +1032 -275
- kerykeion/backword.py +820 -0
- kerykeion/chart_data_factory.py +552 -0
- kerykeion/charts/chart_drawer.py +2661 -0
- kerykeion/charts/charts_utils.py +652 -399
- kerykeion/charts/draw_planets.py +603 -353
- kerykeion/charts/templates/aspect_grid_only.xml +326 -198
- kerykeion/charts/templates/chart.xml +306 -256
- kerykeion/charts/templates/wheel_only.xml +330 -200
- kerykeion/charts/themes/black-and-white.css +148 -0
- kerykeion/charts/themes/classic.css +11 -0
- kerykeion/charts/themes/dark-high-contrast.css +11 -0
- kerykeion/charts/themes/dark.css +11 -0
- kerykeion/charts/themes/light.css +11 -0
- kerykeion/charts/themes/strawberry.css +10 -0
- kerykeion/composite_subject_factory.py +232 -13
- kerykeion/ephemeris_data_factory.py +443 -0
- kerykeion/fetch_geonames.py +78 -21
- kerykeion/house_comparison/__init__.py +4 -1
- kerykeion/house_comparison/house_comparison_factory.py +52 -19
- kerykeion/house_comparison/house_comparison_utils.py +37 -9
- kerykeion/kr_types/__init__.py +66 -6
- kerykeion/kr_types/chart_template_model.py +20 -0
- kerykeion/kr_types/kerykeion_exception.py +15 -9
- kerykeion/kr_types/kr_literals.py +14 -160
- kerykeion/kr_types/kr_models.py +14 -291
- kerykeion/kr_types/settings_models.py +15 -167
- kerykeion/planetary_return_factory.py +545 -40
- kerykeion/relationship_score_factory.py +137 -63
- kerykeion/report.py +749 -64
- kerykeion/schemas/__init__.py +106 -0
- kerykeion/schemas/chart_template_model.py +367 -0
- kerykeion/schemas/kerykeion_exception.py +20 -0
- kerykeion/schemas/kr_literals.py +181 -0
- kerykeion/schemas/kr_models.py +603 -0
- kerykeion/schemas/settings_models.py +188 -0
- kerykeion/settings/__init__.py +20 -1
- kerykeion/settings/chart_defaults.py +444 -0
- kerykeion/settings/config_constants.py +88 -12
- kerykeion/settings/kerykeion_settings.py +32 -75
- kerykeion/settings/translation_strings.py +1499 -0
- kerykeion/settings/translations.py +74 -0
- kerykeion/sweph/ast136/s136108s.se1 +0 -0
- kerykeion/sweph/ast136/s136199s.se1 +0 -0
- kerykeion/sweph/ast136/s136472s.se1 +0 -0
- kerykeion/sweph/ast28/se28978s.se1 +0 -0
- kerykeion/sweph/ast50/se50000s.se1 +0 -0
- kerykeion/sweph/ast90/se90377s.se1 +0 -0
- kerykeion/sweph/ast90/se90482s.se1 +0 -0
- kerykeion/sweph/sefstars.txt +1602 -0
- kerykeion/transits_time_range_factory.py +302 -0
- kerykeion/utilities.py +289 -204
- kerykeion-5.1.8.dist-info/METADATA +1793 -0
- kerykeion-5.1.8.dist-info/RECORD +63 -0
- kerykeion/aspects/natal_aspects.py +0 -181
- kerykeion/aspects/synastry_aspects.py +0 -141
- kerykeion/aspects/transits_time_range.py +0 -41
- kerykeion/charts/draw_planets_v2.py +0 -649
- kerykeion/charts/draw_planets_v3.py +0 -679
- kerykeion/charts/kerykeion_chart_svg.py +0 -2038
- kerykeion/enums.py +0 -57
- kerykeion/ephemeris_data.py +0 -238
- kerykeion/house_comparison/house_comparison_models.py +0 -38
- kerykeion/kr_types/chart_types.py +0 -106
- kerykeion/settings/kr.config.json +0 -1304
- kerykeion/settings/legacy/__init__.py +0 -0
- kerykeion/settings/legacy/legacy_celestial_points_settings.py +0 -299
- kerykeion/settings/legacy/legacy_chart_aspects_settings.py +0 -71
- kerykeion/settings/legacy/legacy_color_settings.py +0 -42
- kerykeion/transits_time_range.py +0 -128
- kerykeion-5.0.0a9.dist-info/METADATA +0 -636
- kerykeion-5.0.0a9.dist-info/RECORD +0 -55
- kerykeion-5.0.0a9.dist-info/entry_points.txt +0 -2
- {kerykeion-5.0.0a9.dist-info → kerykeion-5.1.8.dist-info}/WHEEL +0 -0
- {kerykeion-5.0.0a9.dist-info → kerykeion-5.1.8.dist-info}/licenses/LICENSE +0 -0
|
File without changes
|
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
This is a legacy settings file, do not change it!
|
|
3
|
-
"""
|
|
4
|
-
DEFAULT_CELESTIAL_POINTS_SETTINGS = [
|
|
5
|
-
{
|
|
6
|
-
"id": 0,
|
|
7
|
-
"name": "Sun",
|
|
8
|
-
"color": "var(--kerykeion-chart-color-sun)",
|
|
9
|
-
"element_points": 40,
|
|
10
|
-
"label": "Sun"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"id": 1,
|
|
14
|
-
"name": "Moon",
|
|
15
|
-
"color": "var(--kerykeion-chart-color-moon)",
|
|
16
|
-
"element_points": 40,
|
|
17
|
-
"label": "Moon"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"id": 2,
|
|
21
|
-
"name": "Mercury",
|
|
22
|
-
"color": "var(--kerykeion-chart-color-mercury)",
|
|
23
|
-
"element_points": 15,
|
|
24
|
-
"label": "Mercury"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"id": 3,
|
|
28
|
-
"name": "Venus",
|
|
29
|
-
"color": "var(--kerykeion-chart-color-venus)",
|
|
30
|
-
"element_points": 15,
|
|
31
|
-
"label": "Venus"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"id": 4,
|
|
35
|
-
"name": "Mars",
|
|
36
|
-
"color": "var(--kerykeion-chart-color-mars)",
|
|
37
|
-
"element_points": 15,
|
|
38
|
-
"label": "Mars"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"id": 5,
|
|
42
|
-
"name": "Jupiter",
|
|
43
|
-
"color": "var(--kerykeion-chart-color-jupiter)",
|
|
44
|
-
"element_points": 10,
|
|
45
|
-
"label": "Jupiter"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"id": 6,
|
|
49
|
-
"name": "Saturn",
|
|
50
|
-
"color": "var(--kerykeion-chart-color-saturn)",
|
|
51
|
-
"element_points": 10,
|
|
52
|
-
"label": "Saturn"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"id": 7,
|
|
56
|
-
"name": "Uranus",
|
|
57
|
-
"color": "var(--kerykeion-chart-color-uranus)",
|
|
58
|
-
"element_points": 10,
|
|
59
|
-
"label": "Uranus"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"id": 8,
|
|
63
|
-
"name": "Neptune",
|
|
64
|
-
"color": "var(--kerykeion-chart-color-neptune)",
|
|
65
|
-
"element_points": 10,
|
|
66
|
-
"label": "Neptune"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"id": 9,
|
|
70
|
-
"name": "Pluto",
|
|
71
|
-
"color": "var(--kerykeion-chart-color-pluto)",
|
|
72
|
-
"element_points": 10,
|
|
73
|
-
"label": "Pluto"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"id": 10,
|
|
77
|
-
"name": "Mean_Node",
|
|
78
|
-
"color": "var(--kerykeion-chart-color-mean-node)",
|
|
79
|
-
"element_points": 0,
|
|
80
|
-
"label": "Mean_Node"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"id": 11,
|
|
84
|
-
"name": "True_Node",
|
|
85
|
-
"color": "var(--kerykeion-chart-color-true-node)",
|
|
86
|
-
"element_points": 0,
|
|
87
|
-
"label": "True_Node"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"id": 12,
|
|
91
|
-
"name": "Chiron",
|
|
92
|
-
"color": "var(--kerykeion-chart-color-chiron)",
|
|
93
|
-
"element_points": 0,
|
|
94
|
-
"label": "Chiron"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"id": 13,
|
|
98
|
-
"name": "Ascendant",
|
|
99
|
-
"color": "var(--kerykeion-chart-color-first-house)",
|
|
100
|
-
"element_points": 40,
|
|
101
|
-
"label": "Asc"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"id": 14,
|
|
105
|
-
"name": "Medium_Coeli",
|
|
106
|
-
"color": "var(--kerykeion-chart-color-tenth-house)",
|
|
107
|
-
"element_points": 20,
|
|
108
|
-
"label": "Mc"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"id": 15,
|
|
112
|
-
"name": "Descendant",
|
|
113
|
-
"color": "var(--kerykeion-chart-color-seventh-house)",
|
|
114
|
-
"element_points": 0,
|
|
115
|
-
"label": "Dsc"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"id": 16,
|
|
119
|
-
"name": "Imum_Coeli",
|
|
120
|
-
"color": "var(--kerykeion-chart-color-fourth-house)",
|
|
121
|
-
"element_points": 0,
|
|
122
|
-
"label": "Ic"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"id": 17,
|
|
126
|
-
"name": "Mean_Lilith",
|
|
127
|
-
"color": "var(--kerykeion-chart-color-mean-lilith)",
|
|
128
|
-
"element_points": 0,
|
|
129
|
-
"label": "Mean_Lilith"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"id": 18,
|
|
133
|
-
"name": "Mean_South_Node",
|
|
134
|
-
"color": "var(--kerykeion-chart-color-mean-node)",
|
|
135
|
-
"element_points": 0,
|
|
136
|
-
"label": "Mean_South_Node"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"id": 19,
|
|
140
|
-
"name": "True_South_Node",
|
|
141
|
-
"color": "var(--kerykeion-chart-color-true-node)",
|
|
142
|
-
"element_points": 0,
|
|
143
|
-
"label": "True_South_Node"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"id": 20,
|
|
147
|
-
"name": "True_Lilith",
|
|
148
|
-
"color": "var(--kerykeion-chart-color-mean-lilith)",
|
|
149
|
-
"element_points": 0,
|
|
150
|
-
"label": "True_Lilith"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"id": 21,
|
|
154
|
-
"name": "Earth",
|
|
155
|
-
"color": "var(--kerykeion-chart-color-earth)",
|
|
156
|
-
"element_points": 0,
|
|
157
|
-
"label": "Earth"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"id": 22,
|
|
161
|
-
"name": "Pholus",
|
|
162
|
-
"color": "var(--kerykeion-chart-color-pholus)",
|
|
163
|
-
"element_points": 0,
|
|
164
|
-
"label": "Pholus"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"id": 23,
|
|
168
|
-
"name": "Ceres",
|
|
169
|
-
"color": "var(--kerykeion-chart-color-ceres)",
|
|
170
|
-
"element_points": 0,
|
|
171
|
-
"label": "Ceres"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"id": 24,
|
|
175
|
-
"name": "Pallas",
|
|
176
|
-
"color": "var(--kerykeion-chart-color-pallas)",
|
|
177
|
-
"element_points": 0,
|
|
178
|
-
"label": "Pallas"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"id": 25,
|
|
182
|
-
"name": "Juno",
|
|
183
|
-
"color": "var(--kerykeion-chart-color-juno)",
|
|
184
|
-
"element_points": 0,
|
|
185
|
-
"label": "Juno"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"id": 26,
|
|
189
|
-
"name": "Vesta",
|
|
190
|
-
"color": "var(--kerykeion-chart-color-vesta)",
|
|
191
|
-
"element_points": 0,
|
|
192
|
-
"label": "Vesta"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"id": 27,
|
|
196
|
-
"name": "Eris",
|
|
197
|
-
"color": "var(--kerykeion-chart-color-eris)",
|
|
198
|
-
"element_points": 0,
|
|
199
|
-
"label": "Eris"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"id": 28,
|
|
203
|
-
"name": "Sedna",
|
|
204
|
-
"color": "var(--kerykeion-chart-color-sedna)",
|
|
205
|
-
"element_points": 0,
|
|
206
|
-
"label": "Sedna"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"id": 29,
|
|
210
|
-
"name": "Haumea",
|
|
211
|
-
"color": "var(--kerykeion-chart-color-haumea)",
|
|
212
|
-
"element_points": 0,
|
|
213
|
-
"label": "Haumea"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"id": 30,
|
|
217
|
-
"name": "Makemake",
|
|
218
|
-
"color": "var(--kerykeion-chart-color-makemake)",
|
|
219
|
-
"element_points": 0,
|
|
220
|
-
"label": "Makemake"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"id": 31,
|
|
224
|
-
"name": "Ixion",
|
|
225
|
-
"color": "var(--kerykeion-chart-color-ixion)",
|
|
226
|
-
"element_points": 0,
|
|
227
|
-
"label": "Ixion"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"id": 32,
|
|
231
|
-
"name": "Orcus",
|
|
232
|
-
"color": "var(--kerykeion-chart-color-orcus)",
|
|
233
|
-
"element_points": 0,
|
|
234
|
-
"label": "Orcus"
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"id": 33,
|
|
238
|
-
"name": "Quaoar",
|
|
239
|
-
"color": "var(--kerykeion-chart-color-quaoar)",
|
|
240
|
-
"element_points": 0,
|
|
241
|
-
"label": "Quaoar"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"id": 34,
|
|
245
|
-
"name": "Regulus",
|
|
246
|
-
"color": "var(--kerykeion-chart-color-regulus)",
|
|
247
|
-
"element_points": 0,
|
|
248
|
-
"label": "Regulus"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"id": 35,
|
|
252
|
-
"name": "Spica",
|
|
253
|
-
"color": "var(--kerykeion-chart-color-spica)",
|
|
254
|
-
"element_points": 0,
|
|
255
|
-
"label": "Spica"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"id": 36,
|
|
259
|
-
"name": "Pars_Fortunae",
|
|
260
|
-
"color": "var(--kerykeion-chart-color-pars-fortunae)",
|
|
261
|
-
"element_points": 5,
|
|
262
|
-
"label": "Fortune"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"id": 37,
|
|
266
|
-
"name": "Pars_Spiritus",
|
|
267
|
-
"color": "var(--kerykeion-chart-color-pars-spiritus)",
|
|
268
|
-
"element_points": 0,
|
|
269
|
-
"label": "Spirit"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"id": 38,
|
|
273
|
-
"name": "Pars_Amoris",
|
|
274
|
-
"color": "var(--kerykeion-chart-color-pars-amoris)",
|
|
275
|
-
"element_points": 0,
|
|
276
|
-
"label": "Love"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"id": 39,
|
|
280
|
-
"name": "Pars_Fidei",
|
|
281
|
-
"color": "var(--kerykeion-chart-color-pars-fidei)",
|
|
282
|
-
"element_points": 0,
|
|
283
|
-
"label": "Faith"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"id": 40,
|
|
287
|
-
"name": "Vertex",
|
|
288
|
-
"color": "var(--kerykeion-chart-color-vertex)",
|
|
289
|
-
"element_points": 0,
|
|
290
|
-
"label": "Vertex"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"id": 41,
|
|
294
|
-
"name": "Anti_Vertex",
|
|
295
|
-
"color": "var(--kerykeion-chart-color-anti-vertex)",
|
|
296
|
-
"element_points": 0,
|
|
297
|
-
"label": "Anti_Vertex"
|
|
298
|
-
}
|
|
299
|
-
]
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
This is a legacy settings file, do not change it!
|
|
3
|
-
"""
|
|
4
|
-
DEFAULT_CHART_ASPECTS_SETTINGS = [
|
|
5
|
-
{
|
|
6
|
-
"degree": 0,
|
|
7
|
-
"name": "conjunction",
|
|
8
|
-
"is_major": True,
|
|
9
|
-
"color": "var(--kerykeion-chart-color-conjunction)"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"degree": 30,
|
|
13
|
-
"name": "semi-sextile",
|
|
14
|
-
"is_major": False,
|
|
15
|
-
"color": "var(--kerykeion-chart-color-semi-sextile)"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"degree": 45,
|
|
19
|
-
"name": "semi-square",
|
|
20
|
-
"is_major": False,
|
|
21
|
-
"color": "var(--kerykeion-chart-color-semi-square)"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"degree": 60,
|
|
25
|
-
"name": "sextile",
|
|
26
|
-
"is_major": True,
|
|
27
|
-
"color": "var(--kerykeion-chart-color-sextile)"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"degree": 72,
|
|
31
|
-
"name": "quintile",
|
|
32
|
-
"is_major": False,
|
|
33
|
-
"color": "var(--kerykeion-chart-color-quintile)"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"degree": 90,
|
|
37
|
-
"name": "square",
|
|
38
|
-
"is_major": True,
|
|
39
|
-
"color": "var(--kerykeion-chart-color-square)"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"degree": 120,
|
|
43
|
-
"name": "trine",
|
|
44
|
-
"is_major": True,
|
|
45
|
-
"color": "var(--kerykeion-chart-color-trine)"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"degree": 135,
|
|
49
|
-
"name": "sesquiquadrate",
|
|
50
|
-
"is_major": False,
|
|
51
|
-
"color": "var(--kerykeion-chart-color-sesquiquadrate)"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"degree": 144,
|
|
55
|
-
"name": "biquintile",
|
|
56
|
-
"is_major": False,
|
|
57
|
-
"color": "var(--kerykeion-chart-color-biquintile)"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"degree": 150,
|
|
61
|
-
"name": "quincunx",
|
|
62
|
-
"is_major": False,
|
|
63
|
-
"color": "var(--kerykeion-chart-color-quincunx)"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"degree": 180,
|
|
67
|
-
"name": "opposition",
|
|
68
|
-
"is_major": True,
|
|
69
|
-
"color": "var(--kerykeion-chart-color-opposition)"
|
|
70
|
-
}
|
|
71
|
-
]
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
This is a legacy settings file, do not change it!
|
|
3
|
-
"""
|
|
4
|
-
DEFAULT_CHART_COLORS = {
|
|
5
|
-
"paper_0": "var(--kerykeion-chart-color-paper-0)",
|
|
6
|
-
"paper_1": "var(--kerykeion-chart-color-paper-1)",
|
|
7
|
-
"zodiac_bg_0": "var(--kerykeion-chart-color-zodiac-bg-0)",
|
|
8
|
-
"zodiac_bg_1": "var(--kerykeion-chart-color-zodiac-bg-1)",
|
|
9
|
-
"zodiac_bg_2": "var(--kerykeion-chart-color-zodiac-bg-2)",
|
|
10
|
-
"zodiac_bg_3": "var(--kerykeion-chart-color-zodiac-bg-3)",
|
|
11
|
-
"zodiac_bg_4": "var(--kerykeion-chart-color-zodiac-bg-4)",
|
|
12
|
-
"zodiac_bg_5": "var(--kerykeion-chart-color-zodiac-bg-5)",
|
|
13
|
-
"zodiac_bg_6": "var(--kerykeion-chart-color-zodiac-bg-6)",
|
|
14
|
-
"zodiac_bg_7": "var(--kerykeion-chart-color-zodiac-bg-7)",
|
|
15
|
-
"zodiac_bg_8": "var(--kerykeion-chart-color-zodiac-bg-8)",
|
|
16
|
-
"zodiac_bg_9": "var(--kerykeion-chart-color-zodiac-bg-9)",
|
|
17
|
-
"zodiac_bg_10": "var(--kerykeion-chart-color-zodiac-bg-10)",
|
|
18
|
-
"zodiac_bg_11": "var(--kerykeion-chart-color-zodiac-bg-11)",
|
|
19
|
-
"zodiac_icon_0": "var(--kerykeion-chart-color-zodiac-icon-0)",
|
|
20
|
-
"zodiac_icon_1": "var(--kerykeion-chart-color-zodiac-icon-1)",
|
|
21
|
-
"zodiac_icon_2": "var(--kerykeion-chart-color-zodiac-icon-2)",
|
|
22
|
-
"zodiac_icon_3": "var(--kerykeion-chart-color-zodiac-icon-3)",
|
|
23
|
-
"zodiac_icon_4": "var(--kerykeion-chart-color-zodiac-icon-4)",
|
|
24
|
-
"zodiac_icon_5": "var(--kerykeion-chart-color-zodiac-icon-5)",
|
|
25
|
-
"zodiac_icon_6": "var(--kerykeion-chart-color-zodiac-icon-6)",
|
|
26
|
-
"zodiac_icon_7": "var(--kerykeion-chart-color-zodiac-icon-7)",
|
|
27
|
-
"zodiac_icon_8": "var(--kerykeion-chart-color-zodiac-icon-8)",
|
|
28
|
-
"zodiac_icon_9": "var(--kerykeion-chart-color-zodiac-icon-9)",
|
|
29
|
-
"zodiac_icon_10": "var(--kerykeion-chart-color-zodiac-icon-10)",
|
|
30
|
-
"zodiac_icon_11": "var(--kerykeion-chart-color-zodiac-icon-11)",
|
|
31
|
-
"zodiac_radix_ring_0": "var(--kerykeion-chart-color-zodiac-radix-ring-0)",
|
|
32
|
-
"zodiac_radix_ring_1": "var(--kerykeion-chart-color-zodiac-radix-ring-1)",
|
|
33
|
-
"zodiac_radix_ring_2": "var(--kerykeion-chart-color-zodiac-radix-ring-2)",
|
|
34
|
-
"zodiac_transit_ring_0": "var(--kerykeion-chart-color-zodiac-transit-ring-0)",
|
|
35
|
-
"zodiac_transit_ring_1": "var(--kerykeion-chart-color-zodiac-transit-ring-1)",
|
|
36
|
-
"zodiac_transit_ring_2": "var(--kerykeion-chart-color-zodiac-transit-ring-2)",
|
|
37
|
-
"zodiac_transit_ring_3": "var(--kerykeion-chart-color-zodiac-transit-ring-3)",
|
|
38
|
-
"houses_radix_line": "var(--kerykeion-chart-color-houses-radix-line)",
|
|
39
|
-
"houses_transit_line": "var(--kerykeion-chart-color-houses-transit-line)",
|
|
40
|
-
"lunar_phase_0": "var(--kerykeion-chart-color-lunar-phase-0)",
|
|
41
|
-
"lunar_phase_1": "var(--kerykeion-chart-color-lunar-phase-1)",
|
|
42
|
-
}
|
kerykeion/transits_time_range.py
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
from typing import Optional, Union, List
|
|
2
|
-
from datetime import datetime, timedelta
|
|
3
|
-
from kerykeion.kr_types.kr_models import AstrologicalSubjectModel
|
|
4
|
-
from kerykeion.astrological_subject_factory import AstrologicalSubjectFactory
|
|
5
|
-
from kerykeion.aspects import SynastryAspects
|
|
6
|
-
from kerykeion.ephemeris_data import EphemerisDataFactory
|
|
7
|
-
from kerykeion.kr_types.kr_literals import AstrologicalPoint
|
|
8
|
-
from kerykeion.kr_types.kr_models import ActiveAspect, TransitMomentModel, TransitsTimeRangeModel
|
|
9
|
-
from kerykeion.kr_types.settings_models import KerykeionSettingsModel
|
|
10
|
-
from kerykeion.settings.config_constants import DEFAULT_ACTIVE_POINTS, DEFAULT_ACTIVE_ASPECTS
|
|
11
|
-
from pathlib import Path
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class TransitsTimeRangeFactory:
|
|
15
|
-
"""
|
|
16
|
-
Factory class for generating astrological transit data over a period of time.
|
|
17
|
-
|
|
18
|
-
This class compares the positions of celestial bodies at different points in time
|
|
19
|
-
with the natal chart of an astrological subject to identify significant aspects
|
|
20
|
-
and produces structured models containing the transit data.
|
|
21
|
-
|
|
22
|
-
Attributes:
|
|
23
|
-
natal_chart: The natal chart of the subject for whom transits are calculated.
|
|
24
|
-
ephemeris_data_points: List of ephemeris data points representing planetary positions at different times.
|
|
25
|
-
active_points: List of celestial points to consider when calculating aspects.
|
|
26
|
-
active_aspects: List of aspect types to consider when analyzing planetary relationships.
|
|
27
|
-
settings_file: Path to the settings file or a KerykeionSettingsModel object.
|
|
28
|
-
"""
|
|
29
|
-
|
|
30
|
-
def __init__(
|
|
31
|
-
self,
|
|
32
|
-
natal_chart: AstrologicalSubjectModel,
|
|
33
|
-
ephemeris_data_points: List[AstrologicalSubjectModel],
|
|
34
|
-
active_points: List[AstrologicalPoint] = DEFAULT_ACTIVE_POINTS,
|
|
35
|
-
active_aspects: List[ActiveAspect] = DEFAULT_ACTIVE_ASPECTS,
|
|
36
|
-
settings_file: Union[Path, KerykeionSettingsModel, dict, None] = None,
|
|
37
|
-
):
|
|
38
|
-
"""
|
|
39
|
-
Initialize the TransitMomentsFactory with the necessary data.
|
|
40
|
-
|
|
41
|
-
Args:
|
|
42
|
-
natal_chart: The natal chart of the subject for whom transits are calculated.
|
|
43
|
-
ephemeris_data_points: List of ephemeris data points representing planetary positions at different times.
|
|
44
|
-
active_points: List of celestial points to consider when calculating aspects.
|
|
45
|
-
active_aspects: List of aspect types to consider when analyzing planetary relationships.
|
|
46
|
-
settings_file: Path to the settings file or a KerykeionSettingsModel object.
|
|
47
|
-
"""
|
|
48
|
-
self.natal_chart = natal_chart
|
|
49
|
-
self.ephemeris_data_points = ephemeris_data_points
|
|
50
|
-
self.active_points = active_points
|
|
51
|
-
self.active_aspects = active_aspects
|
|
52
|
-
self.settings_file = settings_file
|
|
53
|
-
|
|
54
|
-
def get_transit_moments(self) -> TransitsTimeRangeModel:
|
|
55
|
-
"""
|
|
56
|
-
Generate a model of transit moments for the given subject across all ephemeris data points.
|
|
57
|
-
|
|
58
|
-
This method compares the positions of celestial bodies at different points in time
|
|
59
|
-
with the natal chart of the subject to identify significant aspects and
|
|
60
|
-
compiles them into a structured model for analysis.
|
|
61
|
-
|
|
62
|
-
Returns:
|
|
63
|
-
TransitMomentsListModel: A model containing all transit data, including aspects,
|
|
64
|
-
dates, and subject information.
|
|
65
|
-
"""
|
|
66
|
-
transit_moments = []
|
|
67
|
-
|
|
68
|
-
for ephemeris_point in self.ephemeris_data_points:
|
|
69
|
-
# Calculate aspects between transit positions and natal chart
|
|
70
|
-
aspects = SynastryAspects(
|
|
71
|
-
ephemeris_point,
|
|
72
|
-
self.natal_chart,
|
|
73
|
-
active_points=self.active_points,
|
|
74
|
-
active_aspects=self.active_aspects,
|
|
75
|
-
new_settings_file=self.settings_file,
|
|
76
|
-
).relevant_aspects
|
|
77
|
-
|
|
78
|
-
# Create a transit moment for this point in time
|
|
79
|
-
transit_moments.append(
|
|
80
|
-
TransitMomentModel(
|
|
81
|
-
date=ephemeris_point.iso_formatted_utc_datetime,
|
|
82
|
-
aspects=aspects,
|
|
83
|
-
)
|
|
84
|
-
)
|
|
85
|
-
|
|
86
|
-
# Create and return the complete transits model
|
|
87
|
-
return TransitsTimeRangeModel(
|
|
88
|
-
dates=[point.iso_formatted_utc_datetime for point in self.ephemeris_data_points],
|
|
89
|
-
subject=self.natal_chart.model(),
|
|
90
|
-
transits=transit_moments
|
|
91
|
-
)
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
if __name__ == "__main__":
|
|
95
|
-
# Create a natal chart for the subject
|
|
96
|
-
person = AstrologicalSubjectFactory.from_birth_data(
|
|
97
|
-
"Johnny Depp", 1963, 6, 9, 20, 15, "Owensboro", "US"
|
|
98
|
-
)
|
|
99
|
-
|
|
100
|
-
# Define the time period for transit calculation
|
|
101
|
-
start_date = datetime.now()
|
|
102
|
-
end_date = datetime.now() + timedelta(days=30)
|
|
103
|
-
|
|
104
|
-
# Create ephemeris data for the specified time period
|
|
105
|
-
ephemeris_factory = EphemerisDataFactory(
|
|
106
|
-
start_datetime=start_date,
|
|
107
|
-
end_datetime=end_date,
|
|
108
|
-
step_type="days",
|
|
109
|
-
step=1,
|
|
110
|
-
lat=person.lat,
|
|
111
|
-
lng=person.lng,
|
|
112
|
-
tz_str=person.tz_str,
|
|
113
|
-
)
|
|
114
|
-
|
|
115
|
-
ephemeris_data_points = ephemeris_factory.get_ephemeris_data_as_astrological_subjects()
|
|
116
|
-
|
|
117
|
-
# Calculate transits for the subject
|
|
118
|
-
transit_factory = TransitsTimeRangeFactory(
|
|
119
|
-
natal_chart=person,
|
|
120
|
-
ephemeris_data_points=ephemeris_data_points,
|
|
121
|
-
)
|
|
122
|
-
|
|
123
|
-
transit_results = transit_factory.get_transit_moments()
|
|
124
|
-
|
|
125
|
-
# Print example data
|
|
126
|
-
print(transit_results.model_dump()["dates"][2])
|
|
127
|
-
print(transit_results.model_dump()["transits"][2]['date'])
|
|
128
|
-
print(transit_results.model_dump()["transits"][2]['aspects'][0])
|