Skip to main content

lunar-converter

PyPI

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)

Source distribution for lunar-converter 0.1.2
File Size Uploaded
lunar_converter-0.1.2.tar.gz 43.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lunar-converter 0.1.2
File Interpreter ABI Platform
lunar_converter-0.1.2-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page