Skip to main content

Vedic Astrology Calculation Library

Project description

Ascendant

Ascendant is a Python library for Vedic Astrology calculations, providing functionalities for charts, dashas, and yogas.

Installation

Install via pip:

pip install astro-ascendant

PyPI no longer supports specifying external packages (eg:git repo URLs) in dependencies in the pyproject.toml file. To install the required package flatlib from the sidereal branch, run the following command, after completion of above pip install astro-ascendant command:

pip install git+https://github.com/thaletto/flatlib.git@sidereal#egg=flatlib

Documentation

For more detailed information, check out the documentation in the docs folder:

Core Functionalities:

  • Chart Calculations: Compute and analyze divisional astrological charts (Varga chakras).
  • Dasha System: Implementation of the Vimshottari Dasha system for planetary periods.
  • Yoga Combinations: Identification and interpretation of various Yoga (planetary combinations).

Usage

from ascendant import Ascendant

# Initialize with birth details
astro = Ascendant(
    year=1990, month=1, day=1,
    hour=12, minute=0, second=0,
    latitude=28.6139, longitude=77.2090,
    utc="+5:30"
)

# Get Rasi Chart (D1)
chart = astro.get_chart(division=1)

# Get Yogas
yogas = astro.get_yogas()

# Get Dasha Timeline
dasha = astro.get_dasha_timeline()

Advanced Usage

astro = Ascendant(
    ...
    ayanamsa = "krishnamurti"
    house_system = "equal"
)

Available Ayanamsa

  • Lahiri (default)
  • Lahiri_1940
  • Lahiri_VP285
  • Lahiri_ICRC
  • Raman
  • Krishnamurti
  • Krishnamurti_Senthilathiban

Available House System

  • Whole Sign (default)
  • Placidus
  • Equal
  • Equal 2

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

astro_ascendant-0.1.6.tar.gz (93.1 kB view details)

Uploaded Source

Built Distribution

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

astro_ascendant-0.1.6-py3-none-any.whl (85.8 kB view details)

Uploaded Python 3

File details

Details for the file astro_ascendant-0.1.6.tar.gz.

File metadata

  • Download URL: astro_ascendant-0.1.6.tar.gz
  • Upload date:
  • Size: 93.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for astro_ascendant-0.1.6.tar.gz
Algorithm Hash digest
SHA256 bf4f3ea937d3967e41159a4805bd96994ee9f0c07f8e0a9687072e8a6ca713e1
MD5 d8c8bbec8ef153356c0c02b81f148f22
BLAKE2b-256 71213aac80cef05381ee8ee84c75c38c1c23de775818bccad27880f3227b8c45

See more details on using hashes here.

Provenance

The following attestation bundles were made for astro_ascendant-0.1.6.tar.gz:

Publisher: python-publish.yml on thaletto/ascendant

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file astro_ascendant-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: astro_ascendant-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 85.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for astro_ascendant-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 da43c69cf18537c11dc0083b5297fa4c3b9d3e7fe5d1da0b6322d67bdcfe47f2
MD5 367b53dd16a81b227287ded43aca6169
BLAKE2b-256 782e0efcf371fae530e4ac89d0c7bc8a22fd87ad2e7429923b09ffa01a5f056e

See more details on using hashes here.

Provenance

The following attestation bundles were made for astro_ascendant-0.1.6-py3-none-any.whl:

Publisher: python-publish.yml on thaletto/ascendant

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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