Comprehensive Chinese lunar calendar library with Solar calendar conversion and traditional Chinese calendar features.
79
HolidayUtil overrides for querying and patching official holidays and workday rules
Official fetch
100%
100%
Override patching
0%
0%
Holiday objects
100%
50%
Workday checks
33%
66%
Next workday
33%
53%
Human-readable date output with GanZhi/NaYin/ShengXiao, weeks, and western zodiac lookup
Calendar creation
100%
100%
Weekday lookup
100%
100%
Western zodiac
100%
100%
GanZhi cycles
100%
100%
NaYin set
100%
100%
Year animal
100%
100%
Lunar text
100%
100%
Value reuse
100%
100%
Solar/Lunar creation and conversion from YMD/HMS or Julian day with leap-month support
Solar creation
100%
100%
Solar to lunar
100%
100%
Leap lunar to solar
96%
100%
Julian day
100%
100%
Round-trip check
100%
100%
Period navigation across weeks, months, seasons, half-years, years, plus Buddhist/Tao date views
Week span via SolarWeek
100%
100%
Month/year spans
100%
66%
Season navigation
100%
100%
Half-year navigation
80%
80%
Offset stepping
90%
70%
Buddhist view via Foto
100%
100%
Taoist view via Tao
100%
100%
Solar conversion output
100%
100%
Seasonal tradition calculators for ShuJiu, Fu (sanfu), WuHou phases, and YueXiang moon phases
Date anchoring
100%
100%
ShuJiu info
100%
100%
Sanfu info
100%
100%
WuHou lookup
100%
100%
Moon phase
100%
100%
Fate-cycle timelines (Yun, DaYun, LiuNian, LiuYue, XiaoYun) with gender/sect start offsets
BaZi setup
100%
100%
Start offset
60%
40%
DaYun timeline
100%
100%
Yearly cycles
100%
100%
Monthly cycles
100%
100%
Cycle direction & sequencing
80%
60%
EightChar (BaZi) calculations with WuXing/NaYin/shiShen and reverse BaZi-to-Solar search
Pillar derivation
100%
100%
WuXing data
100%
0%
NaYin lookup
100%
100%
Ten-God roles
100%
100%
Time pillar handling
100%
100%
BaZi reverse search
100%
0%
Roundtrip validation
0%
100%
Auspiciousness guidance: Tai Sui directions, Xi/YangGui/YinGui/Fu/Cai, Chong/Sha, TianShen, Yi/Ji, LiuYao, and Xiu descriptors
Date conversion
80%
50%
Tai Sui
50%
40%
Deity directions
40%
60%
Clash info
86%
100%
Day activities
100%
66%
Time activities
60%
30%
Gregorian calendar helpers for festivals, leap-year checks, and workday-aware date arithmetic
Leap year API
100%
100%
Festival lookup
100%
100%
Workday status
100%
100%
Workday navigation
100%
100%
Solar date usage
100%
100%
Solar term access with Jie/Qi tables and Hou/WuHou descriptions
JieQi table
100%
80%
Active term
80%
30%
Typed traversal
0%
0%
Hou/WuHou data
100%
0%
JieQi objects
66%
100%
Install with Tessl CLI
npx tessl i tessl/pypi-lunar-python