tessl install tessl/pypi-lunar-python@1.4.0Comprehensive Chinese lunar calendar library with Solar calendar conversion and traditional Chinese calendar features.
Agent Success
Agent success rate when using this tile
79%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.9x
Baseline
Agent success rate without this tile
88%
Utility module for Gregorian dates that reports leap years, returns official festivals, and moves through the calendar using workday rules (including holiday make-up days).
@generates
class WorkdayPlanner:
def is_leap_year(self, year: int) -> bool: ...
# Returns True when the Gregorian year is a leap year.
def festivals_on(self, date_str: str) -> list[str]: ...
# Returns unique festival names for the given YYYY-MM-DD date, sorted by name and including official and other observances tied to that day.
def is_workday(self, date_str: str) -> bool: ...
# True when the date is a working day under the official calendar rules (including make-up weekends).
def next_workday(self, date_str: str, offset: int = 1) -> str: ...
# Returns the YYYY-MM-DD date reached by moving forward offset working days (offset >= 1), honoring weekends, holidays, and make-up workdays.Provides Gregorian festival lookups, leap-year logic, and workday-aware date arithmetic using official Chinese holiday data. @satisfied-by