kerykeion 4.24.3__py3-none-any.whl → 4.24.5__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/astrological_subject.py +30 -46
- kerykeion/charts/charts_utils.py +1 -3
- kerykeion/charts/templates/chart.xml +1 -1
- {kerykeion-4.24.3.dist-info → kerykeion-4.24.5.dist-info}/METADATA +1 -1
- {kerykeion-4.24.3.dist-info → kerykeion-4.24.5.dist-info}/RECORD +8 -8
- {kerykeion-4.24.3.dist-info → kerykeion-4.24.5.dist-info}/LICENSE +0 -0
- {kerykeion-4.24.3.dist-info → kerykeion-4.24.5.dist-info}/WHEEL +0 -0
- {kerykeion-4.24.3.dist-info → kerykeion-4.24.5.dist-info}/entry_points.txt +0 -0
|
@@ -194,13 +194,13 @@ class AstrologicalSubject:
|
|
|
194
194
|
lat: Union[int, float, None] = None,
|
|
195
195
|
tz_str: Union[str, None] = None,
|
|
196
196
|
geonames_username: Union[str, None] = None,
|
|
197
|
-
zodiac_type: ZodiacType = DEFAULT_ZODIAC_TYPE,
|
|
197
|
+
zodiac_type: Union[ZodiacType, None] = DEFAULT_ZODIAC_TYPE,
|
|
198
198
|
online: bool = True,
|
|
199
199
|
disable_chiron: Union[None, bool] = None, # Deprecated
|
|
200
200
|
sidereal_mode: Union[SiderealMode, None] = None,
|
|
201
|
-
houses_system_identifier: HousesSystemIdentifier = DEFAULT_HOUSES_SYSTEM_IDENTIFIER,
|
|
202
|
-
perspective_type: PerspectiveType = DEFAULT_PERSPECTIVE_TYPE,
|
|
203
|
-
cache_expire_after_days: int = DEFAULT_GEONAMES_CACHE_EXPIRE_AFTER_DAYS,
|
|
201
|
+
houses_system_identifier: Union[HousesSystemIdentifier, None] = DEFAULT_HOUSES_SYSTEM_IDENTIFIER,
|
|
202
|
+
perspective_type: Union[PerspectiveType, None] = DEFAULT_PERSPECTIVE_TYPE,
|
|
203
|
+
cache_expire_after_days: Union[int, None] = DEFAULT_GEONAMES_CACHE_EXPIRE_AFTER_DAYS,
|
|
204
204
|
is_dst: Union[None, bool] = None,
|
|
205
205
|
disable_chiron_and_lilith: bool = False
|
|
206
206
|
) -> None:
|
|
@@ -226,13 +226,10 @@ class AstrologicalSubject:
|
|
|
226
226
|
self.day = day
|
|
227
227
|
self.hour = hour
|
|
228
228
|
self.minute = minute
|
|
229
|
-
self.zodiac_type = zodiac_type
|
|
230
229
|
self.online = online
|
|
231
230
|
self.json_dir = Path.home()
|
|
232
231
|
self.disable_chiron = disable_chiron
|
|
233
232
|
self.sidereal_mode = sidereal_mode
|
|
234
|
-
self.houses_system_identifier = houses_system_identifier
|
|
235
|
-
self.perspective_type = perspective_type
|
|
236
233
|
self.cache_expire_after_days = cache_expire_after_days
|
|
237
234
|
self.is_dst = is_dst
|
|
238
235
|
self.disable_chiron_and_lilith = disable_chiron_and_lilith
|
|
@@ -282,6 +279,30 @@ class AstrologicalSubject:
|
|
|
282
279
|
else:
|
|
283
280
|
self.tz_str = tz_str # type: ignore
|
|
284
281
|
|
|
282
|
+
# Zodiac type
|
|
283
|
+
if not zodiac_type:
|
|
284
|
+
self.zodiac_type = DEFAULT_ZODIAC_TYPE
|
|
285
|
+
else:
|
|
286
|
+
self.zodiac_type = zodiac_type
|
|
287
|
+
|
|
288
|
+
# Perspective type
|
|
289
|
+
if not perspective_type:
|
|
290
|
+
self.perspective_type = DEFAULT_PERSPECTIVE_TYPE
|
|
291
|
+
else:
|
|
292
|
+
self.perspective_type = perspective_type
|
|
293
|
+
|
|
294
|
+
# Houses system identifier
|
|
295
|
+
if not houses_system_identifier:
|
|
296
|
+
self.houses_system_identifier = DEFAULT_HOUSES_SYSTEM_IDENTIFIER
|
|
297
|
+
else:
|
|
298
|
+
self.houses_system_identifier = houses_system_identifier
|
|
299
|
+
|
|
300
|
+
# Cache expire after days
|
|
301
|
+
if not cache_expire_after_days:
|
|
302
|
+
self.cache_expire_after_days = DEFAULT_GEONAMES_CACHE_EXPIRE_AFTER_DAYS
|
|
303
|
+
else:
|
|
304
|
+
self.cache_expire_after_days = cache_expire_after_days
|
|
305
|
+
|
|
285
306
|
#-----------------------#
|
|
286
307
|
# Swiss Ephemeris setup #
|
|
287
308
|
#-----------------------#
|
|
@@ -469,7 +490,7 @@ class AstrologicalSubject:
|
|
|
469
490
|
_ascmc = ascmc
|
|
470
491
|
|
|
471
492
|
else:
|
|
472
|
-
raise KerykeionException("Not a valid zodiac type: "
|
|
493
|
+
raise KerykeionException("Not a valid zodiac type: " + self.zodiac_type)
|
|
473
494
|
|
|
474
495
|
point_type: PointType = "House"
|
|
475
496
|
|
|
@@ -854,42 +875,5 @@ if __name__ == "__main__":
|
|
|
854
875
|
setup_logging(level="debug")
|
|
855
876
|
|
|
856
877
|
# With Chiron enabled
|
|
857
|
-
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US")
|
|
878
|
+
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", zodiac_type=None)
|
|
858
879
|
print(json.loads(johnny.json(dump=True)))
|
|
859
|
-
|
|
860
|
-
print('\n')
|
|
861
|
-
print(johnny.chiron)
|
|
862
|
-
|
|
863
|
-
# With Chiron disabled
|
|
864
|
-
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", disable_chiron=True)
|
|
865
|
-
print(json.loads(johnny.json(dump=True)))
|
|
866
|
-
|
|
867
|
-
print('\n')
|
|
868
|
-
print(johnny.chiron)
|
|
869
|
-
|
|
870
|
-
# With Sidereal Zodiac
|
|
871
|
-
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", zodiac_type="Sidereal", sidereal_mode="LAHIRI")
|
|
872
|
-
print(johnny.json(dump=True, indent=2))
|
|
873
|
-
|
|
874
|
-
# With Morinus Houses
|
|
875
|
-
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", houses_system_identifier="M")
|
|
876
|
-
print(johnny.json(dump=True, indent=2))
|
|
877
|
-
|
|
878
|
-
# With True Geocentric Perspective
|
|
879
|
-
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", perspective_type="True Geocentric")
|
|
880
|
-
print(johnny.json(dump=True, indent=2))
|
|
881
|
-
|
|
882
|
-
# With Heliocentric Perspective
|
|
883
|
-
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", perspective_type="Heliocentric")
|
|
884
|
-
print(johnny.json(dump=True, indent=2))
|
|
885
|
-
|
|
886
|
-
# With Topocentric Perspective
|
|
887
|
-
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", perspective_type="Topocentric")
|
|
888
|
-
|
|
889
|
-
# Test Mean Lilith
|
|
890
|
-
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", disable_chiron_and_lilith=True)
|
|
891
|
-
print(johnny.mean_lilith)
|
|
892
|
-
|
|
893
|
-
# Offline mode
|
|
894
|
-
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", online=False, tz_str="America/New_York", lng=-87.1111, lat=37.7711, sidereal_mode="FAGAN_BRADLEY", zodiac_type="Sidereal")
|
|
895
|
-
print(johnny.json(dump=True, indent=2))
|
kerykeion/charts/charts_utils.py
CHANGED
|
@@ -758,10 +758,8 @@ def draw_transit_aspect_list(
|
|
|
758
758
|
inner_path += f"</g>"
|
|
759
759
|
line = line + 14
|
|
760
760
|
|
|
761
|
-
out = f'<
|
|
762
|
-
out += f'<text y="-15" x="0" style="fill: var(--kerykeion-chart-color-paper-0); font-size: 14px;">{grid_title}:</text>'
|
|
761
|
+
out = f'<text y="-15" x="0" style="fill: var(--kerykeion-chart-color-paper-0); font-size: 14px;">{grid_title}:</text>'
|
|
763
762
|
out += inner_path
|
|
764
|
-
out += "</g>"
|
|
765
763
|
|
|
766
764
|
return out
|
|
767
765
|
|
|
@@ -4,13 +4,13 @@ kerykeion/aspects/__init__.py,sha256=9kx_Rx1NJx5SM7nDCSbI79S1neZ3c-q2NvQr-S6A9PY
|
|
|
4
4
|
kerykeion/aspects/aspects_utils.py,sha256=Ej-E7Uvfi8x_ydP9dOhzhCp2uSpvX67T_VXuOjEKdoQ,3071
|
|
5
5
|
kerykeion/aspects/natal_aspects.py,sha256=LHSorTAMLry-0KJWRZ0QQCBiRbuYnZkoIEFVwaAG-e0,6585
|
|
6
6
|
kerykeion/aspects/synastry_aspects.py,sha256=5vU8yJgAGRyVBoKvRpsg-0AcQg-imOzH91tvDM_RUNQ,5044
|
|
7
|
-
kerykeion/astrological_subject.py,sha256=
|
|
7
|
+
kerykeion/astrological_subject.py,sha256=pzy9Fipg-ywCk5bZoGoA8bhs4M2r2JZBWoC3ZxHQrQ8,38245
|
|
8
8
|
kerykeion/charts/__init__.py,sha256=i9NMZ7LdkllPlqQSi1or9gTobHbROGDKmJhBDO4R0mA,128
|
|
9
|
-
kerykeion/charts/charts_utils.py,sha256=
|
|
9
|
+
kerykeion/charts/charts_utils.py,sha256=mh4KAy1T_z8RUfrwh-_iKtrB1Qp8ZIWimq6IsMT9tWc,42066
|
|
10
10
|
kerykeion/charts/draw_planets.py,sha256=Uty3zpWYMQZvvK7ZHhlmynCHeL8DIN3qL2ifnBXVciM,17393
|
|
11
11
|
kerykeion/charts/kerykeion_chart_svg.py,sha256=DbtfKA3ieM56YTSTBV3i1bd5zhDlsDyYafHRci6C_jw,46006
|
|
12
12
|
kerykeion/charts/templates/aspect_grid_only.xml,sha256=ZiBVeToVmCA8QxYlB_cfnsAO1NNeQAnJ_6rIYkr4F58,70091
|
|
13
|
-
kerykeion/charts/templates/chart.xml,sha256=
|
|
13
|
+
kerykeion/charts/templates/chart.xml,sha256=1oe-kYyeJtiejAEzBNZdqwaITYlVWKOYWUFl0IfzUnw,73764
|
|
14
14
|
kerykeion/charts/templates/wheel_only.xml,sha256=E0JCxcnjTjxuaomw7PQEc_3xRVErj1y2hIOGTrShuhc,71304
|
|
15
15
|
kerykeion/charts/themes/classic.css,sha256=-b6XllAZmqUDjBwDtIkfzfI3Wtc8AImuGMpfAQ_2wa0,3552
|
|
16
16
|
kerykeion/charts/themes/dark-high-contrast.css,sha256=9tdyFC-4Ytnv4lrVwKnOjZJ0YNgbRrP_HNnfJRlnbn0,6099
|
|
@@ -36,8 +36,8 @@ kerykeion/settings/kr.config.json,sha256=01xm7VOmGxMa86VM8VL8giYmnDTkfo2aE9qjIfI
|
|
|
36
36
|
kerykeion/sweph/README.md,sha256=L7FtNAJTWtrZNGKa8MX87SjduFYPYxwWhaI5fmtzNZo,73
|
|
37
37
|
kerykeion/sweph/seas_18.se1,sha256=X9nCqhZU43wJpq61WAdueVQJt9xL2UjrwPqn1Kdoa1s,223002
|
|
38
38
|
kerykeion/utilities.py,sha256=vuEDWs5Htl2zi6_3flLvlAsFC9YT9LaOQDpRirFf3Cg,11160
|
|
39
|
-
kerykeion-4.24.
|
|
40
|
-
kerykeion-4.24.
|
|
41
|
-
kerykeion-4.24.
|
|
42
|
-
kerykeion-4.24.
|
|
43
|
-
kerykeion-4.24.
|
|
39
|
+
kerykeion-4.24.5.dist-info/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
|
|
40
|
+
kerykeion-4.24.5.dist-info/METADATA,sha256=SQQBttcLzWkQC7z0ttrtaM4X-LD37p25Cdf9TqFzVNk,17722
|
|
41
|
+
kerykeion-4.24.5.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
42
|
+
kerykeion-4.24.5.dist-info/entry_points.txt,sha256=5SmANYscFDDTdeovHvGQ-cnj0hdFvGoxPaWLCpyDFnQ,49
|
|
43
|
+
kerykeion-4.24.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|