kerykeion 5.1.4__py3-none-any.whl → 5.1.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.

@@ -1674,7 +1674,7 @@ def makeLunarPhase(degrees_between_sun_and_moon: float, latitude: float) -> str:
1674
1674
  params = calculate_moon_phase_chart_params(degrees_between_sun_and_moon)
1675
1675
 
1676
1676
  phase_angle = params["phase_angle"]
1677
- illuminated_fraction = params["illuminated_fraction"]
1677
+ illuminated_fraction = 1.0 - params["illuminated_fraction"]
1678
1678
  shadow_ellipse_rx = abs(params["shadow_ellipse_rx"])
1679
1679
 
1680
1680
  radius = 10.0
@@ -1684,7 +1684,7 @@ def makeLunarPhase(degrees_between_sun_and_moon: float, latitude: float) -> str:
1684
1684
  bright_color = "var(--kerykeion-chart-color-lunar-phase-1)"
1685
1685
  shadow_color = "var(--kerykeion-chart-color-lunar-phase-0)"
1686
1686
 
1687
- is_waxing = phase_angle >= 180.0
1687
+ is_waxing = phase_angle < 180.0
1688
1688
 
1689
1689
  if illuminated_fraction <= 1e-6:
1690
1690
  base_fill = shadow_color
@@ -1699,11 +1699,11 @@ def makeLunarPhase(degrees_between_sun_and_moon: float, latitude: float) -> str:
1699
1699
  if is_lit_major:
1700
1700
  base_fill = bright_color
1701
1701
  overlay_fill = shadow_color
1702
- overlay_side = "right" if is_waxing else "left"
1702
+ overlay_side = "left" if is_waxing else "right"
1703
1703
  else:
1704
1704
  base_fill = shadow_color
1705
1705
  overlay_fill = bright_color
1706
- overlay_side = "left" if is_waxing else "right"
1706
+ overlay_side = "right" if is_waxing else "left"
1707
1707
 
1708
1708
  # The illuminated limb is the orthographic projection of the lunar terminator;
1709
1709
  # it appears as an ellipse with vertical radius equal to the lunar radius and
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kerykeion
3
- Version: 5.1.4
3
+ Version: 5.1.5
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=fO2KDD94dbmTUDp8iN6VxuJVov6tFYhNHAzYVt-GdVY,70906
18
+ kerykeion/charts/charts_utils.py,sha256=iwgDhVc_GwKuQBZ6JNmn6RWVILD5KIcjbrnDTR3wrAc,70911
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.4.dist-info/METADATA,sha256=2TgUXLUVq9EItbJeOnGpoKrdm0OilHKWUvLhB2o-Hkw,61445
61
- kerykeion-5.1.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
62
- kerykeion-5.1.4.dist-info/licenses/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
63
- kerykeion-5.1.4.dist-info/RECORD,,
60
+ kerykeion-5.1.5.dist-info/METADATA,sha256=G32MUXKcYQ0CO9XgyEd3ku5749Aqc9PoifJ5ptJI0fU,61445
61
+ kerykeion-5.1.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
62
+ kerykeion-5.1.5.dist-info/licenses/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
63
+ kerykeion-5.1.5.dist-info/RECORD,,