Skip to main content

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!

alt text

>>> 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()

alt text

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


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 hashes)

Uploaded Source

Built Distribution

astrochart_svg-1.0.1-py3-none-any.whl (39.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page