kerykeion 4.16.4__py3-none-any.whl → 4.16.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.

@@ -572,7 +572,7 @@ class KerykeionChartSVG:
572
572
 
573
573
  # Set date time string
574
574
  dt = datetime.fromisoformat(self.user.iso_formatted_local_datetime)
575
- custom_format = dt.strftime('%Y-%-m-%-d %H:%M [%z]') # Note the use of '-' to remove leading zeros
575
+ custom_format = dt.strftime('%Y-%m-%d %H:%M [%z]')
576
576
  custom_format = custom_format[:-3] + ':' + custom_format[-3:]
577
577
  template_dict["stringDateTime"] = f"{custom_format}"
578
578
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kerykeion
3
- Version: 4.16.4
3
+ Version: 4.16.5
4
4
  Summary: A python library for astrology.
5
5
  Home-page: https://www.kerykeion.net/
6
6
  License: AGPL-3.0
@@ -318,6 +318,29 @@ More examples [here](https://www.kerykeion.net/docs/examples/perspective-type/).
318
318
 
319
319
  Full list of supported perspective types [here](https://www.kerykeion.net/pydocs/kerykeion/kr_types/kr_literals.html#PerspectiveType).
320
320
 
321
+ ## Theme
322
+
323
+ You can now personalize your astrological charts with different themes! Four themes are available:
324
+
325
+ - **Classic** (default)
326
+ - **Dark**
327
+ - **Dark High Contrast**
328
+ - **Light**
329
+
330
+ Each theme offers a distinct visual style, allowing you to choose the one that best suits your preferences or presentation needs. If you prefer more control over the appearance, you can opt not to set any theme, making it easier to customize the chart by overriding the default CSS variables. For more detailed instructions on how to apply themes, check the [documentation]().
331
+
332
+ Here's an example of how to set the theme:
333
+
334
+ ```python
335
+ from kerykeion import AstrologicalSubject, KerykeionChartSVG
336
+
337
+ dark_theme_subject = AstrologicalSubject("John Lennon - Dark Theme", 1940, 10, 9, 18, 30, "Liverpool", "GB")
338
+ dark_theme_natal_chart = KerykeionChartSVG(dark_high_contrast_theme_subject, theme="dark_high_contrast")
339
+ dark_theme_natal_chart.makeSVG()
340
+ ```
341
+
342
+ ![John Lennon](https://www.kerykeion.net/assets/img/showcase/John%20Lennon%20-%20Dark%20-%20Natal%20Chart.svg)
343
+
321
344
  ## Alternative Initialization
322
345
 
323
346
  You can initialize the AstrologicalSubject from a **UTC** ISO 8601 string:
@@ -351,16 +374,20 @@ Sooner or later I'll try to write an extensive documentation.
351
374
 
352
375
  You can clone this repository or download a zip file using the right side buttons.
353
376
 
354
- ## Contributing
377
+ ## Integrate Kerykeion Functionalities in Your Project
355
378
 
356
- Feel free to contribute to the code!
379
+ If you are interested in integrating Kerykeion's astrological functionalities into your project, I would be happy to collaborate with you. Whether you need custom features, support, or consultation, feel free to reach out to me at my [email](mailto:kerykeion.astrology@gmail.com?subject=Integration%20Request) address.
357
380
 
358
381
  ## License
359
382
 
360
383
  This project is licensed under the AGPL-3.0 License.
361
384
  To understand how this impacts your use of the software, please see the [LICENSE](LICENSE) file for details.
362
- If you have questions, you can reach out to me at my [email](mailto:battaglia.giacomo@yahoo.it?subject=Kerykeion) address.
385
+ If you have questions, you can reach out to me at my [email](mailto:kerykeion.astrology@gmail.com?subject=Kerykeion) address.
363
386
  As a rule of thumb, if you are using this library in a project, you should open source the code of the project with a compatible license.
364
387
 
365
388
  You can implement the logic of kerykeion in your project and also keep it closed source by using a third party API, like the [AstrologerAPI](https://rapidapi.com/gbattaglia/api/astrologer/). The AstrologerAPI is AGPL-3.0 compliant. Subscribing to the API is also, currently, the best way to support the project.
366
389
 
390
+ ## Contributing
391
+
392
+ Feel free to contribute to the code!
393
+
@@ -8,7 +8,7 @@ kerykeion/astrological_subject.py,sha256=YkEHyge_S6FTsAsLNuSMBR-4XdNMFhRo6lHqYdp
8
8
  kerykeion/charts/__init__.py,sha256=Juxkduy2TaagWblh_7CE8Acrg3dHL27-WEddJhau_eQ,127
9
9
  kerykeion/charts/charts_utils.py,sha256=IMvYy6jt6HmZZqpE1FIMhpL3eIqdxq2_aaF1RrpgzpE,42148
10
10
  kerykeion/charts/draw_planets.py,sha256=Uty3zpWYMQZvvK7ZHhlmynCHeL8DIN3qL2ifnBXVciM,17393
11
- kerykeion/charts/kerykeion_chart_svg.py,sha256=Es4G3jGEbU-RmDPAjQC_QOL6LUObiU2Gl8iwpF5Jc0g,40499
11
+ kerykeion/charts/kerykeion_chart_svg.py,sha256=guqdCojHkU4m7lubmEXmVandb0I-nOI2kHhdIubsk-M,40450
12
12
  kerykeion/charts/templates/aspect_grid_only.xml,sha256=5CUctWk2wgXV-ev2JHJ5yLlow7gzzFZz1eO744PLu2A,65150
13
13
  kerykeion/charts/templates/chart.xml,sha256=ryQao1xDqlSjNUY0HzZiJjdRK__mQoMFA3WV-W6t5Jo,68383
14
14
  kerykeion/charts/templates/wheel_only.xml,sha256=xyFlULo1rKZDk8kT9pRWgaEoYyNcmwK40PARKqr30FY,66372
@@ -33,8 +33,8 @@ kerykeion/settings/kr.config.json,sha256=OT_aqKDiWIGGufGyl4qRLWgz6_br0-VYuVAf_Jp
33
33
  kerykeion/sweph/README.md,sha256=L7FtNAJTWtrZNGKa8MX87SjduFYPYxwWhaI5fmtzNZo,73
34
34
  kerykeion/sweph/seas_18.se1,sha256=X9nCqhZU43wJpq61WAdueVQJt9xL2UjrwPqn1Kdoa1s,223002
35
35
  kerykeion/utilities.py,sha256=wJdjksXZlMWyvFnEe_1HQuCxYAtAWg-p8lqe2aO2zpE,9046
36
- kerykeion-4.16.4.dist-info/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
37
- kerykeion-4.16.4.dist-info/METADATA,sha256=hvJmPMkG1quGdw23pvMiS-AhLdexHZaYMk01tNxaIUQ,14428
38
- kerykeion-4.16.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
39
- kerykeion-4.16.4.dist-info/entry_points.txt,sha256=5SmANYscFDDTdeovHvGQ-cnj0hdFvGoxPaWLCpyDFnQ,49
40
- kerykeion-4.16.4.dist-info/RECORD,,
36
+ kerykeion-4.16.5.dist-info/LICENSE,sha256=UTLH8EdbAsgQei4PA2PnBCPGLSZkq5J-dhkyJuXgWQU,34273
37
+ kerykeion-4.16.5.dist-info/METADATA,sha256=DC7XQ9LOtEkvLgl6SQU2OhzzuTLmF_rHdO0bjpZT42M,15848
38
+ kerykeion-4.16.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
39
+ kerykeion-4.16.5.dist-info/entry_points.txt,sha256=5SmANYscFDDTdeovHvGQ-cnj0hdFvGoxPaWLCpyDFnQ,49
40
+ kerykeion-4.16.5.dist-info/RECORD,,