kerykeion 4.16.4__tar.gz → 4.16.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 (38) hide show
  1. {kerykeion-4.16.4 → kerykeion-4.16.5}/PKG-INFO +31 -4
  2. {kerykeion-4.16.4 → kerykeion-4.16.5}/README.md +30 -3
  3. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/charts/kerykeion_chart_svg.py +1 -1
  4. {kerykeion-4.16.4 → kerykeion-4.16.5}/pyproject.toml +1 -1
  5. {kerykeion-4.16.4 → kerykeion-4.16.5}/LICENSE +0 -0
  6. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/__init__.py +0 -0
  7. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/aspects/__init__.py +0 -0
  8. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/aspects/aspects_utils.py +0 -0
  9. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/aspects/natal_aspects.py +0 -0
  10. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/aspects/synastry_aspects.py +0 -0
  11. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/astrological_subject.py +0 -0
  12. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/charts/__init__.py +0 -0
  13. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/charts/charts_utils.py +0 -0
  14. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/charts/draw_planets.py +0 -0
  15. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/charts/templates/aspect_grid_only.xml +0 -0
  16. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/charts/templates/chart.xml +0 -0
  17. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/charts/templates/wheel_only.xml +0 -0
  18. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/charts/themes/classic.css +0 -0
  19. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/charts/themes/dark-high-contrast.css +0 -0
  20. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/charts/themes/dark.css +0 -0
  21. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/charts/themes/light.css +0 -0
  22. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/enums.py +0 -0
  23. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/ephemeris_data.py +0 -0
  24. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/fetch_geonames.py +0 -0
  25. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/kr_types/__init__.py +0 -0
  26. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/kr_types/chart_types.py +0 -0
  27. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/kr_types/kerykeion_exception.py +0 -0
  28. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/kr_types/kr_literals.py +0 -0
  29. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/kr_types/kr_models.py +0 -0
  30. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/kr_types/settings_models.py +0 -0
  31. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/relationship_score.py +0 -0
  32. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/report.py +0 -0
  33. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/settings/__init__.py +0 -0
  34. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/settings/kerykeion_settings.py +0 -0
  35. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/settings/kr.config.json +0 -0
  36. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/sweph/README.md +0 -0
  37. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/sweph/seas_18.se1 +0 -0
  38. {kerykeion-4.16.4 → kerykeion-4.16.5}/kerykeion/utilities.py +0 -0
@@ -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
+
@@ -281,6 +281,29 @@ More examples [here](https://www.kerykeion.net/docs/examples/perspective-type/).
281
281
 
282
282
  Full list of supported perspective types [here](https://www.kerykeion.net/pydocs/kerykeion/kr_types/kr_literals.html#PerspectiveType).
283
283
 
284
+ ## Theme
285
+
286
+ You can now personalize your astrological charts with different themes! Four themes are available:
287
+
288
+ - **Classic** (default)
289
+ - **Dark**
290
+ - **Dark High Contrast**
291
+ - **Light**
292
+
293
+ 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]().
294
+
295
+ Here's an example of how to set the theme:
296
+
297
+ ```python
298
+ from kerykeion import AstrologicalSubject, KerykeionChartSVG
299
+
300
+ dark_theme_subject = AstrologicalSubject("John Lennon - Dark Theme", 1940, 10, 9, 18, 30, "Liverpool", "GB")
301
+ dark_theme_natal_chart = KerykeionChartSVG(dark_high_contrast_theme_subject, theme="dark_high_contrast")
302
+ dark_theme_natal_chart.makeSVG()
303
+ ```
304
+
305
+ ![John Lennon](https://www.kerykeion.net/assets/img/showcase/John%20Lennon%20-%20Dark%20-%20Natal%20Chart.svg)
306
+
284
307
  ## Alternative Initialization
285
308
 
286
309
  You can initialize the AstrologicalSubject from a **UTC** ISO 8601 string:
@@ -314,15 +337,19 @@ Sooner or later I'll try to write an extensive documentation.
314
337
 
315
338
  You can clone this repository or download a zip file using the right side buttons.
316
339
 
317
- ## Contributing
340
+ ## Integrate Kerykeion Functionalities in Your Project
318
341
 
319
- Feel free to contribute to the code!
342
+ 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.
320
343
 
321
344
  ## License
322
345
 
323
346
  This project is licensed under the AGPL-3.0 License.
324
347
  To understand how this impacts your use of the software, please see the [LICENSE](LICENSE) file for details.
325
- If you have questions, you can reach out to me at my [email](mailto:battaglia.giacomo@yahoo.it?subject=Kerykeion) address.
348
+ If you have questions, you can reach out to me at my [email](mailto:kerykeion.astrology@gmail.com?subject=Kerykeion) address.
326
349
  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.
327
350
 
328
351
  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.
352
+
353
+ ## Contributing
354
+
355
+ Feel free to contribute to the code!
@@ -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
  [tool.poetry]
2
2
  name = "kerykeion"
3
- version = "4.16.4"
3
+ version = "4.16.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