kerykeion 4.12.4__py3-none-any.whl → 4.12.6__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 +4 -6
- kerykeion/utilities.py +4 -2
- {kerykeion-4.12.4.dist-info → kerykeion-4.12.6.dist-info}/METADATA +1 -1
- {kerykeion-4.12.4.dist-info → kerykeion-4.12.6.dist-info}/RECORD +7 -7
- {kerykeion-4.12.4.dist-info → kerykeion-4.12.6.dist-info}/LICENSE +0 -0
- {kerykeion-4.12.4.dist-info → kerykeion-4.12.6.dist-info}/WHEEL +0 -0
- {kerykeion-4.12.4.dist-info → kerykeion-4.12.6.dist-info}/entry_points.txt +0 -0
|
@@ -200,9 +200,7 @@ class AstrologicalSubject:
|
|
|
200
200
|
|
|
201
201
|
# This message is set to encourage the user to set a custom geonames username
|
|
202
202
|
if geonames_username is None and online:
|
|
203
|
-
logging.warning(
|
|
204
|
-
|
|
205
|
-
)
|
|
203
|
+
logging.warning(GEONAMES_DEFAULT_USERNAME_WARNING)
|
|
206
204
|
|
|
207
205
|
self.geonames_username = DEFAULT_GEONAMES_USERNAME
|
|
208
206
|
|
|
@@ -282,7 +280,7 @@ class AstrologicalSubject:
|
|
|
282
280
|
# Start the calculations #
|
|
283
281
|
#------------------------#
|
|
284
282
|
|
|
285
|
-
|
|
283
|
+
self.lat = check_and_adjust_polar_latitude(self.lat)
|
|
286
284
|
|
|
287
285
|
# UTC, julian day and local time setup --->
|
|
288
286
|
if (self.online) and (not self.tz_str):
|
|
@@ -349,7 +347,7 @@ class AstrologicalSubject:
|
|
|
349
347
|
self.lat = float(self.city_data["lat"])
|
|
350
348
|
self.tz_str = self.city_data["timezonestr"]
|
|
351
349
|
|
|
352
|
-
|
|
350
|
+
self.lat = check_and_adjust_polar_latitude(self.lat)
|
|
353
351
|
|
|
354
352
|
def _houses(self) -> None:
|
|
355
353
|
"""
|
|
@@ -812,4 +810,4 @@ if __name__ == "__main__":
|
|
|
812
810
|
print(johnny.json(dump=True, indent=2))
|
|
813
811
|
|
|
814
812
|
# With Topocentric Perspective
|
|
815
|
-
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", perspective_type="Topocentric")
|
|
813
|
+
johnny = AstrologicalSubject("Johnny Depp", 1963, 6, 9, 0, 0, "Owensboro", "US", perspective_type="Topocentric")
|
kerykeion/utilities.py
CHANGED
|
@@ -356,7 +356,7 @@ def get_moon_phase_name_from_phase_int(phase: int) -> LunarPhaseName:
|
|
|
356
356
|
return result
|
|
357
357
|
|
|
358
358
|
|
|
359
|
-
def check_and_adjust_polar_latitude(latitude: float
|
|
359
|
+
def check_and_adjust_polar_latitude(latitude: float) -> float:
|
|
360
360
|
"""
|
|
361
361
|
Utility function to check if the location is in the polar circle.
|
|
362
362
|
If it is, it sets the latitude to 66 or -66 degrees.
|
|
@@ -367,4 +367,6 @@ def check_and_adjust_polar_latitude(latitude: float, longitude: float) -> bool:
|
|
|
367
367
|
|
|
368
368
|
elif latitude < -66.0:
|
|
369
369
|
latitude = -66.0
|
|
370
|
-
logging.info("Polar circle override for houses, using -66 degrees")
|
|
370
|
+
logging.info("Polar circle override for houses, using -66 degrees")
|
|
371
|
+
|
|
372
|
+
return latitude
|
|
@@ -4,7 +4,7 @@ kerykeion/aspects/__init__.py,sha256=9FlDVI1ndCJga0-chNIhcLitjU_x3kbtAFfFqVp2ejc
|
|
|
4
4
|
kerykeion/aspects/aspects_utils.py,sha256=ZCOnhgW6CZQrCruAGaf8vkUlBtjubbfKOqXy6qyQupE,5321
|
|
5
5
|
kerykeion/aspects/natal_aspects.py,sha256=R47UToYKqbVrRmGzmY4pgsikcoXNmJvs5KhSmz7HZtM,4460
|
|
6
6
|
kerykeion/aspects/synastry_aspects.py,sha256=BqG0E4tDZJjPQm3NTX3G6LkTuijP0AsKtI9pwH0F_Mc,3946
|
|
7
|
-
kerykeion/astrological_subject.py,sha256=
|
|
7
|
+
kerykeion/astrological_subject.py,sha256=_y1676b9ZLbuQp6fTw-fcyIyHlBom4I7N_Xk6y5m1KM,32803
|
|
8
8
|
kerykeion/charts/__init__.py,sha256=Juxkduy2TaagWblh_7CE8Acrg3dHL27-WEddJhau_eQ,127
|
|
9
9
|
kerykeion/charts/charts_utils.py,sha256=Pfy-SkPnABIy5ZkKgypnGqxXOAKhTRIeQX3fQKO8DgQ,15065
|
|
10
10
|
kerykeion/charts/kerykeion_chart_svg.py,sha256=P3xRWedqdbYjeI1xX9saL729IXBfJ_8TWLz1AzUF5vI,64864
|
|
@@ -24,9 +24,9 @@ kerykeion/settings/kerykeion_settings.py,sha256=uRAbhJ0ZXAbGBPGJjhh5u8YX2phcXobE
|
|
|
24
24
|
kerykeion/settings/kr.config.json,sha256=1Yhv9RGHom5U9e-JZZRWVfT2Ubllz2WrckdwadDWfyg,12282
|
|
25
25
|
kerykeion/sweph/README.md,sha256=L7FtNAJTWtrZNGKa8MX87SjduFYPYxwWhaI5fmtzNZo,73
|
|
26
26
|
kerykeion/sweph/seas_18.se1,sha256=X9nCqhZU43wJpq61WAdueVQJt9xL2UjrwPqn1Kdoa1s,223002
|
|
27
|
-
kerykeion/utilities.py,sha256=
|
|
28
|
-
kerykeion-4.12.
|
|
29
|
-
kerykeion-4.12.
|
|
30
|
-
kerykeion-4.12.
|
|
31
|
-
kerykeion-4.12.
|
|
32
|
-
kerykeion-4.12.
|
|
27
|
+
kerykeion/utilities.py,sha256=O2VNTu5iozaL_aGsYHJRBo3ckQxsVckxDYfZME8z-ZI,11397
|
|
28
|
+
kerykeion-4.12.6.dist-info/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
|
|
29
|
+
kerykeion-4.12.6.dist-info/METADATA,sha256=5HKdv58m2DfhSFw4B-fquZUSHA8caSMEglg_A7-TLU0,14410
|
|
30
|
+
kerykeion-4.12.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
31
|
+
kerykeion-4.12.6.dist-info/entry_points.txt,sha256=5SmANYscFDDTdeovHvGQ-cnj0hdFvGoxPaWLCpyDFnQ,49
|
|
32
|
+
kerykeion-4.12.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|