kerykeion 4.14.1__py3-none-any.whl → 4.14.3__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 +389 -24
- kerykeion/charts/kerykeion_chart_svg.py +80 -424
- kerykeion/charts/templates/chart.xml +69 -58
- kerykeion/kr_types/chart_types.py +1 -8
- kerykeion/kr_types/kr_models.py +35 -22
- kerykeion/kr_types/settings_models.py +2 -0
- {kerykeion-4.14.1.dist-info → kerykeion-4.14.3.dist-info}/METADATA +1 -1
- {kerykeion-4.14.1.dist-info → kerykeion-4.14.3.dist-info}/RECORD +11 -11
- {kerykeion-4.14.1.dist-info → kerykeion-4.14.3.dist-info}/LICENSE +0 -0
- {kerykeion-4.14.1.dist-info → kerykeion-4.14.3.dist-info}/WHEEL +0 -0
- {kerykeion-4.14.1.dist-info → kerykeion-4.14.3.dist-info}/entry_points.txt +0 -0
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
<svg
|
|
4
4
|
xmlns="http://www.w3.org/2000/svg"
|
|
5
5
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
xmlns:kr="https://www.kerykeion.net/"
|
|
7
|
+
width="100%"
|
|
8
|
+
height="100%"
|
|
8
9
|
viewBox="$viewbox"
|
|
9
10
|
preserveAspectRatio="xMidYMid"
|
|
10
11
|
>
|
|
11
12
|
<title>$stringTitle | Kerykeion</title>
|
|
12
13
|
<!--- Main Chart -->
|
|
13
|
-
<g transform="rotate($cfgRotate)">
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
<g kr:node="Main_Chart" transform="rotate($cfgRotate)">
|
|
15
|
+
|
|
16
|
+
<g kr:node="Main_Text">
|
|
17
|
+
<rect class="background-rectangle" x="0" y="0" width="$chart_width" height="$chart_height" style="fill: $paper_color_1" />
|
|
17
18
|
<text x="20" y="22" style="fill: $paper_color_0; font-size: 24px">$stringTitle</text>
|
|
18
19
|
<text x="20" y="50" style="fill: $paper_color_0; font-size: 11px">$stringName</text>
|
|
19
20
|
<text x="20" y="62" style="fill: $paper_color_0; font-size: 11px">$stringLocation</text>
|
|
@@ -26,77 +27,80 @@
|
|
|
26
27
|
<text x="20" y="480" style="fill: $paper_color_0; font-size: 10px">$bottomLeft2</text>
|
|
27
28
|
<text x="20" y="494" style="fill: $paper_color_0; font-size: 10px">$bottomLeft3</text>
|
|
28
29
|
<text x="20" y="508" style="fill: $paper_color_0; font-size: 10px">$bottomLeft4</text>
|
|
29
|
-
|
|
30
|
-
<g transform="translate(20,518)">
|
|
31
|
-
<g transform="rotate($lunar_phase_rotate 20 10)">
|
|
32
|
-
<defs>
|
|
33
|
-
<clipPath id="cut-off-circle">
|
|
34
|
-
<circle cx="20" cy="10" r="10" />
|
|
35
|
-
</clipPath>
|
|
36
|
-
</defs>
|
|
37
|
-
<circle cx="20" cy="10" r="10" style="fill: $lunar_phase_bg" />
|
|
38
|
-
<circle
|
|
39
|
-
cx="$lunar_phase_cx"
|
|
40
|
-
cy="10"
|
|
41
|
-
r="$lunar_phase_r"
|
|
42
|
-
style="fill: $lunar_phase_fg"
|
|
43
|
-
clip-path="url(#cut-off-circle)"
|
|
44
|
-
/>
|
|
45
|
-
<circle
|
|
46
|
-
cx="20"
|
|
47
|
-
cy="10"
|
|
48
|
-
r="10"
|
|
49
|
-
style="fill: none; stroke: $lunar_phase_outline; stroke-width: 0.5px; stroke-opacity: 0.5"
|
|
50
|
-
/>
|
|
51
|
-
</g>
|
|
52
|
-
</g>
|
|
53
|
-
<g transform="translate(50,50)">
|
|
54
|
-
<g transform="translate($circleX,$circleY)">
|
|
55
|
-
<!-- Zodiac -->
|
|
56
|
-
$makeZodiac
|
|
30
|
+
</g>
|
|
57
31
|
|
|
58
|
-
|
|
59
|
-
|
|
32
|
+
<!-- Lunar Phase -->
|
|
33
|
+
<g kr:node="Lunar_Phase" transform="translate(20,518)">
|
|
34
|
+
$moon_phase
|
|
35
|
+
</g>
|
|
60
36
|
|
|
61
|
-
|
|
62
|
-
|
|
37
|
+
<g kr:node="Main_Content" transform="translate(50,50)">
|
|
38
|
+
<!-- Zodiac -->
|
|
39
|
+
<g kr:node="Zodiac">
|
|
40
|
+
$makeZodiac
|
|
41
|
+
</g>
|
|
63
42
|
|
|
64
|
-
|
|
65
|
-
|
|
43
|
+
<!-- First Circle -->
|
|
44
|
+
<g kr:node="First_Circle">
|
|
45
|
+
$first_circle
|
|
46
|
+
</g>
|
|
66
47
|
|
|
67
|
-
|
|
68
|
-
|
|
48
|
+
<!-- Second Circle -->
|
|
49
|
+
<g kr:node="Second_Circle">
|
|
50
|
+
$second_circle
|
|
51
|
+
</g>
|
|
69
52
|
|
|
70
|
-
|
|
71
|
-
|
|
53
|
+
<!-- Third Circle -->
|
|
54
|
+
<g kr:node="Third_Circle">
|
|
55
|
+
$third_circle
|
|
56
|
+
</g>
|
|
72
57
|
|
|
73
|
-
|
|
74
|
-
|
|
58
|
+
<!-- Transit_Ring -->
|
|
59
|
+
<g kr:node="Transint_Ring">
|
|
60
|
+
$transitRing
|
|
61
|
+
</g>
|
|
75
62
|
|
|
76
|
-
|
|
77
|
-
|
|
63
|
+
<!-- Degree Ring -->
|
|
64
|
+
<g kr:node="Degree_Ring">
|
|
65
|
+
$degreeRing
|
|
66
|
+
</g>
|
|
78
67
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
68
|
+
<!-- Houses -->
|
|
69
|
+
<g kr:node="Houses_Wheel">
|
|
70
|
+
$makeHouses
|
|
71
|
+
</g>
|
|
82
72
|
|
|
83
|
-
|
|
84
|
-
|
|
73
|
+
<!-- Planets -->
|
|
74
|
+
<g kr:node="Planets_Wheel">
|
|
75
|
+
$makePlanets
|
|
76
|
+
</g>
|
|
77
|
+
|
|
78
|
+
<!-- Aspects -->
|
|
79
|
+
<g kr:node="Aspects_Wheel">
|
|
80
|
+
$makeAspects
|
|
81
|
+
</g>
|
|
85
82
|
|
|
86
|
-
|
|
83
|
+
<!-- AspectGrid -->
|
|
84
|
+
<g kr:node="Aspect_Grid">
|
|
87
85
|
$makeAspectGrid
|
|
86
|
+
</g>
|
|
88
87
|
|
|
89
|
-
|
|
88
|
+
<!-- Elements -->
|
|
89
|
+
<g kr:node="Elements_Percentages">
|
|
90
90
|
$elements_percentages
|
|
91
|
+
</g>
|
|
91
92
|
|
|
92
|
-
|
|
93
|
+
<!-- Planet Grid -->
|
|
94
|
+
<g kr:node="Planet_Grid">
|
|
93
95
|
$makePlanetGrid
|
|
96
|
+
</g>
|
|
94
97
|
|
|
95
|
-
|
|
98
|
+
<!-- Houses Grid -->
|
|
99
|
+
<g kr:node="Houses_Grid">
|
|
96
100
|
$makeHousesGrid
|
|
97
|
-
|
|
98
101
|
</g>
|
|
99
102
|
</g>
|
|
103
|
+
|
|
100
104
|
</g>
|
|
101
105
|
|
|
102
106
|
<!-- Symbols Definitions -->
|
|
@@ -525,5 +529,12 @@
|
|
|
525
529
|
style="fill: $paper_color_0"
|
|
526
530
|
/>
|
|
527
531
|
</symbol>
|
|
532
|
+
|
|
533
|
+
<!-- Moon Phases Cut Off Circle -->
|
|
534
|
+
<defs>
|
|
535
|
+
<clipPath id="moonPhaseCutOffCircle">
|
|
536
|
+
<circle cx="20" cy="10" r="10" />
|
|
537
|
+
</clipPath>
|
|
538
|
+
</defs>
|
|
528
539
|
</defs>
|
|
529
540
|
</svg>
|
|
@@ -6,17 +6,11 @@ class ChartTemplateDictionary(TypedDict):
|
|
|
6
6
|
degreeRing: str
|
|
7
7
|
first_circle: str
|
|
8
8
|
second_circle: str
|
|
9
|
-
|
|
10
|
-
c3style: str
|
|
9
|
+
third_circle: str
|
|
11
10
|
makeAspects: str
|
|
12
11
|
makeAspectGrid: str
|
|
13
|
-
makePatterns: str
|
|
14
12
|
chart_height: float
|
|
15
13
|
chart_width: float
|
|
16
|
-
circleX: str
|
|
17
|
-
circleY: str
|
|
18
|
-
svgWidth: str
|
|
19
|
-
svgHeight: str
|
|
20
14
|
viewbox: str
|
|
21
15
|
stringTitle: str
|
|
22
16
|
stringName: str
|
|
@@ -88,7 +82,6 @@ class ChartTemplateDictionary(TypedDict):
|
|
|
88
82
|
orb_color_150: str
|
|
89
83
|
orb_color_180: str
|
|
90
84
|
|
|
91
|
-
cfgZoom: str
|
|
92
85
|
cfgRotate: str
|
|
93
86
|
cfgTranslate: str
|
|
94
87
|
makeZodiac: str
|
kerykeion/kr_types/kr_models.py
CHANGED
|
@@ -7,12 +7,29 @@
|
|
|
7
7
|
from typing import Union, Optional
|
|
8
8
|
from pydantic import BaseModel
|
|
9
9
|
|
|
10
|
-
from kerykeion.kr_types import
|
|
10
|
+
from kerykeion.kr_types import (
|
|
11
|
+
LunarPhaseEmoji,
|
|
12
|
+
LunarPhaseName,
|
|
13
|
+
Planet,
|
|
14
|
+
Houses,
|
|
15
|
+
Quality,
|
|
16
|
+
Element,
|
|
17
|
+
Sign,
|
|
18
|
+
ZodiacType,
|
|
19
|
+
SignNumbers,
|
|
20
|
+
HouseNumbers,
|
|
21
|
+
PointType,
|
|
22
|
+
SiderealMode,
|
|
23
|
+
HousesSystemIdentifier,
|
|
24
|
+
Houses,
|
|
25
|
+
)
|
|
26
|
+
|
|
11
27
|
|
|
12
28
|
class SubscriptableBaseModel(BaseModel):
|
|
13
29
|
"""
|
|
14
30
|
Pydantic BaseModel with subscriptable support, so you can access the fields as if they were a dictionary.
|
|
15
31
|
"""
|
|
32
|
+
|
|
16
33
|
def __getitem__(self, key):
|
|
17
34
|
return getattr(self, key)
|
|
18
35
|
|
|
@@ -25,6 +42,7 @@ class SubscriptableBaseModel(BaseModel):
|
|
|
25
42
|
def get(self, key, default):
|
|
26
43
|
return getattr(self, key, default)
|
|
27
44
|
|
|
45
|
+
|
|
28
46
|
class LunarPhaseModel(SubscriptableBaseModel):
|
|
29
47
|
degrees_between_s_m: Union[float, int]
|
|
30
48
|
moon_phase: int
|
|
@@ -72,7 +90,7 @@ class AstrologicalSubjectModel(SubscriptableBaseModel):
|
|
|
72
90
|
iso_formatted_local_datetime: str
|
|
73
91
|
iso_formatted_utc_datetime: str
|
|
74
92
|
julian_day: float
|
|
75
|
-
|
|
93
|
+
|
|
76
94
|
# Deprecated properties -->
|
|
77
95
|
utc_time: float
|
|
78
96
|
local_time: float
|
|
@@ -121,27 +139,22 @@ class AstrologicalSubjectModel(SubscriptableBaseModel):
|
|
|
121
139
|
# planets_degrees_ut: list[float]
|
|
122
140
|
# houses_degree_ut: list[float]
|
|
123
141
|
|
|
124
|
-
|
|
142
|
+
|
|
143
|
+
class EphemerisDictModel(SubscriptableBaseModel):
|
|
125
144
|
date: str
|
|
126
145
|
planets: list[KerykeionPointModel]
|
|
127
146
|
houses: list[KerykeionPointModel]
|
|
128
147
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
emoji="♈",
|
|
143
|
-
point_type="Planet",
|
|
144
|
-
)
|
|
145
|
-
|
|
146
|
-
print(sun.model_dump_json())
|
|
147
|
-
print(sun)
|
|
148
|
+
|
|
149
|
+
class AspectModel(SubscriptableBaseModel):
|
|
150
|
+
p1_name: str
|
|
151
|
+
p1_abs_pos: float
|
|
152
|
+
p2_name: str
|
|
153
|
+
p2_abs_pos: float
|
|
154
|
+
aspect: str
|
|
155
|
+
orbit: float
|
|
156
|
+
aspect_degrees: int
|
|
157
|
+
aid: int
|
|
158
|
+
diff: float
|
|
159
|
+
p1: int
|
|
160
|
+
p2: int
|
|
@@ -64,6 +64,8 @@ class KerykeionSettingsChartColorsModel(SubscriptableBaseModel):
|
|
|
64
64
|
zodiac_transit_ring_3: str = Field(title="Zodiac Transit Ring Color 3", description="Zodiac Transit Ring Color 3")
|
|
65
65
|
houses_radix_line: str = Field(title="Houses Radix Line Color", description="Houses Radix Line Color")
|
|
66
66
|
houses_transit_line: str = Field(title="Houses Transit Line Color", description="Houses Transit Line Color")
|
|
67
|
+
|
|
68
|
+
# Deprecated: Not used anymore
|
|
67
69
|
lunar_phase_0: str = Field(title="Lunar Phase Color 0", description="Lunar Phase Color 0")
|
|
68
70
|
lunar_phase_1: str = Field(title="Lunar Phase Color 1", description="Lunar Phase Color 1")
|
|
69
71
|
lunar_phase_2: str = Field(title="Lunar Phase Color 2", description="Lunar Phase Color 2")
|
|
@@ -6,18 +6,18 @@ kerykeion/aspects/natal_aspects.py,sha256=jzYItHWZcyaWqWJ6_akwFx3ct1eFesCcu0fE5l
|
|
|
6
6
|
kerykeion/aspects/synastry_aspects.py,sha256=uYzHZNSw7IckE5ngtyaQ7LhNzCfTB4VZOhKlly43-oc,4167
|
|
7
7
|
kerykeion/astrological_subject.py,sha256=zewCsuCdCyrhDRPgaNiwEPM4KaQPfKWFPFxj3Y76ZVk,35472
|
|
8
8
|
kerykeion/charts/__init__.py,sha256=Juxkduy2TaagWblh_7CE8Acrg3dHL27-WEddJhau_eQ,127
|
|
9
|
-
kerykeion/charts/charts_utils.py,sha256=
|
|
10
|
-
kerykeion/charts/kerykeion_chart_svg.py,sha256=
|
|
11
|
-
kerykeion/charts/templates/chart.xml,sha256=
|
|
9
|
+
kerykeion/charts/charts_utils.py,sha256=A6ZHCM9en_BeCOAaoVmyH9yrm_TUD-vg9np4myvl-Rw,29448
|
|
10
|
+
kerykeion/charts/kerykeion_chart_svg.py,sha256=0_jgZDuXWzgWTgOmuBshYDAr9H_w-spNnQ1iPe1TzQQ,49313
|
|
11
|
+
kerykeion/charts/templates/chart.xml,sha256=axmNWwAgPpuSNRDx-aaaArO29fZXQ9E8ODSFInOZuH8,68435
|
|
12
12
|
kerykeion/enums.py,sha256=Xp_0A6jBSW7SZvB5LlKfBObg0xTqB6hTq1IXjz-UWl4,997
|
|
13
13
|
kerykeion/ephemeris_data.py,sha256=8r-h4wPKFwfM--DFcxv5QouoqlYCJbaH78d5PKh8v_E,8085
|
|
14
14
|
kerykeion/fetch_geonames.py,sha256=NmyTErvKISjJCAxvRB1H35aVZI8_-_U-Cqb_rmqRseA,4563
|
|
15
15
|
kerykeion/kr_types/__init__.py,sha256=-qhGQikurdoHnGtuT1bsaEeZ-IwmZtIHMjGOPC9_oqQ,295
|
|
16
|
-
kerykeion/kr_types/chart_types.py,sha256=
|
|
16
|
+
kerykeion/kr_types/chart_types.py,sha256=GmX7u7wDXax8y4ZbQZCrvvUzAquuILcjGFzTuk9WGkw,2110
|
|
17
17
|
kerykeion/kr_types/kerykeion_exception.py,sha256=G-7VFta78qBt10l54JZWvwH-3lUNKmDwuILXaVGVu9A,314
|
|
18
18
|
kerykeion/kr_types/kr_literals.py,sha256=o1yLhsWNOTSCd3O1pYGhQU4w9sUEF9mt_v6DWUqutyE,3156
|
|
19
|
-
kerykeion/kr_types/kr_models.py,sha256=
|
|
20
|
-
kerykeion/kr_types/settings_models.py,sha256=
|
|
19
|
+
kerykeion/kr_types/kr_models.py,sha256=nrH0GJAWQiAG8MECW3WUuy_DlB6aLET1zPqSFIBV2BE,3648
|
|
20
|
+
kerykeion/kr_types/settings_models.py,sha256=loWmKjqE4uOxFy_2Evuj8m32sChL5o9dHQGP43gFD00,12532
|
|
21
21
|
kerykeion/relationship_score.py,sha256=R9JugfK5_gJgr5ND-EghkqpqZcutzzKlJ-2JnYUMVv4,6794
|
|
22
22
|
kerykeion/report.py,sha256=kS5avIN119pJVapYjZOvabg77nEcA8sSrOuXbRifABk,2565
|
|
23
23
|
kerykeion/settings/__init__.py,sha256=QQNFCl7sgN27MKaVscqtpPk10HGz4wZS3I_7KEGMaVA,69
|
|
@@ -26,8 +26,8 @@ kerykeion/settings/kr.config.json,sha256=3BNbPBfF-hCMx-LWtQxWCE7npf7lOrJ-AIOzowL
|
|
|
26
26
|
kerykeion/sweph/README.md,sha256=L7FtNAJTWtrZNGKa8MX87SjduFYPYxwWhaI5fmtzNZo,73
|
|
27
27
|
kerykeion/sweph/seas_18.se1,sha256=X9nCqhZU43wJpq61WAdueVQJt9xL2UjrwPqn1Kdoa1s,223002
|
|
28
28
|
kerykeion/utilities.py,sha256=s6zY1n25awevSy3qqsO03Bvnkh2Z7GMyinpYc9zU9Fs,11447
|
|
29
|
-
kerykeion-4.14.
|
|
30
|
-
kerykeion-4.14.
|
|
31
|
-
kerykeion-4.14.
|
|
32
|
-
kerykeion-4.14.
|
|
33
|
-
kerykeion-4.14.
|
|
29
|
+
kerykeion-4.14.3.dist-info/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
|
|
30
|
+
kerykeion-4.14.3.dist-info/METADATA,sha256=wO4X1FoazALDF2rPhZ2jhBIvJY-8Bbhpr3WDG4S-lQM,14410
|
|
31
|
+
kerykeion-4.14.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
32
|
+
kerykeion-4.14.3.dist-info/entry_points.txt,sha256=5SmANYscFDDTdeovHvGQ-cnj0hdFvGoxPaWLCpyDFnQ,49
|
|
33
|
+
kerykeion-4.14.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|