Ekadashi Python Module
A lightweight Python module to calculate Vaishnava Ekadashi dates using astronomical calculations.
Ekadashi is a sacred fasting day observed on the eleventh lunar day (Ekadashi Tithi) of each fortnight in the Hindu lunar calendar. This module determines Ekadashi using Sun–Moon angular calculations and traditional Vaishnava observance rules.
Installation
Install the module from PyPI:
pip install ekadashi
Usage
Once installed, you can simply import the module in Python:
import ekadashi
# Check if today is Ekadashi
print(ekadashi.is_ekadashi("2026-03-29"))
# Find the next upcoming Ekadashi
print(ekadashi.next_ekadashi())
# Get all Ekadashi dates for a given year
print(ekadashi.get_ekadashi_dates(2026))
Example output:
{
"date": "2026-03-29",
"paksha": "Shukla",
"days_until": 14
}
Features
- Accurate Ekadashi detection using astronomical tithi calculations
- Implements Vaishnava Ekadashi observance rules
- Handles Dashami purity and Arunodaya conditions
- Check if a specific date is Ekadashi
- Find the next upcoming Ekadashi
- Retrieve all Ekadashi dates for a given year
- Lightweight and easy to integrate into applications
Example
import ekadashi
dates = ekadashi.get_ekadashi_dates(2026)
for d in dates:
print(d)
Use Cases
This module can be used for:
- Hindu calendar applications
- Panchang software
- Devotional reminder apps
- Astronomy-based calendar calculations
- Educational or research tools
Author
Developed and maintained by Hari Prajwal ❤️
Metadata
Release files for ekadashi 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ekadashi-0.1.1.tar.gz | 4.5 MB | Without provenance | Details for ekadashi-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ekadashi-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for ekadashi-0.1.1-py3-none-any.whl |
Total release size: 9.8 MB
Release files / ekadashi-0.1.1.tar.gz
| Download URL | ekadashi-0.1.1.tar.gz |
|---|---|
| Size | 4.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
513581041b76004cbc782b7d09ee2679f6f2303d6dd227ab3e9582dfba57ff96
|
|
BLAKE2b-256 checksum How to use checksums |
e1c7ff46dc9c00fe048f62ec799ec9188fd8b3fb748385451525077a27ae8bf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Release files / ekadashi-0.1.1-py3-none-any.whl
| Download URL | ekadashi-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c14407cc35d5875908a6278b59eab4dbf69f348b2d48d7b35b3dfda8cd46ffa6
|
|
BLAKE2b-256 checksum How to use checksums |
b6678407c0689b9608b2cdf97298aed8ab0a735453b40144600ad51c2336f2e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Security for ekadashi 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.