kerykeion 4.13.2__tar.gz → 4.13.3__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.13.2 → kerykeion-4.13.3}/PKG-INFO +1 -1
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/aspects/aspects_utils.py +10 -9
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/aspects/natal_aspects.py +9 -1
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/aspects/synastry_aspects.py +10 -2
- {kerykeion-4.13.2 → kerykeion-4.13.3}/pyproject.toml +1 -1
- {kerykeion-4.13.2 → kerykeion-4.13.3}/LICENSE +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/README.md +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/__init__.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/aspects/__init__.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/astrological_subject.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/charts/__init__.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/charts/charts_utils.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/charts/kerykeion_chart_svg.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/charts/templates/chart.xml +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/enums.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/ephemeris_data.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/fetch_geonames.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/kr_types/__init__.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/kr_types/chart_types.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/kr_types/kerykeion_exception.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/kr_types/kr_literals.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/kr_types/kr_models.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/kr_types/settings_models.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/relationship_score.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/report.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/settings/__init__.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/settings/kerykeion_settings.py +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/settings/kr.config.json +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/sweph/README.md +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/sweph/seas_18.se1 +0 -0
- {kerykeion-4.13.2 → kerykeion-4.13.3}/kerykeion/utilities.py +0 -0
|
@@ -131,17 +131,18 @@ def get_aspect_from_two_points(aspects_settings: dict, point_one: Union[float, i
|
|
|
131
131
|
name = None
|
|
132
132
|
distance = 0
|
|
133
133
|
aspect_degrees = 0
|
|
134
|
-
color = None
|
|
135
134
|
aid = None
|
|
136
135
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
aspect_degrees,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
136
|
+
|
|
137
|
+
return {
|
|
138
|
+
"verdict": verdict,
|
|
139
|
+
"name": name,
|
|
140
|
+
"orbit": distance - aspect_degrees,
|
|
141
|
+
"distance": distance - aspect_degrees,
|
|
142
|
+
"aspect_degrees": aspect_degrees,
|
|
143
|
+
"aid": aid,
|
|
144
|
+
"diff": diff
|
|
145
|
+
}
|
|
145
146
|
|
|
146
147
|
|
|
147
148
|
def planet_id_decoder(planets_settings: dict, name: str):
|
|
@@ -52,10 +52,18 @@ class NatalAspects:
|
|
|
52
52
|
for first in range(len(active_points_list)):
|
|
53
53
|
# Generates the aspects list without repetitions
|
|
54
54
|
for second in range(first + 1, len(active_points_list)):
|
|
55
|
-
|
|
55
|
+
aspect = get_aspect_from_two_points(
|
|
56
56
|
self.aspects_settings, active_points_list[first]["abs_pos"], active_points_list[second]["abs_pos"]
|
|
57
57
|
)
|
|
58
58
|
|
|
59
|
+
verdict = aspect["verdict"]
|
|
60
|
+
name = aspect["name"]
|
|
61
|
+
orbit = aspect["orbit"]
|
|
62
|
+
aspect_degrees = aspect["aspect_degrees"]
|
|
63
|
+
aid = aspect["aid"]
|
|
64
|
+
diff = aspect["diff"]
|
|
65
|
+
|
|
66
|
+
|
|
59
67
|
if verdict == True:
|
|
60
68
|
d_asp = {
|
|
61
69
|
"p1_name": active_points_list[first]["name"],
|
|
@@ -60,12 +60,20 @@ class SynastryAspects(NatalAspects):
|
|
|
60
60
|
for first in range(len(first_active_points_list)):
|
|
61
61
|
# Generates the aspects list whitout repetitions
|
|
62
62
|
for second in range(len(second_active_points_list)):
|
|
63
|
-
|
|
63
|
+
aspect = get_aspect_from_two_points(
|
|
64
64
|
self.aspects_settings,
|
|
65
65
|
first_active_points_list[first]["abs_pos"],
|
|
66
66
|
second_active_points_list[second]["abs_pos"],
|
|
67
67
|
)
|
|
68
68
|
|
|
69
|
+
verdict = aspect["verdict"]
|
|
70
|
+
name = aspect["name"]
|
|
71
|
+
orbit = aspect["orbit"]
|
|
72
|
+
aspect_degrees = aspect["aspect_degrees"]
|
|
73
|
+
aid = aspect["aid"]
|
|
74
|
+
diff = aspect["diff"]
|
|
75
|
+
|
|
76
|
+
|
|
69
77
|
if verdict == True:
|
|
70
78
|
d_asp = {
|
|
71
79
|
"p1_name": first_active_points_list[first]["name"],
|
|
@@ -96,7 +104,7 @@ if __name__ == "__main__":
|
|
|
96
104
|
setup_logging(level="debug")
|
|
97
105
|
|
|
98
106
|
john = AstrologicalSubject("John", 1940, 10, 9, 18, 30, "Liverpool")
|
|
99
|
-
yoko = AstrologicalSubject("Yoko", 1933, 2, 18, 18, 30, "Tokyo")
|
|
107
|
+
yoko = AstrologicalSubject("Yoko", 1933, 2, 18, 18, 30, "Tokyo", "JP")
|
|
100
108
|
|
|
101
109
|
synastry_aspects = SynastryAspects(john, yoko)
|
|
102
110
|
|
|
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
|