kerykeion 4.24.5__py3-none-any.whl → 4.24.7__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/charts/charts_utils.py +3 -1
- kerykeion/charts/templates/chart.xml +1 -1
- kerykeion/settings/kerykeion_settings.py +19 -2
- {kerykeion-4.24.5.dist-info → kerykeion-4.24.7.dist-info}/METADATA +1 -1
- {kerykeion-4.24.5.dist-info → kerykeion-4.24.7.dist-info}/RECORD +8 -8
- {kerykeion-4.24.5.dist-info → kerykeion-4.24.7.dist-info}/LICENSE +0 -0
- {kerykeion-4.24.5.dist-info → kerykeion-4.24.7.dist-info}/WHEEL +0 -0
- {kerykeion-4.24.5.dist-info → kerykeion-4.24.7.dist-info}/entry_points.txt +0 -0
kerykeion/charts/charts_utils.py
CHANGED
|
@@ -758,8 +758,10 @@ def draw_transit_aspect_list(
|
|
|
758
758
|
inner_path += f"</g>"
|
|
759
759
|
line = line + 14
|
|
760
760
|
|
|
761
|
-
out =
|
|
761
|
+
out = '<g transform="translate(526,273)">'
|
|
762
|
+
out += f'<text y="-15" x="0" style="fill: var(--kerykeion-chart-color-paper-0); font-size: 14px;">{grid_title}:</text>'
|
|
762
763
|
out += inner_path
|
|
764
|
+
out += '</g>'
|
|
763
765
|
|
|
764
766
|
return out
|
|
765
767
|
|
|
@@ -9,6 +9,7 @@ import logging
|
|
|
9
9
|
from pathlib import Path
|
|
10
10
|
from typing import Dict, Union
|
|
11
11
|
from kerykeion.kr_types import KerykeionSettingsModel
|
|
12
|
+
import functools
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
def get_settings(new_settings_file: Union[Path, None, KerykeionSettingsModel, dict] = None) -> KerykeionSettingsModel:
|
|
@@ -47,8 +48,7 @@ def get_settings(new_settings_file: Union[Path, None, KerykeionSettingsModel, di
|
|
|
47
48
|
settings_file = Path(__file__).parent / "kr.config.json"
|
|
48
49
|
|
|
49
50
|
logging.debug(f"Kerykeion config file path: {settings_file}")
|
|
50
|
-
|
|
51
|
-
settings_dict = load(f)
|
|
51
|
+
settings_dict = load_settings_file(settings_file)
|
|
52
52
|
|
|
53
53
|
return KerykeionSettingsModel(**settings_dict)
|
|
54
54
|
|
|
@@ -69,6 +69,23 @@ def merge_settings(settings: KerykeionSettingsModel, new_settings: Dict) -> Kery
|
|
|
69
69
|
return KerykeionSettingsModel(**new_settings_dict)
|
|
70
70
|
|
|
71
71
|
|
|
72
|
+
@functools.lru_cache
|
|
73
|
+
def load_settings_file(settings_file_path: str) -> dict:
|
|
74
|
+
"""
|
|
75
|
+
This function is used to load the settings file from a path.
|
|
76
|
+
|
|
77
|
+
Args:
|
|
78
|
+
settings_file (Path): The path of the settings file
|
|
79
|
+
|
|
80
|
+
Returns:
|
|
81
|
+
dict: The settings dict
|
|
82
|
+
"""
|
|
83
|
+
with open(settings_file_path, "r", encoding="utf8") as f:
|
|
84
|
+
settings_dict = load(f)
|
|
85
|
+
|
|
86
|
+
return settings_dict
|
|
87
|
+
|
|
88
|
+
|
|
72
89
|
if __name__ == "__main__":
|
|
73
90
|
from kerykeion.utilities import setup_logging
|
|
74
91
|
setup_logging(level="debug")
|
|
@@ -6,11 +6,11 @@ kerykeion/aspects/natal_aspects.py,sha256=LHSorTAMLry-0KJWRZ0QQCBiRbuYnZkoIEFVwa
|
|
|
6
6
|
kerykeion/aspects/synastry_aspects.py,sha256=5vU8yJgAGRyVBoKvRpsg-0AcQg-imOzH91tvDM_RUNQ,5044
|
|
7
7
|
kerykeion/astrological_subject.py,sha256=pzy9Fipg-ywCk5bZoGoA8bhs4M2r2JZBWoC3ZxHQrQ8,38245
|
|
8
8
|
kerykeion/charts/__init__.py,sha256=i9NMZ7LdkllPlqQSi1or9gTobHbROGDKmJhBDO4R0mA,128
|
|
9
|
-
kerykeion/charts/charts_utils.py,sha256=
|
|
9
|
+
kerykeion/charts/charts_utils.py,sha256=Oai_hlWIDjZ9MDs2werutMblOZqklf5FMl3l5oPN70w,42132
|
|
10
10
|
kerykeion/charts/draw_planets.py,sha256=Uty3zpWYMQZvvK7ZHhlmynCHeL8DIN3qL2ifnBXVciM,17393
|
|
11
11
|
kerykeion/charts/kerykeion_chart_svg.py,sha256=DbtfKA3ieM56YTSTBV3i1bd5zhDlsDyYafHRci6C_jw,46006
|
|
12
12
|
kerykeion/charts/templates/aspect_grid_only.xml,sha256=ZiBVeToVmCA8QxYlB_cfnsAO1NNeQAnJ_6rIYkr4F58,70091
|
|
13
|
-
kerykeion/charts/templates/chart.xml,sha256=
|
|
13
|
+
kerykeion/charts/templates/chart.xml,sha256=yr13hN0xsxvMQpVb9cMMK86lxrqy_PxGuOzj-4jdM4E,73733
|
|
14
14
|
kerykeion/charts/templates/wheel_only.xml,sha256=E0JCxcnjTjxuaomw7PQEc_3xRVErj1y2hIOGTrShuhc,71304
|
|
15
15
|
kerykeion/charts/themes/classic.css,sha256=-b6XllAZmqUDjBwDtIkfzfI3Wtc8AImuGMpfAQ_2wa0,3552
|
|
16
16
|
kerykeion/charts/themes/dark-high-contrast.css,sha256=9tdyFC-4Ytnv4lrVwKnOjZJ0YNgbRrP_HNnfJRlnbn0,6099
|
|
@@ -31,13 +31,13 @@ kerykeion/relationship_score/relationship_score_factory.py,sha256=NbQZ7jh2-7CGk8
|
|
|
31
31
|
kerykeion/report.py,sha256=snqnrJzb89q2ixL74qS9ksvzNSh_WXtZ_haBOIvHYeY,2814
|
|
32
32
|
kerykeion/settings/__init__.py,sha256=QQNFCl7sgN27MKaVscqtpPk10HGz4wZS3I_7KEGMaVA,69
|
|
33
33
|
kerykeion/settings/config_constants.py,sha256=OUi28L2l8s09Df3GHiQUiBZuTjOdfL4A5zSRNqBRHc8,1255
|
|
34
|
-
kerykeion/settings/kerykeion_settings.py,sha256=
|
|
34
|
+
kerykeion/settings/kerykeion_settings.py,sha256=7GCGUzcctEg5uyWlzRk2YIotJSkCZDOVAo_CXwgMeK4,2934
|
|
35
35
|
kerykeion/settings/kr.config.json,sha256=01xm7VOmGxMa86VM8VL8giYmnDTkfo2aE9qjIfIouM0,21113
|
|
36
36
|
kerykeion/sweph/README.md,sha256=L7FtNAJTWtrZNGKa8MX87SjduFYPYxwWhaI5fmtzNZo,73
|
|
37
37
|
kerykeion/sweph/seas_18.se1,sha256=X9nCqhZU43wJpq61WAdueVQJt9xL2UjrwPqn1Kdoa1s,223002
|
|
38
38
|
kerykeion/utilities.py,sha256=vuEDWs5Htl2zi6_3flLvlAsFC9YT9LaOQDpRirFf3Cg,11160
|
|
39
|
-
kerykeion-4.24.
|
|
40
|
-
kerykeion-4.24.
|
|
41
|
-
kerykeion-4.24.
|
|
42
|
-
kerykeion-4.24.
|
|
43
|
-
kerykeion-4.24.
|
|
39
|
+
kerykeion-4.24.7.dist-info/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
|
|
40
|
+
kerykeion-4.24.7.dist-info/METADATA,sha256=G2rliphV4dNmNQELo_0TuLfJxCRb0qXn_hRe3QezRYE,17722
|
|
41
|
+
kerykeion-4.24.7.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
42
|
+
kerykeion-4.24.7.dist-info/entry_points.txt,sha256=5SmANYscFDDTdeovHvGQ-cnj0hdFvGoxPaWLCpyDFnQ,49
|
|
43
|
+
kerykeion-4.24.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|