Skip to main content

An open source Python library for advanced astronomical calculations like planet longitude, house sign, shadbala, etc...

Project description

✨ Vedic Astrology in Python

License GitHub Issues

🙏 How VedAstro can help you...

  • Website --> easy & fast astrology data for normal users
  • AI Astrologer --> 🤖 World's 1st open source Vedic AI astrologer
  • Numerology --> Accurate Name Numerology using Mantra Shastra

🗺️ What can this do?

Easily code complex vedic astrology math and logic. A powerful tool for astronomical calculations and data analysis. It provides a collection of functions and classes to perform various astronomical calculations, such as celestial object positions, time conversions, coordinate transformations, and more.

🏎️ Quick Start

Step 1: Run pip install vedastro

Step 2: Do astro calculation in less than 10 lines

from vedastro import * 

#PART 1 : PREPARE NEEDED DATA
#-----------------------------------

# set birth location
geolocation = GeoLocation("Tokyo, Japan", 139.83, 35.65)

# group all birth time data together (day/month/year)
birth_time = Time("23:40 31/12/2010 +08:00", geolocation)

#PART 2 : CALCULATE ALL DATA
#-----------------------------------

#PLANETS
allPlanetDataList = Calculate.AllPlanetData(PlanetName.Sun, birth_time)
print(json.dumps(allPlanetDataList, indent=4))

#HOUSES
allHouseDataList = Calculate.AllHouseData(HouseName.House1, birth_time)
print(json.dumps(allHouseDataList, indent=4))

#ZODIAC SIGNS
allZodiacDataList = Calculate.AllZodiacSignData(ZodiacName.Gemini, birth_time)
print(json.dumps(allZodiacDataList, indent=4))

Step 3: Done ✅

🧮 +400 Calculations

400-plus-calculation-python

⚙️ How it works

Coded & compiled in C# for maximum CPU computation efficency and speed, then made available in a Python wrapper. Can be run in Linux, Windows & Mac OS.


Contributing

Contributions to VedAstro Python are welcome! If you find a bug, have a feature request, or want to contribute code, please open an issue or submit a pull request. Make sure to read our contribution guidelines before getting started.

License

VedAstro Python is released under the MIT License. See LICENSE for more information.

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

vedastro-1.23.19.tar.gz (34.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vedastro-1.23.19-py3-none-any.whl (35.2 kB view details)

Uploaded Python 3

File details

Details for the file vedastro-1.23.19.tar.gz.

File metadata

  • Download URL: vedastro-1.23.19.tar.gz
  • Upload date:
  • Size: 34.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vedastro-1.23.19.tar.gz
Algorithm Hash digest
SHA256 99158a2c0d80d0422b2b662e1080b89451a9061361660c372db499f0cc71ef3f
MD5 67d136e2cee40841208d10a0a3f8b1bd
BLAKE2b-256 7e5b534bd9969232853ed5dd3731c814624c31c44d8607c11fef493ec7ed01d5

See more details on using hashes here.

File details

Details for the file vedastro-1.23.19-py3-none-any.whl.

File metadata

  • Download URL: vedastro-1.23.19-py3-none-any.whl
  • Upload date:
  • Size: 35.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vedastro-1.23.19-py3-none-any.whl
Algorithm Hash digest
SHA256 c156783a59a7eb305cfb8d128664e46b0eb6947b96112ddcfc8a30c149e65ad9
MD5 e708ed3f11e5912d0b592c7fa668b105
BLAKE2b-256 fdba8f03a5120458b3c84619d18accbbd53b0158cebf4d440a6255c5637dc31c

See more details on using hashes here.

Supported by

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