kerykeion 4.25.1__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.

Files changed (42) hide show
  1. {kerykeion-4.25.1 → kerykeion-4.25.2}/PKG-INFO +36 -13
  2. {kerykeion-4.25.1 → kerykeion-4.25.2}/README.md +35 -12
  3. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/charts/kerykeion_chart_svg.py +25 -7
  4. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/kr_types/settings_models.py +2 -1
  5. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/settings/kr.config.json +20 -10
  6. {kerykeion-4.25.1 → kerykeion-4.25.2}/pyproject.toml +1 -1
  7. {kerykeion-4.25.1 → kerykeion-4.25.2}/LICENSE +0 -0
  8. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/__init__.py +0 -0
  9. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/aspects/__init__.py +0 -0
  10. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/aspects/aspects_utils.py +0 -0
  11. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/aspects/natal_aspects.py +0 -0
  12. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/aspects/synastry_aspects.py +0 -0
  13. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/astrological_subject.py +0 -0
  14. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/charts/__init__.py +0 -0
  15. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/charts/charts_utils.py +0 -0
  16. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/charts/draw_planets.py +0 -0
  17. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/charts/templates/aspect_grid_only.xml +0 -0
  18. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/charts/templates/chart.xml +0 -0
  19. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/charts/templates/wheel_only.xml +0 -0
  20. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/charts/themes/classic.css +0 -0
  21. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/charts/themes/dark-high-contrast.css +0 -0
  22. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/charts/themes/dark.css +0 -0
  23. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/charts/themes/light.css +0 -0
  24. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/composite_subject_factory.py +0 -0
  25. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/enums.py +0 -0
  26. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/ephemeris_data.py +0 -0
  27. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/fetch_geonames.py +0 -0
  28. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/kr_types/__init__.py +0 -0
  29. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/kr_types/chart_types.py +0 -0
  30. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/kr_types/kerykeion_exception.py +0 -0
  31. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/kr_types/kr_literals.py +0 -0
  32. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/kr_types/kr_models.py +0 -0
  33. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/relationship_score/__init__.py +0 -0
  34. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/relationship_score/relationship_score.py +0 -0
  35. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/relationship_score/relationship_score_factory.py +0 -0
  36. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/report.py +0 -0
  37. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/settings/__init__.py +0 -0
  38. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/settings/config_constants.py +0 -0
  39. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/settings/kerykeion_settings.py +0 -0
  40. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/sweph/README.md +0 -0
  41. {kerykeion-4.25.1 → kerykeion-4.25.2}/kerykeion/sweph/seas_18.se1 +0 -0
  42. {kerykeion-4.25.1 → 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.1
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
- </a>
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
- </a>
49
+ <img src="https://img.shields.io/github/license/g-battaglia/kerykeion" alt="License">
50
+
60
51
  </div>
61
52
 
62
53
  &nbsp;
@@ -174,6 +165,38 @@ synastry_chart.makeSVG()
174
165
 
175
166
  ![John Lennon and Paul McCartney Synastry](https://www.kerykeion.net/docs/assets/img/examples/synastry-chart.svg)
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
+ ![John Lennon Transit Chart](https://raw.githubusercontent.com/g-battaglia/kerykeion/refs/heads/master/tests/charts/svg/John%20Lennon%20-%20Transit%20Chart.svg)
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
+ ![Angelina Jolie and Brad Pitt Composite Chart](https://raw.githubusercontent.com/g-battaglia/kerykeion/refs/heads/master/tests/charts/svg/Angelina%20Jolie%20and%20Brad%20Pitt%20Composite%20Chart%20-%20Composite%20Chart.svg)
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
- </a>
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
- </a>
10
+ <img src="https://img.shields.io/github/license/g-battaglia/kerykeion" alt="License">
11
+
21
12
  </div>
22
13
 
23
14
  &nbsp;
@@ -135,6 +126,38 @@ synastry_chart.makeSVG()
135
126
 
136
127
  ![John Lennon and Paul McCartney Synastry](https://www.kerykeion.net/docs/assets/img/examples/synastry-chart.svg)
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
+ ![John Lennon Transit Chart](https://raw.githubusercontent.com/g-battaglia/kerykeion/refs/heads/master/tests/charts/svg/John%20Lennon%20-%20Transit%20Chart.svg)
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
+ ![Angelina Jolie and Brad Pitt Composite Chart](https://raw.githubusercontent.com/g-battaglia/kerykeion/refs/heads/master/tests/charts/svg/Angelina%20Jolie%20and%20Brad%20Pitt%20Composite%20Chart%20-%20Composite%20Chart.svg)
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
- synastry_aspects_instance = SynastryAspects(
189
- self.user, self.t_user,
190
- new_settings_file=self.new_settings_file,
191
- active_points=active_points,
192
- active_aspects=active_aspects,
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
- template_dict["makeAspectGrid"] = draw_transit_aspect_list(self.language_settings["aspects"], self.aspects_list, self.planets_settings, self.aspects_settings)
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
 
@@ -131,7 +131,8 @@ class KerykeionLanguageModel(SubscriptableBaseModel):
131
131
  and_word: str
132
132
  transits: str
133
133
  type: str
134
- aspects: str
134
+ couple_aspects: str
135
+ transit_aspects: str
135
136
  planets_and_house: str
136
137
  transit_name: str
137
138
  lunar_phase: str
@@ -16,7 +16,8 @@
16
16
  "and_word": "and",
17
17
  "transits": "Transits for",
18
18
  "type": "Type",
19
- "aspects": "Couple aspects",
19
+ "couple_aspects": "Couple aspects",
20
+ "transit_aspects": "Transit aspects",
20
21
  "planets_and_house": "Points for",
21
22
  "transit_name": "At the time of the transit",
22
23
  "lunar_phase": "Lunar phase",
@@ -111,7 +112,8 @@
111
112
  "and_word": "et",
112
113
  "transits": "Transites pour",
113
114
  "type": "Type",
114
- "aspects": "Les aspects",
115
+ "couple_aspects": "Les aspects",
116
+ "transit_aspects": "Les aspects de transit",
115
117
  "planets_and_house": "Points pour",
116
118
  "transit_name": "Au moment de la transition",
117
119
  "lunar_phase": "Phase Lunaire",
@@ -206,7 +208,8 @@
206
208
  "and_word": "e",
207
209
  "transits": "Trânsitos para",
208
210
  "type": "Tipo",
209
- "aspects": "Aspectos do casal",
211
+ "couple_aspects": "Aspectos do casal",
212
+ "transit_aspects": "Aspectos do trânsito",
210
213
  "planets_and_house": "Pontos para",
211
214
  "transit_name": "No momento do trânsito",
212
215
  "lunar_phase": "Fase lunar",
@@ -301,7 +304,8 @@
301
304
  "and_word": "e",
302
305
  "transits": "Transiti per",
303
306
  "type": "Tipo",
304
- "aspects": "Aspetti di coppia",
307
+ "couple_aspects": "Aspetti di coppia",
308
+ "transit_aspects": "Aspetti di transito",
305
309
  "planets_and_house": "Punti per",
306
310
  "transit_name": "Al momento del transito",
307
311
  "lunar_phase": "Fase lunare",
@@ -396,7 +400,8 @@
396
400
  "and_word": "與",
397
401
  "transits": "流年合盤",
398
402
  "type": "盤型",
399
- "aspects": "相位",
403
+ "couple_aspects": "相位",
404
+ "transit_aspects": "流年相位",
400
405
  "planets_and_house": "行星 與 宫位",
401
406
  "transit_name": "流年名稱",
402
407
  "lunar_phase": "月相",
@@ -491,7 +496,8 @@
491
496
  "and_word": "y",
492
497
  "transits": "Tránsitos para",
493
498
  "type": "Tipo",
494
- "aspects": "Aspectos de la pareja",
499
+ "couple_aspects": "Aspectos de la pareja",
500
+ "transit_aspects": "Aspectos de tránsito",
495
501
  "planets_and_house": "Puntos para",
496
502
  "transit_name": "En el momento del tránsito",
497
503
  "lunar_phase": "Fase lunar",
@@ -586,7 +592,8 @@
586
592
  "and_word": "и",
587
593
  "transits": "Транзиты для",
588
594
  "type": "Тип",
589
- "aspects": "Аспекты пары",
595
+ "couple_aspects": "Аспекты пары",
596
+ "transit_aspects": "Транзитные аспекты",
590
597
  "planets_and_house": "Пункты для",
591
598
  "transit_name": "В момент транзита",
592
599
  "lunar_phase": "Лунная фаза",
@@ -681,7 +688,8 @@
681
688
  "and_word": "ve",
682
689
  "transits": "Geçişler için",
683
690
  "type": "Tür",
684
- "aspects": "Çiftin Açılar",
691
+ "couple_aspects": "Çiftin Açılar",
692
+ "transit_aspects": "Geçiş Açıları",
685
693
  "planets_and_house": "Puanlar için",
686
694
  "transit_name": "Geçiş anında",
687
695
  "lunar_phase": "Ay Aşaması",
@@ -776,7 +784,8 @@
776
784
  "and_word": "und",
777
785
  "transits": "Transite für",
778
786
  "type": "Typ",
779
- "aspects": "Aspekte des Paares",
787
+ "couple_aspects": "Aspekte des Paares",
788
+ "transit_aspects": "Transitaspekte",
780
789
  "planets_and_house": "Punkte für",
781
790
  "transit_name": "Zum Zeitpunkt des Transits",
782
791
  "lunar_phase": "Mondphase",
@@ -871,7 +880,8 @@
871
880
  "and_word": "और",
872
881
  "transits": "गोचर के लिए",
873
882
  "type": "प्रकार",
874
- "aspects": "जोड़ी के पहलू",
883
+ "couple_aspects": "जोड़ी के पहलू",
884
+ "transit_aspects": "गोचर के पहलू",
875
885
  "planets_and_house": "अंक के लिए",
876
886
  "transit_name": "गोचर के समय",
877
887
  "lunar_phase": "चंद्र चरण",
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "kerykeion"
3
- version = "4.25.1"
3
+ version = "4.25.2"
4
4
  authors = ["Giacomo Battaglia <kerykeion.astrology@gmail.com>"]
5
5
  description = "A python library for astrology."
6
6
  license = "AGPL-3.0"
File without changes