Initial commit: Lunar calendar converter project

- Add lunar calendar astronomical calculation engine (lunar_calendar.py)
- Add converter utilities for solar/lunar date conversion
- Add historical era name conversions (chrono_converter.py, converter_with_eras.py)
- Add FastAPI REST API for date conversion services
- Add age calculator using lunar calendar
- Add batch generation script for lunar calendar JSON data
- Add project documentation (CLAUDE.md, pyproject.toml)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 13:51:45 +08:00
commit ae21a0ae66
19 changed files with 1977 additions and 0 deletions

14
pyrightconfig.json Normal file
View File

@@ -0,0 +1,14 @@
{
// Pylance/Pyright 設定:用來指定 Python 語言等級與檢查行為
// 注意這是正確的位置VS Code 設定中沒有 `python.analysis.pythonVersion` 此鍵
"pythonVersion": "3.11",
"typeCheckingMode": "basic",
"diagnosticSeverityOverrides": {
// 若已在 .vscode/settings.json 關閉這兩者,可移除以下兩行
"reportMissingImports": "none",
"reportMissingModuleSource": "none"
},
"executionEnvironments": [
{ "root": ".", "pythonVersion": "3.11" }
]
}