Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

notwaris/yaegi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌌 Yaegi – Vedic Astrology Library

A modern Python library for Vedic Astrology (Jyotish) – Accurate astronomy, Kundali generation, Panchang, Dashas & compatibility, all in one.

[📖 Docs] [✨ Contribution] [⬇️ PyPI]


Note

Yaegi brings together classical Vedic astrology principles with modern Python development, making Kundali, Panchang, Dasha, and Yogas accessible via code or CLI.

Warning

This project is a calculation engine, not a substitute for professional astrological guidance.


✨ Highlights

  • 🪐 Astronomical Calculations – Planetary positions, ascendant, house systems
  • 🔮 Kundali Generation – D1 Lagna, divisional charts (Navamsa, Dashamsa, D60)
  • 📅 Panchang – Tithi, Nakshatra, Yoga, Karana
  • 📊 Dasha Systems – Vimshottari with Mahadasha & Antardasha
  • 🧩 Yoga Detection – Raj Yogas, Dhan Yogas, Panch Mahapurush Yogas
  • ❤️ Compatibility – Full 36-point Guna Milan with recommendations
  • CLI & API – Use in scripts or command line
  • 📝 Output Formats – JSON, dict, formatted text

🚀 Quick Start

pip install yaegi

Kundali Example

from yaegi import KundaliGenerator
from datetime import datetime

generator = KundaliGenerator()
chart = generator.generate_chart(
    birth_date=datetime(1990, 5, 15, 14, 30),
    latitude=28.6139, longitude=77.2090, timezone="Asia/Kolkata"
)

for planet in chart.planets:
    print(f"{planet.name}: {planet.dms} in House {planet.house}")

Panchang Example

from yaegi import PanchangGenerator
panchang = PanchangGenerator().generate_panchang(datetime(2024, 1, 15), 28.6139, 77.2090)

print(f"Tithi: {panchang['tithi']['name']}")

🧮 CLI Usage

yaegi kundali --date 1990-05-15 --time 14:30 --latitude 28.61 --longitude 77.21
yaegi panchang --date 2024-01-15 --latitude 28.61 --longitude 77.21
yaegi dasha --date 1990-05-15 --time 14:30 --latitude 28.61 --longitude 77.21

📌 Advanced Features

  • Custom Ayanamsa (LAHIRI, etc.)
  • Divisional charts (D9 Navamsa, D10 Dashamsa, …)
  • Planetary strengths & aspect calculations
  • Configurable outputs (localization, caching, formats)

🛠️ Development

git clone https://github.com/notwaris/yaegi
cd yaegi
pip install -e .

Tip

Start with the CLI for quick results, then move to the Python API for advanced workflows.


✅ Roadmap (Current Status)

  • Kundali generation (D1, D9, D10, D60)
  • Panchang with Tithi, Nakshatra, Yoga
  • Vimshottari Dasha calculation
  • Compatibility analysis (Guna Milan)
  • Other Dasha systems (future)
  • Enhanced Yoga library

🤝 Contributing

We welcome contributions of all kinds – calculations, translations, docs, tests.
👉 See CONTRIBUTING.md


📜 License

MIT License – see LICENSE.


🙏 Acknowledgments

  • Classical Jyotish principles
  • Swiss Ephemeris for astronomical accuracy
  • Python astronomy & astrology community

Star us on GitHub if you like the project!

About

Yaegi Ancient Wisdom, Modern Code

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages