kerykeion 4.18.3__tar.gz → 4.18.5__tar.gz

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.

Files changed (40) hide show
  1. {kerykeion-4.18.3 → kerykeion-4.18.5}/PKG-INFO +1 -1
  2. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/charts/charts_utils.py +4 -4
  3. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/charts/kerykeion_chart_svg.py +9 -11
  4. {kerykeion-4.18.3 → kerykeion-4.18.5}/pyproject.toml +1 -1
  5. {kerykeion-4.18.3 → kerykeion-4.18.5}/LICENSE +0 -0
  6. {kerykeion-4.18.3 → kerykeion-4.18.5}/README.md +0 -0
  7. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/__init__.py +0 -0
  8. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/aspects/__init__.py +0 -0
  9. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/aspects/aspects_utils.py +0 -0
  10. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/aspects/natal_aspects.py +0 -0
  11. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/aspects/synastry_aspects.py +0 -0
  12. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/astrological_subject.py +0 -0
  13. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/charts/__init__.py +0 -0
  14. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/charts/draw_planets.py +0 -0
  15. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/charts/templates/aspect_grid_only.xml +0 -0
  16. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/charts/templates/chart.xml +0 -0
  17. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/charts/templates/wheel_only.xml +0 -0
  18. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/charts/themes/classic.css +0 -0
  19. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/charts/themes/dark-high-contrast.css +0 -0
  20. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/charts/themes/dark.css +0 -0
  21. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/charts/themes/light.css +0 -0
  22. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/enums.py +0 -0
  23. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/ephemeris_data.py +0 -0
  24. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/fetch_geonames.py +0 -0
  25. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/kr_types/__init__.py +0 -0
  26. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/kr_types/chart_types.py +0 -0
  27. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/kr_types/kerykeion_exception.py +0 -0
  28. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/kr_types/kr_literals.py +0 -0
  29. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/kr_types/kr_models.py +0 -0
  30. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/kr_types/settings_models.py +0 -0
  31. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/relationship_score/__init__.py +0 -0
  32. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/relationship_score/relationship_score.py +0 -0
  33. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/relationship_score/relationship_score_factory.py +0 -0
  34. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/report.py +0 -0
  35. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/settings/__init__.py +0 -0
  36. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/settings/kerykeion_settings.py +0 -0
  37. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/settings/kr.config.json +0 -0
  38. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/sweph/README.md +0 -0
  39. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/sweph/seas_18.se1 +0 -0
  40. {kerykeion-4.18.3 → kerykeion-4.18.5}/kerykeion/utilities.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kerykeion
3
- Version: 4.18.3
3
+ Version: 4.18.5
4
4
  Summary: A python library for astrology.
5
5
  Home-page: https://www.kerykeion.net/
6
6
  License: AGPL-3.0
@@ -535,7 +535,7 @@ def draw_aspect_grid(
535
535
  str: SVG string representing the aspect grid.
536
536
  """
537
537
  svg_output = ""
538
- style = f"stroke:{stroke_color}; stroke-width: 1px; fill:none"
538
+ style = f"stroke:{stroke_color}; stroke-width: 1px; stroke-width: 0.5px; fill:none"
539
539
  box_size = 14
540
540
 
541
541
  # Filter active planets
@@ -546,7 +546,7 @@ def draw_aspect_grid(
546
546
 
547
547
  for index, planet_a in enumerate(reversed_planets):
548
548
  # Draw the grid box for the planet
549
- svg_output += f'<rect x="{x_start}" y="{y_start}" width="{box_size}" height="{box_size}" style="{style}"/>'
549
+ svg_output += f'<rect kr:node="AspectsGridRect" x="{x_start}" y="{y_start}" width="{box_size}" height="{box_size}" style="{style}"/>'
550
550
  svg_output += f'<use transform="scale(0.4)" x="{(x_start + 2) * 2.5}" y="{(y_start + 1) * 2.5}" xlink:href="#{planet_a["name"]}" />'
551
551
 
552
552
  # Update the starting coordinates for the next box
@@ -560,7 +560,7 @@ def draw_aspect_grid(
560
560
  # Iterate over the remaining planets
561
561
  for planet_b in reversed_planets[index + 1:]:
562
562
  # Draw the grid box for the aspect
563
- svg_output += f'<rect x="{x_aspect}" y="{y_aspect}" width="{box_size}" height="{box_size}" style="{style}"/>'
563
+ svg_output += f'<rect kr:node="AspectsGridRect" x="{x_aspect}" y="{y_aspect}" width="{box_size}" height="{box_size}" style="{style}"/>'
564
564
  x_aspect += box_size
565
565
 
566
566
  # Check for aspects between the planets
@@ -1030,7 +1030,7 @@ def draw_transit_aspect_grid(
1030
1030
  str: SVG string representing the aspect grid.
1031
1031
  """
1032
1032
  svg_output = ""
1033
- style = f"stroke:{stroke_color}; stroke-width: 1px; fill:none"
1033
+ style = f"stroke:{stroke_color}; stroke-width: 1px; stroke-width: 0.5px; fill:none"
1034
1034
  x_start = x_indent
1035
1035
  y_start = y_indent
1036
1036
 
@@ -610,12 +610,12 @@ class KerykeionChartSVG:
610
610
  if not hasattr(self, "template"):
611
611
  self.template = self.makeTemplate(minify)
612
612
 
613
- self.chartname = self.output_directory / f"{self.user.name} - {self.chart_type} Chart.svg"
613
+ chartname = self.output_directory / f"{self.user.name} - {self.chart_type} Chart.svg"
614
614
 
615
- with open(self.chartname, "w", encoding="utf-8", errors="ignore") as output_file:
615
+ with open(chartname, "w", encoding="utf-8", errors="ignore") as output_file:
616
616
  output_file.write(self.template)
617
617
 
618
- logging.info(f"SVG Generated Correctly in: {self.chartname}")
618
+ logging.info(f"SVG Generated Correctly in: {chartname}")
619
619
 
620
620
  def makeWheelOnlyTemplate(self, minify: bool = False):
621
621
  """Creates the template for the SVG file with only the wheel"""
@@ -638,13 +638,12 @@ class KerykeionChartSVG:
638
638
  """Prints out the SVG file in the specified folder with only the wheel"""
639
639
 
640
640
  template = self.makeWheelOnlyTemplate(minify)
641
+ chartname = self.output_directory / f"{self.user.name} - {self.chart_type} Chart - Wheel Only.svg"
641
642
 
642
- self.chartname = self.output_directory / f"{self.user.name} - {self.chart_type} Chart - Wheel Only.svg"
643
-
644
- with open(self.chartname, "w", encoding="utf-8", errors="ignore") as output_file:
643
+ with open(chartname, "w", encoding="utf-8", errors="ignore") as output_file:
645
644
  output_file.write(template)
646
645
 
647
- logging.info(f"SVG Generated Correctly in: {self.chartname}")
646
+ logging.info(f"SVG Generated Correctly in: {chartname}")
648
647
 
649
648
  def makeAspectGridOnlyTemplate(self, minify: bool = False):
650
649
  """Creates the template for the SVG file with only the aspect grid"""
@@ -673,13 +672,12 @@ class KerykeionChartSVG:
673
672
  """Prints out the SVG file in the specified folder with only the aspect grid"""
674
673
 
675
674
  template = self.makeAspectGridOnlyTemplate(minify)
675
+ chartname = self.output_directory / f"{self.user.name} - {self.chart_type} Chart - Aspect Grid Only.svg"
676
676
 
677
- self.chartname = self.output_directory / f"{self.user.name} - {self.chart_type} Chart - Aspect Grid Only.svg"
678
-
679
- with open(self.chartname, "w", encoding="utf-8", errors="ignore") as output_file:
677
+ with open(chartname, "w", encoding="utf-8", errors="ignore") as output_file:
680
678
  output_file.write(template)
681
679
 
682
- logging.info(f"SVG Generated Correctly in: {self.chartname}")
680
+ logging.info(f"SVG Generated Correctly in: {chartname}")
683
681
 
684
682
 
685
683
  if __name__ == "__main__":
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "kerykeion"
3
- version = "4.18.3"
3
+ version = "4.18.5"
4
4
  authors = ["Giacomo Battaglia <kerykeion.astrology@gmail.com>"]
5
5
  description = "A python library for astrology."
6
6
  license = "AGPL-3.0"
File without changes
File without changes