kerykeion 4.25.0__tar.gz → 4.25.2__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.
Potentially problematic release.
This version of kerykeion might be problematic. Click here for more details.
- {kerykeion-4.25.0 → kerykeion-4.25.2}/PKG-INFO +37 -14
- {kerykeion-4.25.0 → kerykeion-4.25.2}/README.md +36 -13
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/charts/kerykeion_chart_svg.py +32 -14
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/kr_types/settings_models.py +72 -26
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/relationship_score/relationship_score_factory.py +7 -54
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/settings/kr.config.json +505 -24
- {kerykeion-4.25.0 → kerykeion-4.25.2}/pyproject.toml +1 -1
- {kerykeion-4.25.0 → kerykeion-4.25.2}/LICENSE +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/__init__.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/aspects/__init__.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/aspects/aspects_utils.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/aspects/natal_aspects.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/aspects/synastry_aspects.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/astrological_subject.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/charts/__init__.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/charts/charts_utils.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/charts/draw_planets.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/charts/templates/aspect_grid_only.xml +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/charts/templates/chart.xml +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/charts/templates/wheel_only.xml +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/charts/themes/classic.css +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/charts/themes/dark-high-contrast.css +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/charts/themes/dark.css +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/charts/themes/light.css +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/composite_subject_factory.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/enums.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/ephemeris_data.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/fetch_geonames.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/kr_types/__init__.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/kr_types/chart_types.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/kr_types/kerykeion_exception.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/kr_types/kr_literals.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/kr_types/kr_models.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/relationship_score/__init__.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/relationship_score/relationship_score.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/report.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/settings/__init__.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/settings/config_constants.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/settings/kerykeion_settings.py +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/sweph/README.md +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/sweph/seas_18.se1 +0 -0
- {kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/utilities.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: kerykeion
|
|
3
|
-
Version: 4.25.
|
|
3
|
+
Version: 4.25.2
|
|
4
4
|
Summary: A python library for astrology.
|
|
5
5
|
Home-page: https://www.kerykeion.net/
|
|
6
6
|
License: AGPL-3.0
|
|
@@ -39,24 +39,15 @@ Description-Content-Type: text/markdown
|
|
|
39
39
|
|
|
40
40
|
<h1 align=center>Kerykeion</h1>
|
|
41
41
|
<div align="center">
|
|
42
|
-
<a href="#">
|
|
43
42
|
<img src="https://img.shields.io/github/contributors/g-battaglia/kerykeion?color=blue&logo=github" alt="contributors">
|
|
44
|
-
</a>
|
|
45
|
-
<a href="#">
|
|
46
43
|
<img src="https://img.shields.io/github/stars/g-battaglia/kerykeion.svg?logo=github" alt="stars">
|
|
47
|
-
</a>
|
|
48
|
-
<a href="#">
|
|
49
44
|
<img src="https://img.shields.io/github/forks/g-battaglia/kerykeion.svg?logo=github" alt="forks">
|
|
50
|
-
|
|
51
|
-
<a href="https://pypi.org/project/kerykeion" target="_blank">
|
|
45
|
+
<img src="https://static.pepy.tech/badge/kerykeion" alt="PyPI Downloads">
|
|
52
46
|
<img src="https://visitor-badge.laobi.icu/badge?page_id=g-battaglia.kerykeion" alt="visitors"/>
|
|
53
|
-
</a>
|
|
54
|
-
<a href="https://pypi.org/project/kerykeion" target="_blank">
|
|
55
47
|
<img src="https://img.shields.io/pypi/v/kerykeion?label=pypi%20package" alt="Package version">
|
|
56
|
-
</a>
|
|
57
|
-
<a href="https://pypi.org/project/kerykeion" target="_blank">
|
|
58
48
|
<img src="https://img.shields.io/pypi/pyversions/kerykeion.svg" alt="Supported Python versions">
|
|
59
|
-
|
|
49
|
+
<img src="https://img.shields.io/github/license/g-battaglia/kerykeion" alt="License">
|
|
50
|
+
|
|
60
51
|
</div>
|
|
61
52
|
|
|
62
53
|
|
|
@@ -71,7 +62,7 @@ The core goal of this project is to provide a simple and easy approach to astrol
|
|
|
71
62
|
|
|
72
63
|
Here's an example of a birthchart:
|
|
73
64
|
|
|
74
|
-

|
|
75
66
|
|
|
76
67
|
## Web API
|
|
77
68
|
|
|
@@ -174,6 +165,38 @@ synastry_chart.makeSVG()
|
|
|
174
165
|
|
|
175
166
|

|
|
176
167
|
|
|
168
|
+
|
|
169
|
+
### Transit Chart
|
|
170
|
+
|
|
171
|
+
```python
|
|
172
|
+
from kerykeion import AstrologicalSubject
|
|
173
|
+
|
|
174
|
+
transit = AstrologicalSubject("Transit", 2025, 6, 8, 8, 45, "Atlanta", "US")
|
|
175
|
+
subject = AstrologicalSubject("John Lennon", 1940, 10, 9, 18, 30, "Liverpool", "GB")
|
|
176
|
+
|
|
177
|
+
transit_chart = KerykeionChartSVG(subject, "Transit", transit)
|
|
178
|
+
transit_chart.makeSVG()
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+

|
|
182
|
+
|
|
183
|
+
### Composite Chart
|
|
184
|
+
|
|
185
|
+
```python
|
|
186
|
+
from kerykeion import CompositeChart, AstrologicalSubject, KerykeionChartSVG
|
|
187
|
+
|
|
188
|
+
angelina = AstrologicalSubject("Angelina Jolie", 1975, 6, 4, 9, 9, "Los Angeles", "US", lng=-118.15, lat=34.03, tz_str="America/Los_Angeles")
|
|
189
|
+
brad = AstrologicalSubject("Brad Pitt", 1963, 12, 18, 6, 31, "Shawnee", "US", lng=-96.56, lat=35.20, tz_str="America/Chicago")
|
|
190
|
+
|
|
191
|
+
composite_subject_factory = CompositeSubjectFactory(angelina, brad)
|
|
192
|
+
composite_subject_model = composite_subject_factory.get_midpoint_composite_subject_model()
|
|
193
|
+
|
|
194
|
+
composite_chart = KerykeionChartSVG(composite_subject_model, "Composite")
|
|
195
|
+
composite_chart.makeSVG()
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+

|
|
199
|
+
|
|
177
200
|
### Change the output directory
|
|
178
201
|
|
|
179
202
|
By default the output directory is the home directory, you can change it by passing the new_output_directory parameter to the KerykeionChartSVG class:
|
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
<h1 align=center>Kerykeion</h1>
|
|
2
2
|
<div align="center">
|
|
3
|
-
<a href="#">
|
|
4
3
|
<img src="https://img.shields.io/github/contributors/g-battaglia/kerykeion?color=blue&logo=github" alt="contributors">
|
|
5
|
-
</a>
|
|
6
|
-
<a href="#">
|
|
7
4
|
<img src="https://img.shields.io/github/stars/g-battaglia/kerykeion.svg?logo=github" alt="stars">
|
|
8
|
-
</a>
|
|
9
|
-
<a href="#">
|
|
10
5
|
<img src="https://img.shields.io/github/forks/g-battaglia/kerykeion.svg?logo=github" alt="forks">
|
|
11
|
-
|
|
12
|
-
<a href="https://pypi.org/project/kerykeion" target="_blank">
|
|
6
|
+
<img src="https://static.pepy.tech/badge/kerykeion" alt="PyPI Downloads">
|
|
13
7
|
<img src="https://visitor-badge.laobi.icu/badge?page_id=g-battaglia.kerykeion" alt="visitors"/>
|
|
14
|
-
</a>
|
|
15
|
-
<a href="https://pypi.org/project/kerykeion" target="_blank">
|
|
16
8
|
<img src="https://img.shields.io/pypi/v/kerykeion?label=pypi%20package" alt="Package version">
|
|
17
|
-
</a>
|
|
18
|
-
<a href="https://pypi.org/project/kerykeion" target="_blank">
|
|
19
9
|
<img src="https://img.shields.io/pypi/pyversions/kerykeion.svg" alt="Supported Python versions">
|
|
20
|
-
|
|
10
|
+
<img src="https://img.shields.io/github/license/g-battaglia/kerykeion" alt="License">
|
|
11
|
+
|
|
21
12
|
</div>
|
|
22
13
|
|
|
23
14
|
|
|
@@ -32,7 +23,7 @@ The core goal of this project is to provide a simple and easy approach to astrol
|
|
|
32
23
|
|
|
33
24
|
Here's an example of a birthchart:
|
|
34
25
|
|
|
35
|
-

|
|
36
27
|
|
|
37
28
|
## Web API
|
|
38
29
|
|
|
@@ -135,6 +126,38 @@ synastry_chart.makeSVG()
|
|
|
135
126
|
|
|
136
127
|

|
|
137
128
|
|
|
129
|
+
|
|
130
|
+
### Transit Chart
|
|
131
|
+
|
|
132
|
+
```python
|
|
133
|
+
from kerykeion import AstrologicalSubject
|
|
134
|
+
|
|
135
|
+
transit = AstrologicalSubject("Transit", 2025, 6, 8, 8, 45, "Atlanta", "US")
|
|
136
|
+
subject = AstrologicalSubject("John Lennon", 1940, 10, 9, 18, 30, "Liverpool", "GB")
|
|
137
|
+
|
|
138
|
+
transit_chart = KerykeionChartSVG(subject, "Transit", transit)
|
|
139
|
+
transit_chart.makeSVG()
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+

|
|
143
|
+
|
|
144
|
+
### Composite Chart
|
|
145
|
+
|
|
146
|
+
```python
|
|
147
|
+
from kerykeion import CompositeChart, AstrologicalSubject, KerykeionChartSVG
|
|
148
|
+
|
|
149
|
+
angelina = AstrologicalSubject("Angelina Jolie", 1975, 6, 4, 9, 9, "Los Angeles", "US", lng=-118.15, lat=34.03, tz_str="America/Los_Angeles")
|
|
150
|
+
brad = AstrologicalSubject("Brad Pitt", 1963, 12, 18, 6, 31, "Shawnee", "US", lng=-96.56, lat=35.20, tz_str="America/Chicago")
|
|
151
|
+
|
|
152
|
+
composite_subject_factory = CompositeSubjectFactory(angelina, brad)
|
|
153
|
+
composite_subject_model = composite_subject_factory.get_midpoint_composite_subject_model()
|
|
154
|
+
|
|
155
|
+
composite_chart = KerykeionChartSVG(composite_subject_model, "Composite")
|
|
156
|
+
composite_chart.makeSVG()
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+

|
|
160
|
+
|
|
138
161
|
### Change the output directory
|
|
139
162
|
|
|
140
163
|
By default the output directory is the home directory, you can change it by passing the new_output_directory parameter to the KerykeionChartSVG class:
|
|
@@ -185,12 +185,24 @@ class KerykeionChartSVG:
|
|
|
185
185
|
self.t_user = second_obj
|
|
186
186
|
|
|
187
187
|
# Aspects
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
188
|
+
if self.chart_type == "Transit":
|
|
189
|
+
synastry_aspects_instance = SynastryAspects(
|
|
190
|
+
self.t_user,
|
|
191
|
+
self.user,
|
|
192
|
+
new_settings_file=self.new_settings_file,
|
|
193
|
+
active_points=active_points,
|
|
194
|
+
active_aspects=active_aspects,
|
|
195
|
+
)
|
|
196
|
+
|
|
197
|
+
else:
|
|
198
|
+
synastry_aspects_instance = SynastryAspects(
|
|
199
|
+
self.user,
|
|
200
|
+
self.t_user,
|
|
201
|
+
new_settings_file=self.new_settings_file,
|
|
202
|
+
active_points=active_points,
|
|
203
|
+
active_aspects=active_aspects,
|
|
204
|
+
)
|
|
205
|
+
|
|
194
206
|
self.aspects_list = synastry_aspects_instance.relevant_aspects
|
|
195
207
|
|
|
196
208
|
self.t_available_kerykeion_celestial_points = []
|
|
@@ -432,7 +444,13 @@ class KerykeionChartSVG:
|
|
|
432
444
|
template_dict['third_circle'] = draw_third_circle(self.main_radius, self.chart_colors_settings['zodiac_transit_ring_0'], self.chart_colors_settings['paper_1'], self.chart_type, self.third_circle_radius)
|
|
433
445
|
|
|
434
446
|
if self.double_chart_aspect_grid_type == "list":
|
|
435
|
-
|
|
447
|
+
title = ""
|
|
448
|
+
if self.chart_type == "Synastry":
|
|
449
|
+
title = self.language_settings.get("couple_aspects", "Couple Aspects")
|
|
450
|
+
else:
|
|
451
|
+
title = self.language_settings.get("transit_aspects", "Transit Aspects")
|
|
452
|
+
|
|
453
|
+
template_dict["makeAspectGrid"] = draw_transit_aspect_list(title, self.aspects_list, self.planets_settings, self.aspects_settings)
|
|
436
454
|
else:
|
|
437
455
|
template_dict["makeAspectGrid"] = draw_transit_aspect_grid(self.chart_colors_settings['paper_0'], self.available_planets_setting, self.aspects_list, 550, 450)
|
|
438
456
|
|
|
@@ -459,23 +477,23 @@ class KerykeionChartSVG:
|
|
|
459
477
|
|
|
460
478
|
# Zodiac Type Info
|
|
461
479
|
if self.user.zodiac_type == 'Tropic':
|
|
462
|
-
zodiac_info = "
|
|
480
|
+
zodiac_info = f"{self.language_settings.get('zodiac', 'Zodiac')}: {self.language_settings.get('tropical', 'Tropical')}"
|
|
463
481
|
else:
|
|
464
482
|
mode_const = "SIDM_" + self.user.sidereal_mode # type: ignore
|
|
465
483
|
mode_name = swe.get_ayanamsa_name(getattr(swe, mode_const))
|
|
466
|
-
zodiac_info = f"Ayanamsa: {mode_name}"
|
|
484
|
+
zodiac_info = f"{self.language_settings.get('ayanamsa', 'Ayanamsa')}: {mode_name}"
|
|
467
485
|
|
|
468
|
-
template_dict["bottom_left_0"] = f"{self.user.houses_system_name} Houses"
|
|
486
|
+
template_dict["bottom_left_0"] = f"{self.language_settings.get('houses_system_' + self.user.houses_system_identifier, self.user.houses_system_name)} {self.language_settings.get('houses', 'Houses')}"
|
|
469
487
|
template_dict["bottom_left_1"] = zodiac_info
|
|
470
488
|
|
|
471
489
|
if self.chart_type in ["Natal", "ExternalNatal", "Synastry"]:
|
|
472
490
|
template_dict["bottom_left_2"] = f'{self.language_settings.get("lunar_phase", "Lunar Phase")} {self.language_settings.get("day", "Day").lower()}: {self.user.lunar_phase.get("moon_phase", "")}'
|
|
473
|
-
template_dict["bottom_left_3"] = f'{self.language_settings.get("lunar_phase", "Lunar Phase")}: {self.user.lunar_phase.moon_phase_name}'
|
|
474
|
-
template_dict["bottom_left_4"] = f'{self.user.perspective_type}'
|
|
491
|
+
template_dict["bottom_left_3"] = f'{self.language_settings.get("lunar_phase", "Lunar Phase")}: {self.language_settings.get(self.user.lunar_phase.moon_phase_name.lower().replace(" ", "_"), self.user.lunar_phase.moon_phase_name)}'
|
|
492
|
+
template_dict["bottom_left_4"] = f'{self.language_settings.get(self.user.perspective_type.lower().replace(" ", "_"), self.user.perspective_type)}'
|
|
475
493
|
elif self.chart_type == "Transit":
|
|
476
494
|
template_dict["bottom_left_2"] = f'{self.language_settings.get("lunar_phase", "Lunar Phase")}: {self.language_settings.get("day", "Day")} {self.t_user.lunar_phase.get("moon_phase", "")}'
|
|
477
495
|
template_dict["bottom_left_3"] = f'{self.language_settings.get("lunar_phase", "Lunar Phase")}: {self.t_user.lunar_phase.moon_phase_name}'
|
|
478
|
-
template_dict["bottom_left_4"] = f'{self.t_user.perspective_type}'
|
|
496
|
+
template_dict["bottom_left_4"] = f'{self.language_settings.get(self.t_user.perspective_type.lower().replace(" ", "_"), self.t_user.perspective_type)}'
|
|
479
497
|
elif self.chart_type == "Composite":
|
|
480
498
|
template_dict["bottom_left_2"] = f'{self.user.first_subject.perspective_type}'
|
|
481
499
|
template_dict["bottom_left_3"] = f'{self.language_settings.get("composite_chart", "Composite Chart")} - {self.language_settings.get("midpoints", "Midpoints")}'
|
|
@@ -529,7 +547,7 @@ class KerykeionChartSVG:
|
|
|
529
547
|
longitude_string = convert_longitude_coordinate_to_string(self.geolon, self.language_settings['east'], self.language_settings['west'])
|
|
530
548
|
template_dict["top_left_3"] = f"{self.language_settings['latitude']}: {latitude_string}"
|
|
531
549
|
template_dict["top_left_4"] = f"{self.language_settings['longitude']}: {longitude_string}"
|
|
532
|
-
template_dict["top_left_5"] = f"{self.language_settings['type']}: {self.chart_type}"
|
|
550
|
+
template_dict["top_left_5"] = f"{self.language_settings['type']}: {self.language_settings.get(self.chart_type, self.chart_type)}"
|
|
533
551
|
|
|
534
552
|
|
|
535
553
|
# Set paper colors
|
|
@@ -116,33 +116,79 @@ class KerykeionLanguageModel(SubscriptableBaseModel):
|
|
|
116
116
|
it's used to translate the celestial points and the other labels
|
|
117
117
|
"""
|
|
118
118
|
|
|
119
|
-
info: str
|
|
120
|
-
cusp: str
|
|
121
|
-
longitude: str
|
|
122
|
-
latitude: str
|
|
123
|
-
north: str
|
|
124
|
-
east: str
|
|
125
|
-
south: str
|
|
126
|
-
west: str
|
|
127
|
-
fire: str
|
|
128
|
-
earth: str
|
|
129
|
-
air: str
|
|
130
|
-
water: str
|
|
131
|
-
and_word: str
|
|
132
|
-
transits: str
|
|
133
|
-
type: str
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
119
|
+
info: str
|
|
120
|
+
cusp: str
|
|
121
|
+
longitude: str
|
|
122
|
+
latitude: str
|
|
123
|
+
north: str
|
|
124
|
+
east: str
|
|
125
|
+
south: str
|
|
126
|
+
west: str
|
|
127
|
+
fire: str
|
|
128
|
+
earth: str
|
|
129
|
+
air: str
|
|
130
|
+
water: str
|
|
131
|
+
and_word: str
|
|
132
|
+
transits: str
|
|
133
|
+
type: str
|
|
134
|
+
couple_aspects: str
|
|
135
|
+
transit_aspects: str
|
|
136
|
+
planets_and_house: str
|
|
137
|
+
transit_name: str
|
|
138
|
+
lunar_phase: str
|
|
139
|
+
day: str
|
|
139
140
|
celestial_points: KerykeionLanguageCelestialPointModel
|
|
140
|
-
composite_chart: str
|
|
141
|
-
midpoints: str
|
|
142
|
-
north_letter: str
|
|
143
|
-
east_letter: str
|
|
144
|
-
south_letter: str
|
|
145
|
-
west_letter: str
|
|
141
|
+
composite_chart: str
|
|
142
|
+
midpoints: str
|
|
143
|
+
north_letter: str
|
|
144
|
+
east_letter: str
|
|
145
|
+
south_letter: str
|
|
146
|
+
west_letter: str
|
|
147
|
+
tropical: str
|
|
148
|
+
sidereal: str
|
|
149
|
+
zodiac: str
|
|
150
|
+
ayanamsa: str
|
|
151
|
+
apparent_geocentric: str
|
|
152
|
+
heliocentric: str
|
|
153
|
+
topocentric: str
|
|
154
|
+
true_geocentric: str
|
|
155
|
+
new_moon: str
|
|
156
|
+
waxing_crescent: str
|
|
157
|
+
first_quarter: str
|
|
158
|
+
waxing_gibbous: str
|
|
159
|
+
full_moon: str
|
|
160
|
+
waning_gibbous: str
|
|
161
|
+
last_quarter: str
|
|
162
|
+
waning_crescent: str
|
|
163
|
+
houses: str
|
|
164
|
+
houses_system_A: str
|
|
165
|
+
houses_system_B: str
|
|
166
|
+
houses_system_C: str
|
|
167
|
+
houses_system_D: str
|
|
168
|
+
houses_system_F: str
|
|
169
|
+
houses_system_H: str
|
|
170
|
+
houses_system_I: str
|
|
171
|
+
houses_system_i: str
|
|
172
|
+
houses_system_K: str
|
|
173
|
+
houses_system_L: str
|
|
174
|
+
houses_system_M: str
|
|
175
|
+
houses_system_N: str
|
|
176
|
+
houses_system_O: str
|
|
177
|
+
houses_system_P: str
|
|
178
|
+
houses_system_Q: str
|
|
179
|
+
houses_system_R: str
|
|
180
|
+
houses_system_S: str
|
|
181
|
+
houses_system_T: str
|
|
182
|
+
houses_system_U: str
|
|
183
|
+
houses_system_V: str
|
|
184
|
+
houses_system_W: str
|
|
185
|
+
houses_system_X: str
|
|
186
|
+
houses_system_Y: str
|
|
187
|
+
Natal: str
|
|
188
|
+
ExternalNatal: str
|
|
189
|
+
Synastry: str
|
|
190
|
+
Transit: str
|
|
191
|
+
Composite: str
|
|
146
192
|
|
|
147
193
|
|
|
148
194
|
class KerykeionGeneralSettingsModel(SubscriptableBaseModel):
|
{kerykeion-4.25.0 → kerykeion-4.25.2}/kerykeion/relationship_score/relationship_score_factory.py
RENAMED
|
@@ -221,57 +221,10 @@ if __name__ == "__main__":
|
|
|
221
221
|
|
|
222
222
|
setup_logging(level="critical")
|
|
223
223
|
|
|
224
|
-
|
|
225
|
-
yoko = AstrologicalSubject("
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
print(relationship_score.score_value)
|
|
232
|
-
print(relationship_score.score_description)
|
|
233
|
-
print(relationship_score.is_destiny_sign)
|
|
234
|
-
print(len(relationship_score.aspects))
|
|
235
|
-
print(len(relationship_score_factory._synastry_aspects))
|
|
236
|
-
|
|
237
|
-
print("------------------->")
|
|
238
|
-
freud = AstrologicalSubject("Freud", 1856, 5, 6, 18, 30, "Freiberg", "DE")
|
|
239
|
-
jung = AstrologicalSubject("Jung", 1875, 7, 26, 18, 30, "Kesswil", "CH")
|
|
240
|
-
|
|
241
|
-
relationship_score_factory = RelationshipScoreFactory(freud, jung)
|
|
242
|
-
relationship_score = relationship_score_factory.get_relationship_score()
|
|
243
|
-
|
|
244
|
-
print("Freud and Jung relationship score:")
|
|
245
|
-
print(relationship_score.score_value)
|
|
246
|
-
print(relationship_score.score_description)
|
|
247
|
-
print(relationship_score.is_destiny_sign)
|
|
248
|
-
print(len(relationship_score.aspects))
|
|
249
|
-
print(len(relationship_score_factory._synastry_aspects))
|
|
250
|
-
|
|
251
|
-
print("------------------->")
|
|
252
|
-
richart_burton = AstrologicalSubject("Richard Burton", 1925, 11, 10, 15, 00, "Pontrhydyfen", "UK")
|
|
253
|
-
liz_taylor = AstrologicalSubject("Elizabeth Taylor", 1932, 2, 27, 2, 30, "London", "UK")
|
|
254
|
-
|
|
255
|
-
relationship_score_factory = RelationshipScoreFactory(richart_burton, liz_taylor)
|
|
256
|
-
relationship_score = relationship_score_factory.get_relationship_score()
|
|
257
|
-
|
|
258
|
-
print("Richard Burton and Elizabeth Taylor relationship score:")
|
|
259
|
-
print(relationship_score.score_value)
|
|
260
|
-
print(relationship_score.score_description)
|
|
261
|
-
print(relationship_score.is_destiny_sign)
|
|
262
|
-
print(len(relationship_score.aspects))
|
|
263
|
-
print(len(relationship_score_factory._synastry_aspects))
|
|
264
|
-
|
|
265
|
-
print("------------------->")
|
|
266
|
-
dario_fo = AstrologicalSubject("Dario Fo", 1926, 3, 24, 12, 25, "Sangiano", "IT")
|
|
267
|
-
franca_rame = AstrologicalSubject("Franca Rame", 1929, 7, 18, 12, 25, "Parabiago", "IT")
|
|
268
|
-
|
|
269
|
-
relationship_score_factory = RelationshipScoreFactory(dario_fo, franca_rame)
|
|
270
|
-
relationship_score = relationship_score_factory.get_relationship_score()
|
|
271
|
-
|
|
272
|
-
print("Dario Fo and Franca Rame relationship score:")
|
|
273
|
-
print(relationship_score.score_value)
|
|
274
|
-
print(relationship_score.score_description)
|
|
275
|
-
print(relationship_score.is_destiny_sign)
|
|
276
|
-
print(len(relationship_score.aspects))
|
|
277
|
-
print(len(relationship_score_factory._synastry_aspects))
|
|
224
|
+
giacomo = AstrologicalSubject("Giacomo", 1993, 6, 10, 12, 15, "Montichiari", "IT")
|
|
225
|
+
yoko = AstrologicalSubject("Susie Cox", 1949, 6, 17, 9, 40, "Tucson", "US")
|
|
226
|
+
|
|
227
|
+
factory = RelationshipScoreFactory(giacomo, yoko)
|
|
228
|
+
score = factory.get_relationship_score()
|
|
229
|
+
print(score)
|
|
230
|
+
|