$npx skillfedfor your agent

sxtwl

sxtwl_cpp warpper for python

With conditionsPyPI UtilitiesReleased Sep 2024156.2K downloads / moBSDPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — sxtwl-2.0.7-cp27-cp27m-macosx_12_0_x86_64.whl · sxtwl-2.0.7-cp27-cp27m-manylinux_2_5_i686.manylinux1_i686.whl · sxtwl-2.0.7-cp27-cp27m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
v2.0.7 · released 2024-09-05

Yes, if you need accurate Chinese lunar calendar conversions and astronomical calculations. The package is stable (no known vulnerabilities), permissively licensed, and widely used. However, it is dormant—the last release was 2024-09-05 and the repository shows no recent commits—so do not expect bug fixes or new features. Verify that your Python version and platform are in the available wheel distributions before installing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Medium install friction: the package distributes pre-built wheels across multiple platforms (macOS, Linux, Windows) for several Python versions, but has been dormant since its last release on 2024-09-05, with no recent maintenance activity.

License · maintenance · safety

BSD (permissive) — Licensed under BSD (permissive), which allows use in commercial and private projects with minimal restrictions, though you should retain the license notice.

last release 2024-09-05 (708 days) · last repo commit 2024-11-08 · 256 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 156,165 downloads/mo, #10,791 on PyPI

Verify before relying

pip install sxtwl

import sxtwl

# Convert from solar (Gregorian) date
day = sxtwl.fromSolar(2021, 11, 7)
print(day.getSolarYear(), day.getSolarMonth(), day.getSolarDay())

# Convert from lunar date
day = sxtwl.fromLunar(2020, 12, 1)
print(day.getLunarYear(), day.getLunarMonth(), day.getLunarDay())
  • Which Python versions are supported (wheels shown for 2.7, 3.10, 3.11, 3.12 but full version coverage unclear)
  • Current accuracy of constellation calculation (documentation notes a potential bug)
  • Whether the four-pillar reverse-lookup feature is fully functional (documentation notes potential bugs)
  • Exact historical date range where calculations are reliable beyond BC 722
Same gist for agents: .md · .json

What it is and what it does

sxtwl is a Python wrapper around a C++ calendar library that implements astronomical calendar calculations for Chinese lunar and solar calendars. It provides bidirectional conversion between Gregorian dates and lunar dates, computes heavenly stems and earthly branches (used in Chinese astrology and traditional timekeeping), identifies the 24 solar terms (seasonal markers in traditional Chinese astronomy), and retrieves associated metadata like zodiac animals, constellations, and day-of-week information. The underlying C++ implementation supports a wide historical range (from BC 722 onwards) and runs on multiple platforms including Android, iOS, Windows, macOS, and Linux.

The package exposes its functionality through SWIG-generated Python bindings and requires no runtime dependencies beyond the pre-compiled binary wheels. It is primarily designed for applications that need accurate Chinese calendar calculations—such as scheduling tools, astrology apps, or cultural calendar systems—where the astronomical basis of the calculations matters more than a simple lookup table.

Use it for

  • Convert between Gregorian and lunar dates in Chinese calendar applications or scheduling systems.
  • Calculate heavenly stems and earthly branches for Chinese astrology, fortune-telling, or traditional medicine timing.
  • Identify solar terms (seasonal markers) for agricultural planning or traditional Chinese seasonal observances.
  • Retrieve zodiac animal signs and other calendar metadata for cultural or astrological applications.
  • Query lunar month lengths and leap months for calendar display or date validation in Chinese contexts.

Worth the install?

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

With conditions

Yes, if you need accurate Chinese lunar calendar conversions and astronomical calculations.

The package is stable (no known vulnerabilities), permissively licensed, and widely used. However, it is dormant—the last release was 2024-09-05 and the repository shows no recent commits—so do not expect bug fixes or new features. Verify that your Python version and platform are in the available wheel distributions before installing.

Install

sxtwl on PyPI

Before you install

Medium install friction: the package distributes pre-built wheels across multiple platforms (macOS, Linux, Windows) for several Python versions, but has been dormant since its last release on 2024-09-05, with no recent maintenance activity.

License in practice

Licensed under BSD (permissive), which allows use in commercial and private projects with minimal restrictions, though you should retain the license notice.

Quickstart

pip install sxtwl

import sxtwl

# Convert from solar (Gregorian) date
day = sxtwl.fromSolar(2021, 11, 7)
print(day.getSolarYear(), day.getSolarMonth(), day.getSolarDay())

# Convert from lunar date
day = sxtwl.fromLunar(2020, 12, 1)
print(day.getLunarYear(), day.getLunarMonth(), day.getLunarDay())

Verify before relying

  • Which Python versions are supported (wheels shown for 2.7, 3.10, 3.11, 3.12 but full version coverage unclear)
  • Current accuracy of constellation calculation (documentation notes a potential bug)
  • Whether the four-pillar reverse-lookup feature is fully functional (documentation notes potential bugs)
  • Exact historical date range where calculations are reliable beyond BC 722

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceDormant 708 days since the last release
Last repo commit
First released
Downloads156,165 / month, #10,791 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: sxtwl-2.0.7-cp27-cp27m-macosx_12_0_x86_64.whl; sxtwl-2.0.7-cp27-cp27m-manylinux_2_5_i686.manylinux1_i686.whl; sxtwl-2.0.7-cp27-cp27m-manylinux_2_5_x86_64.manylinux1_x86_64.whl; sxtwl-2.0.7-cp27-cp27mu-manylinux_2_5_i686.manylinux1_i686.whl; sxtwl-2.0.7-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl; sxtwl-2.0.7-cp27-cp27m-win32.whl; sxtwl-2.0.7-cp27-cp27m-win_amd64.whl; sxtwl-2.0.7-cp310-cp310-macosx_12_0_x86_64.whl; sxtwl-2.0.7-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; sxtwl-2.0.7-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl; sxtwl-2.0.7-cp310-cp310-win32.whl; sxtwl-2.0.7-cp310-cp310-win_amd64.whl; sxtwl-2.0.7-cp311-cp311-macosx_12_0_x86_64.whl; sxtwl-2.0.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; sxtwl-2.0.7-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; sxtwl-2.0.7-cp311-cp311-win32.whl; sxtwl-2.0.7-cp311-cp311-win_amd64.whl; sxtwl-2.0.7-cp312-cp312-macosx_12_0_x86_64.whl; sxtwl-2.0.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; sxtwl-2.0.7-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl

Tags

Capabilities
lunar calendar conversionchinese calendar libraryheavenly stems earthly branchessolar terms calculationgregorian to lunar date
Topics
calendar-conversionchinese-lunarastronomy

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 › “heavenly stems earthly branches”

  • sxtwlConverts between solar (Gregorian) and lunar calendars, computes…
  • audio-separatorSeparates audio files into multiple stems (vocals, instruments,…
  • demucsDemucs separates music into individual stems—drums, bass, vocals, and…

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 · lunar_python · korean-lunar-calendar · LunarCalendar · zhdate · convertdate · bangla · pyCalverter · ummalqura · sgp4