lunar-converter
Gregorian and Chinese Lunar calendar converter with astrological details.
Installation
uv tool 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_converter import gregorian_to_lunar, lunar_to_gregorian
result = gregorian_to_lunar(1990, 6, 15)
result = lunar_to_gregorian(1990, 5, 23)
License
MIT
Metadata
Release files for lunar-converter 0.1.2
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 |
|---|---|---|---|---|
| lunar_converter-0.1.2.tar.gz | 43.0 kB | With provenance | Details for lunar_converter-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lunar_converter-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for lunar_converter-0.1.2-py3-none-any.whl |
Total release size: 51.7 kB
Release files / lunar_converter-0.1.2.tar.gz
| Download URL | lunar_converter-0.1.2.tar.gz |
|---|---|
| Size | 43.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8548385bb7f2779fe259d866a3f01fd46f58d93298270397fd08401f16a6afff
|
|
BLAKE2b-256 checksum How to use checksums |
4055fc65a22450affb570269ea9730fb1366e03c0929287f1a2a885d7e58d11a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2026.
Transparency logRelease files / lunar_converter-0.1.2-py3-none-any.whl
| Download URL | lunar_converter-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
353731f9656057498047c5e3c079f2afd809a4368dd2978f77a9ca0639161d60
|
|
BLAKE2b-256 checksum How to use checksums |
8ecded0c6952b5832ba1cc28e2d10cde5baeb2678578378b8f26c099f3f6c81a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2026.
Transparency logSecurity for lunar-converter 0.1.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for lunar_converter-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2026.
Transparency logA 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.