kerykeion 5.1.1__py3-none-any.whl → 5.1.2__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.

@@ -1023,15 +1023,13 @@ def draw_transit_aspect_list(
1023
1023
 
1024
1024
 
1025
1025
  def calculate_moon_phase_chart_params(
1026
- degrees_between_sun_and_moon: float,
1027
- latitude: float
1026
+ degrees_between_sun_and_moon: float
1028
1027
  ) -> dict:
1029
1028
  """
1030
1029
  Calculate the parameters for the moon phase chart.
1031
1030
 
1032
1031
  Parameters:
1033
1032
  - degrees_between_sun_and_moon (float): The degrees between the sun and the moon.
1034
- - latitude (float): The latitude for rotation calculation.
1035
1033
 
1036
1034
  Returns:
1037
1035
  - dict: The moon phase chart parameters.
@@ -1074,9 +1072,8 @@ def calculate_moon_phase_chart_params(
1074
1072
  else:
1075
1073
  raise KerykeionException(f"Invalid degree value: {deg}")
1076
1074
 
1077
-
1078
- # Calculate rotation based on latitude
1079
- lunar_phase_rotate = -90.0 - latitude
1075
+ # No artificial rotation for moon phase icon in astrological chart
1076
+ lunar_phase_rotate = 0.0
1080
1077
 
1081
1078
  return {
1082
1079
  "circle_center_x": circle_center_x,
@@ -1697,13 +1694,13 @@ def makeLunarPhase(degrees_between_sun_and_moon: float, latitude: float) -> str:
1697
1694
 
1698
1695
  Parameters:
1699
1696
  - degrees_between_sun_and_moon (float): Angle between sun and moon in degrees
1700
- - latitude (float): Observer's latitude for correct orientation
1697
+ - latitude (float): Observer's latitude (no longer used, kept for backward compatibility)
1701
1698
 
1702
1699
  Returns:
1703
1700
  - str: SVG representation of lunar phase
1704
1701
  """
1705
1702
  # Calculate parameters for the lunar phase visualization
1706
- params = calculate_moon_phase_chart_params(degrees_between_sun_and_moon, latitude)
1703
+ params = calculate_moon_phase_chart_params(degrees_between_sun_and_moon)
1707
1704
 
1708
1705
  # Extract the calculated values
1709
1706
  lunar_phase_circle_center_x = params["circle_center_x"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kerykeion
3
- Version: 5.1.1
3
+ Version: 5.1.2
4
4
  Summary: A Python library for astrological calculations, including natal charts, houses, planetary aspects, and SVG chart generation.
5
5
  Project-URL: Homepage, https://www.kerykeion.net/
6
6
  Project-URL: Repository, https://github.com/g-battaglia/kerykeion
@@ -15,7 +15,7 @@ kerykeion/aspects/aspects_factory.py,sha256=XCuOOpo0ZW7sihYT2f50bLVpebEk19b9EtEj
15
15
  kerykeion/aspects/aspects_utils.py,sha256=00-MMLEGChpceab8sHKB1_qg6EG4ycTG2u2vYZcyLmQ,5784
16
16
  kerykeion/charts/__init__.py,sha256=i9NMZ7LdkllPlqQSi1or9gTobHbROGDKmJhBDO4R0mA,128
17
17
  kerykeion/charts/chart_drawer.py,sha256=VCk2s6kUT2AhNWhVdepuhp2_6qHk3Fiq0d4EMq0pvZQ,122240
18
- kerykeion/charts/charts_utils.py,sha256=JzPnbZJnH4lrIENb5saRtbHn_GbyaElXVBwKdyP90Dg,70110
18
+ kerykeion/charts/charts_utils.py,sha256=5m5ZRMlA0FjAPNbdxmwMwkIyABdYOlk4FYlzkL_dIh0,70056
19
19
  kerykeion/charts/draw_planets.py,sha256=tIj3FeLLomVSbCaZUxfw_qBEB3pxi4EIEhqaeTgTyTY,29061
20
20
  kerykeion/charts/templates/aspect_grid_only.xml,sha256=v3QtNMjk-kBdUTfB0r6thg--Ta_tNFdRQCzdk5PAycY,86429
21
21
  kerykeion/charts/templates/chart.xml,sha256=oUI9hV--4rdsVFqZJ8ChpgC2ZgfnqlL2Tl2vco1vlOc,92095
@@ -57,7 +57,7 @@ kerykeion/sweph/ast28/se28978s.se1,sha256=nU2Qp-ELc_tzFnRc1QT6uVueWXEipvhYDgfQRX
57
57
  kerykeion/sweph/ast50/se50000s.se1,sha256=9jTrPlIrZMOBWC9cNgwzcfz0KBHdXFZoY9-NZ_HtECo,15748
58
58
  kerykeion/sweph/ast90/se90377s.se1,sha256=bto2x4LtBv8b1ej1XhVFYq-kfHO9cczbKV9U1f9UVu4,10288
59
59
  kerykeion/sweph/ast90/se90482s.se1,sha256=uHxz6bP4K8zgtQFrlWFwxrYfmqm5kXxsg6OYhAIUbAA,16173
60
- kerykeion-5.1.1.dist-info/METADATA,sha256=Ec1Bzr2pPHj_k2Y_1QpZVIE0bHRRHFmJgQCvK3FgFpg,61445
61
- kerykeion-5.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
62
- kerykeion-5.1.1.dist-info/licenses/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
63
- kerykeion-5.1.1.dist-info/RECORD,,
60
+ kerykeion-5.1.2.dist-info/METADATA,sha256=9CWwFEhAYYRpqo0ekECohAhNBYDytg1hZdHsFRwtfD0,61445
61
+ kerykeion-5.1.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
62
+ kerykeion-5.1.2.dist-info/licenses/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
63
+ kerykeion-5.1.2.dist-info/RECORD,,