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%
Builds a patched Chinese official holiday/workday schedule for a given year using the provided calendar data, then answers day-level queries and navigation requests against that patched schedule.
@generates
from typing import Dict, List, Optional, TypedDict
class DayOverride(TypedDict, total=False):
date: str # YYYY-MM-DD
name: str # Custom label; falls back to official when absent
workday: bool # True marks a working day, False marks a break
target: str # Anchor holiday date for make-up or shifted days
class HolidaySchedule:
def __init__(self, year: int, overrides: Optional[List[DayOverride]] = None): ...
def get_day_status(self, date: str) -> Dict[str, str]: ...
def next_workday(self, date: str) -> str: ...
def summary(self) -> Dict[str, Dict[str, str]]: ...Uses the official Chinese holiday/workday calendar and helper utilities for overrides and workday lookups.