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%
Provides directional deities, clash warnings, and activity guidance for a given solar date/time using traditional almanac data.
yi) and inauspicious (ji) activities for the day, and when a time is supplied includes time-specific yi/ji entries. @test@generates
from datetime import date, time
from typing import Optional, Dict, List, Any
def build_auspiciousness(solar_date: date, moment: Optional[time] = None) -> Dict[str, Any]:
"""
Builds auspiciousness guidance for a solar date and optional time of day.
Args:
solar_date: Gregorian date to evaluate.
moment: Optional time-of-day for time-specific recommendations.
Returns:
A dictionary with:
- 'tai_sui': {'direction': str, 'description': str}
- 'deities': {'joy': str, 'yang_gui': str, 'yin_gui': str, 'fortune': str, 'wealth': str}
- 'conflict': {'target': str, 'zodiac': str, 'sha': str}
- 'activities': {'yi': List[str], 'ji': List[str], 'time_yi': List[str], 'time_ji': List[str]}
"""
...Chinese lunar calendar library providing deity directions, clash info, and almanac activity lookups.