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

@@ -280,7 +280,7 @@ class AstrologicalSubject:
280
280
  # Start the calculations #
281
281
  #------------------------#
282
282
 
283
- check_and_adjust_polar_latitude(self.lat, self.lng)
283
+ self.lat = check_and_adjust_polar_latitude(self.lat)
284
284
 
285
285
  # UTC, julian day and local time setup --->
286
286
  if (self.online) and (not self.tz_str):
@@ -347,7 +347,7 @@ class AstrologicalSubject:
347
347
  self.lat = float(self.city_data["lat"])
348
348
  self.tz_str = self.city_data["timezonestr"]
349
349
 
350
- check_and_adjust_polar_latitude(self.lat, self.lng)
350
+ self.lat = check_and_adjust_polar_latitude(self.lat)
351
351
 
352
352
  def _houses(self) -> None:
353
353
  """
@@ -810,4 +810,4 @@ if __name__ == "__main__":
810
810
  print(johnny.json(dump=True, indent=2))
811
811
 
812
812
  # With Topocentric Perspective
813
- 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, longitude: float) -> bool:
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kerykeion
3
- Version: 4.12.5
3
+ Version: 4.12.6
4
4
  Summary: A python library for astrology.
5
5
  Home-page: https://www.kerykeion.net/
6
6
  License: AGPL-3.0
@@ -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=i-AOFeNiWpuAjrfcaMcaNTAMWLWq98PYL7vXQfeZaN4,32800
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=1GxV7Du2L9QZEwNKc0oDjNsEddpAFCqY_kyWx38IRiA,11392
28
- kerykeion-4.12.5.dist-info/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
29
- kerykeion-4.12.5.dist-info/METADATA,sha256=7d6_NDyNJ3a1eqZ48Ezgf51t8Zye5g-YKNJ7t9K7X2M,14410
30
- kerykeion-4.12.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
31
- kerykeion-4.12.5.dist-info/entry_points.txt,sha256=5SmANYscFDDTdeovHvGQ-cnj0hdFvGoxPaWLCpyDFnQ,49
32
- kerykeion-4.12.5.dist-info/RECORD,,
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,,