Gregorian and Chinese Lunar calendar converter with astrological details
Project description
lunar-converter
Gregorian and Chinese Lunar calendar converter with astrological details.
Install
pip install lunar-converter
Usage
lunar-converter
Interactive CLI with arrow-key navigation:
- Gregorian → Chinese Lunar
- Chinese Lunar → Gregorian
Output
For each conversion:
- Gregorian: date, day of week, sun sign, element
- Lunar: date, Chinese year name, zodiac animal, cosmic element, Ming (命)
API
from lunar_calc import gregorian_to_lunar, lunar_to_gregorian
result = gregorian_to_lunar(1990, 6, 15)
result = lunar_to_gregorian(1990, 5, 23)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lunar_converter-0.1.0.tar.gz.
File metadata
- Download URL: lunar_converter-0.1.0.tar.gz
- Upload date:
- Size: 34.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a55351b6fcb1342a92f410a3768f5378acb799d9a362beadf2349812a405b550
|
|
| MD5 |
2200ab9b1a369eb0ba52f698cbdf23cc
|
|
| BLAKE2b-256 |
749200e39667085c77606425ea0831b4fe8b461ccfea777a4bf3dd530e1457f2
|
Provenance
The following attestation bundles were made for lunar_converter-0.1.0.tar.gz:
Publisher:
publish.yml on frndvrgs/lunar-converter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lunar_converter-0.1.0.tar.gz -
Subject digest:
a55351b6fcb1342a92f410a3768f5378acb799d9a362beadf2349812a405b550 - Sigstore transparency entry: 1239401082
- Sigstore integration time:
-
Permalink:
frndvrgs/lunar-converter@452a3dadafe39da72150fd532b1ae07aae83d0ae -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/frndvrgs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@452a3dadafe39da72150fd532b1ae07aae83d0ae -
Trigger Event:
release
-
Statement type:
File details
Details for the file lunar_converter-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lunar_converter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d082eb3ad1685785475801dd198f82f404e013640166adce923662fbdcf55028
|
|
| MD5 |
10a209a1bb8633c00dbff2a8a0919d24
|
|
| BLAKE2b-256 |
7ab24f24e01c3f79bd934c9eb8becbf16cb6200962f82286235e047121e0c51f
|
Provenance
The following attestation bundles were made for lunar_converter-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on frndvrgs/lunar-converter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lunar_converter-0.1.0-py3-none-any.whl -
Subject digest:
d082eb3ad1685785475801dd198f82f404e013640166adce923662fbdcf55028 - Sigstore transparency entry: 1239401091
- Sigstore integration time:
-
Permalink:
frndvrgs/lunar-converter@452a3dadafe39da72150fd532b1ae07aae83d0ae -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/frndvrgs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@452a3dadafe39da72150fd532b1ae07aae83d0ae -
Trigger Event:
release
-
Statement type: