$npx skillfedfor your agent

LunarCalendar

A lunar calendar converter, including a number of lunar and solar holidays, mainly from China.

With conditionsPyPI LibrariesReleased Jun 2018707.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — LunarCalendar-0.0.9-py2.py3-none-any.whl
v0.0.9 · released 2018-06-13 · Python >=2.7, <4 · 3 runtime deps: python-dateutil, ephem, pytz

Yes, if you need lunar-solar conversion and festival data for dates between 1900 and 2100 and can tolerate dormant maintenance. The package is stable, has no known vulnerabilities, installs easily, and covers a common use case well. Not recommended if you require active maintenance, support for dates outside the 1900–2100 range, or frequent updates to festival definitions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction; pure Python wheel with three lightweight runtime dependencies (python-dateutil, ephem, pytz).
  • Dormant maintenance status since June 2018, though the repository remains active with a recent commit in May 2024.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2018-06-13 (2984 days) · last repo commit 2024-05-22 · 82 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 707,326 downloads/mo, #5,267 on PyPI

Verify before relying

from lunarcalendar import Converter, Solar, Lunar

solar = Solar(2018, 1, 1)
lunar = Converter.Solar2Lunar(solar)
print(lunar)
  • Whether the 1900–2100 range and embedded festival data are sufficient for your use case without manual extension.
  • Whether the dormant maintenance status (no releases since June 2018) poses a risk for your project's long-term compatibility.
Same gist for agents: .md · .json

What it is and what it does

LunarCalendar is a bidirectional converter between lunar and solar calendar systems, primarily designed for Chinese, Korean, Japanese, and Vietnamese calendars. It converts dates in both directions and provides a built-in festival database covering lunar holidays (Chinese New Year, Mid-Autumn Festival, Dragon Boat Festival), solar holidays with variable dates (Mother's Day, Easter), and 24 solar terms. The package validates date legality (e.g., detecting invalid leap months) and supports both simplified and traditional Chinese language output.

The library covers a fixed time range of 1900 to 2100 and depends on python-dateutil, ephem, and pytz for date arithmetic and astronomical calculations. It includes a console command (lunar-find) for quick festival lookups and is designed to be extended with additional festivals and languages through modification of its festival module.

Use it for

  • Convert a Gregorian date to its lunar calendar equivalent for display in Chinese cultural applications.
  • Find the solar date of a lunar festival (e.g., Chinese New Year) for a given year.
  • Look up the date of a solar term (e.g., Spring Equinox) using the lunar-find command.
  • Validate whether a given lunar date is legal before storing or processing it in a calendar system.
  • Generate festival calendars for Chinese, Korean, Japanese, or Vietnamese audiences in their native languages.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need lunar-solar conversion and festival data for dates between 1900 and 2100 and can tolerate dormant maintenance.

The package is stable, has no known vulnerabilities, installs easily, and covers a common use case well. Not recommended if you require active maintenance, support for dates outside the 1900–2100 range, or frequent updates to festival definitions.

Install

lunarcalendar on PyPI

Before you install

Low install friction; pure Python wheel with three lightweight runtime dependencies (python-dateutil, ephem, pytz). Dormant maintenance status since June 2018, though the repository remains active with a recent commit in May 2024.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

from lunarcalendar import Converter, Solar, Lunar

solar = Solar(2018, 1, 1)
lunar = Converter.Solar2Lunar(solar)
print(lunar)

Verify before relying

  • Whether the 1900–2100 range and embedded festival data are sufficient for your use case without manual extension.
  • Whether the dormant maintenance status (no releases since June 2018) poses a risk for your project's long-term compatibility.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=2.7, <4
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
python-dateutilephempytz
MaintenanceDormant 2,984 days since the last release
Last repo commit
First released
Downloads707,326 / month, #5,267 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software Development :: LibrariesTopic :: Utilities

Evidence: LunarCalendar-0.0.9-py2.py3-none-any.whl

Tags

Capabilities
lunar solar calendar converterChinese lunar calendarlunar festival datessolar terms calendarlunisolar calendar conversionChinese New Year date finderlunar date conversion
Topics
calendar-conversionlunar-calendarfestival-data
PyPI keywords
lunar calendarfestivalChinese festivals24 solar termssolar calendarlunar solar converterlunisolar calendar

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “lunar festival dates”

  • LunarCalendarConverts between lunar and solar calendar dates, and provides access…
  • lunar_pythonConverts between Gregorian (solar) and Chinese lunar calendars, and…
  • zhdateConverts between Chinese lunar calendar dates and Gregorian datetime…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also lunardate · lunar_python · korean-lunar-calendar · zhdate · sxtwl · chinese-calendar · yearfrac · convertdate · bangla · fiscalyear