Sankashti Python Module
A lightweight Python module to calculate Sankashti Chaturthi dates using astronomical calculations.
Sankashti Chaturthi is a sacred day dedicated to Lord Ganesha, observed on the fourth lunar day (Krishna Paksha Chaturthi) after the full moon. This module determines Sankashti based on moonrise and tithi calculations.
Installation
Install the module from PyPI:
pip install sankashti
Usage
Once installed, you can simply import the module in Python:
import sankashti
# Find the next Sankashti Chaturthi
print(sankashti.next_sankashti())
# Check if a specific date is Sankashti
print(sankashti.is_sankashti("2026-03-07"))
# Get all Sankashti dates for a given year
print(sankashti.sankashti_year(2026))
Example output:
{
"date": "2026-03-07",
"days_until": 5,
"about": "Sankashti Chaturthi dedicated to Lord Ganesha"
}
Features
- Accurate Sankashti detection using tithi calculations
- Moonrise-based validation
- Simple Python API
- Works for past and future dates
- Lightweight and easy to integrate into applications
Example
import sankashti
dates = sankashti.sankashti_year(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 sankashti 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 |
|---|---|---|---|---|
| sankashti-0.1.1.tar.gz | 4.5 MB | Without provenance | Details for sankashti-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sankashti-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for sankashti-0.1.1-py3-none-any.whl |
Total release size: 9.8 MB
Release files / sankashti-0.1.1.tar.gz
| Download URL | sankashti-0.1.1.tar.gz |
|---|---|
| Size | 4.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
346442eabeec00a1fba88b0a9bef681947bd536a1b40df030a1136b24d965bc5
|
|
BLAKE2b-256 checksum How to use checksums |
cd900c96ae838128720a0ceb34986a269ca790cb8f8aadc4f4ba6897b49a2d51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Release files / sankashti-0.1.1-py3-none-any.whl
| Download URL | sankashti-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e17fe47c4408b385a686b6dcc82bbdafd578d8284cc0787c48303e4d35b16a4
|
|
BLAKE2b-256 checksum How to use checksums |
07fbff545f28db01827200c5e385fda0e469bc898b487e018a3df913b66f68f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.4
|
Security for sankashti 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.