Chart SVG generator for astrology.
Project description
Astro Charts SVG
astro_svg is a chart generator based on Kerykeion and Opeanstro. Like the titles says it prints out SVG file of the chart, it's very easy to use.
# Install:
>>> pip3 install astro_svg
#Import:
>>> import astrochart_svg as as
# Make the instance:
>>> kanye = as.MakeInstance("Kanye", 1977, 6, 8, 8, 45, "Atlanta", type="Natal")
# Set the output directory for the SVG:
>>> kanye.output_directory = "/Users/{YourName}"
#Generate the SVG:
>>> kanye.makeSVG()
SVG generated successfully!
>>> first = kr.Calculator("Jack", 1990, 6, 15, 13, 00, "Montichiari")
>>> second = kr.Calculator("Jane", 1991, 6, 11, 21, 00, "Cremona")
>>> name = MakeInstance(first, chart_type="Transit", second_obj=second)
>>> name.makeSVG()
Documentation
Just like in the exemple, first make an instance and then use the makeSVG() to generate the SVG chart. The file generated has the name you inserted followed by Chart.svg
Installation
BirtchartSVG is Python 3 package, make sure you have Python 3 installed on your system.
Development
You can clone this repository or download a zip file using the right side buttons.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
astrochart_svg-1.0.1.tar.gz
(40.9 kB
view details)
Built Distribution
File details
Details for the file astrochart_svg-1.0.1.tar.gz
.
File metadata
- Download URL: astrochart_svg-1.0.1.tar.gz
- Upload date:
- Size: 40.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6727c9842428b85d175f76e4c5f4c415be83b4ebaae909475949e7edf69ac889 |
|
MD5 | 861e444e25804dafd68cd04b3c47ce5d |
|
BLAKE2b-256 | 9a598a00358b30abe970cf9de13fe911081c03fe9eae89ea62ff2fb70fd0e0d3 |
File details
Details for the file astrochart_svg-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: astrochart_svg-1.0.1-py3-none-any.whl
- Upload date:
- Size: 39.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04bca30138fd828925950035a2352b60e620dad23914b6b48b5c77cc8d9bbd67 |
|
MD5 | 0ca721ee9c1c54adfdae688b94db2e02 |
|
BLAKE2b-256 | cb2e7fd66ff57c504b30a8e12ba7cfd298332759ef32c2761878aedde28c082d |