$npx skillfedfor your agent

lunar_python

lunar is a calendar library for Solar and Chinese Lunar.

With conditionsPyPI UtilitiesReleased Nov 202581.0K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — lunar_python-1.4.8.tar.gz · builds from source
v1.4.8 · released 2025-11-05

Yes, if you need lunar calendar conversion and astrological properties for a Chinese-language or culturally-aware application. The zero-dependency design and permissive MIT license are strong points. However, the high install friction (source-only distribution) and aging maintenance status (last commit 282 days ago) mean you should verify compatibility with your Python version and build environment before committing. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • No runtime dependencies, but source-only distribution may require a C compiler or build tools on some systems.
  • High install friction: the package is distributed as a source tarball with no pre-built wheels, requiring compilation or manual setup.
  • Maintenance status is aging—last commit was 282 days ago, though the repository remains active and has accumulated 646 stars.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package freely in commercial or private projects with minimal restriction, provided you retain the license notice.

last release 2025-11-05 (282 days) · last repo commit 2026-01-24 · 646 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 81,034 downloads/mo, #14,256 on PyPI

Verify before relying

pip install lunar_python

from lunar_python import Lunar

# Initialize lunar calendar from year, month, day
lunar = Lunar.fromYmd(1986, 4, 21)

# Print full lunar date string
print(lunar.toFullString())

# Convert to solar (Gregorian) and print
print(lunar.getSolar().toFullString())
  • Whether Python version support is truly unspecified or if there is a practical minimum (e.g., Python 3.6+).
  • Whether the package works correctly with all modern Python versions or if there are known compatibility issues.
  • Performance characteristics when handling large date ranges or bulk conversions.
Same gist for agents: .md · .json

What it is and what it does

lunar_python is a zero-dependency calendar library that converts between Gregorian (Western) and Chinese lunar calendars, along with related traditional calendar systems. It computes lunar date components, zodiac animals, stems-and-branches (干支), constellation signs, lucky directions (喜神), festival dates, and other astrological properties. The library is written in pure Python with no external dependencies, making it self-contained but requiring compilation from source during installation.

The package is typically used to display or calculate lunar calendar dates in applications serving Chinese-speaking users, to determine auspicious dates and directions according to traditional practices, or to map between solar and lunar date systems. It supports bidirectional conversion and provides a rich set of computed properties for each date, including festival calendars and traditional fortune-telling attributes.

Use it for

  • Display lunar calendar dates alongside Gregorian dates in applications for Chinese users.
  • Determine zodiac animals and astrological properties for a given birth date.
  • Calculate auspicious dates and lucky directions for traditional Chinese ceremonies or events.
  • Convert between solar and lunar date systems for historical or genealogical records.
  • Populate festival and holiday calendars that follow the lunar calendar.

Worth the install?

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

With conditions

Yes, if you need lunar calendar conversion and astrological properties for a Chinese-language or culturally-aware application.

The zero-dependency design and permissive MIT license are strong points. However, the high install friction (source-only distribution) and aging maintenance status (last commit 282 days ago) mean you should verify compatibility with your Python version and build environment before committing. No known vulnerabilities.

Install

lunar-python on PyPI

Before you install

High install friction: the package is distributed as a source tarball with no pre-built wheels, requiring compilation or manual setup. Maintenance status is aging—last commit was 282 days ago, though the repository remains active and has accumulated 646 stars.

No runtime dependencies, but source-only distribution may require a C compiler or build tools on some systems.

License in practice

MIT license is permissive; you may use, modify, and distribute this package freely in commercial or private projects with minimal restriction, provided you retain the license notice.

Quickstart

pip install lunar_python

from lunar_python import Lunar

# Initialize lunar calendar from year, month, day
lunar = Lunar.fromYmd(1986, 4, 21)

# Print full lunar date string
print(lunar.toFullString())

# Convert to solar (Gregorian) and print
print(lunar.getSolar().toFullString())

Verify before relying

  • Whether Python version support is truly unspecified or if there is a practical minimum (e.g., Python 3.6+).
  • Whether the package works correctly with all modern Python versions or if there are known compatibility issues.
  • Performance characteristics when handling large date ranges or bulk conversions.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAging 282 days since the last release
Last repo commit
First released
Downloads81,034 / month, #14,256 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: lunar_python-1.4.8.tar.gz

Tags

Capabilities
lunar calendar conversionchinese calendar librarysolar to lunar datezodiac and stems-branchestraditional chinese calendarlunar date calculatorastrological calendar data
Topics
calendar-conversionchinese-lunarastrological-data
PyPI keywords
solarlunar

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 › “zodiac and stems-branches”

  • lunar_pythonConverts between Gregorian (solar) and Chinese lunar calendars, and…
  • sxtwlConverts between solar (Gregorian) and lunar calendars, computes…
  • kerykeionKerykeion computes planetary and house positions, detects…

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

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / 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
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / 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

See also lunardate · LunarCalendar · sxtwl · zhdate · korean-lunar-calendar · kerykeion · pyCalverter · bangla · chinese-calendar · exchange_calendars