Skip to content

Releases: karthiknitt/tamil-panchang-api

v1.6.0

Choose a tag to compare

@karthiknitt karthiknitt released this 09 Sep 01:07
523c662

Highlights

New: Muhurta / Vastu date-selection endpoint (#37)

  • POST /api/muhurta scans a date range (max 60 days) and returns dates that pass Panchanga Shuddhi checks for a given activity, following Tamil traditional almanac convention.
  • Activities: general, griha_pravesam (housewarming), bhoomi_pooja (foundation-laying). The two Vastu activities reuse the existing MEL_NOKKU_NAKSHATRAS/KEEZH_NOKKU_NAKSHATRAS classifications rather than a separate ruleset.
  • Every activity rejects Rikta tithis, Vishti karana, inauspicious Amirthathi Yoga, and Marana special yoga.
  • Each qualifying date includes its Nalla Neram / Hora windows as recommended Muhurta timings.
  • New matching MCP tool: get_muhurta_dates.
  • 15 new pure-function unit tests (test_muhurta.py, no live server required) plus live-server smoke tests.

Infra: multi-registry image publishing (#38)

  • Docker images now publish to GHCR (ghcr.io/karthiknitt/tamil-panchang-api) alongside Docker Hub, using the built-in GITHUB_TOKEN — no new secrets required.

CI: Node.js 24 runner migration (#39)

  • Bumped every GitHub Action used across both workflows to the latest major version confirmed to run on the node24 runtime (GitHub is deprecating node20 runners): actions/checkout v4→v7, astral-sh/setup-uv v5→v10.0.1, and the docker/* action family v3/v5/v6→v4/v6/v7.

Images

  • Docker Hub: docker pull karthiknitt/tamil-panchang-api:1.6.0
  • GHCR: docker pull ghcr.io/karthiknitt/tamil-panchang-api:1.6.0

Full Changelog

v1.5.0...v1.6.0

Karthikeyan N karthiknitt@gmail.com

v1.5.0 — uv migration, multi-arch Docker, non-root container

Choose a tag to compare

@karthiknitt karthiknitt released this 04 Apr 05:41
380e778

What's New in v1.5.0

Package Manager Migration

  • Replaced requirements.txt with pyproject.toml + uv.lock — using uv as the package manager (PEP 517/735 compliant)
  • Dev dependencies (ruff, requests) isolated in [dependency-groups] — not installed in production
  • Reproducible installs via uv sync --frozen

Docker Improvements

  • Multi-architecture support: images now ship for both linux/amd64 and linux/arm64 (Apple Silicon, Raspberry Pi, etc.)
  • Faster builds: uv's BuildKit cache mounts (--mount=type=cache) + GitHub Actions GHA layer cache
  • Security hardening: container now runs as non-root user (appuser, uid 10001)
  • Fixed MCP healthcheck: port 8001 uses TCP socket check (not HTTP — the MCP server has no /health route)
  • uv binary pinned to 0.10.4 for reproducibility

CI/CD

  • Tests CI (tests.yml) migrated from setup-python + pip + flake8astral-sh/setup-uv@v5 + ruff
  • Docker CI (docker-build.yml) upgraded to build-push-action@v6, now publishes versioned tags (1.5.0, 1.5) on GitHub releases
  • Removed legacy Procfile

Bug Fixes

  • ResponseFormat enum uses StrEnum instead of str + Enum (UP042)
  • requests is a test-only dependency — not bundled in the production Docker image

Docker Hub

# Latest (amd64 + arm64)
docker pull karthiknitt/tamil-panchang-api:latest

# Pinned version
docker pull karthiknitt/tamil-panchang-api:1.5.0
docker pull karthiknitt/tamil-panchang-api:1.5

Local Development (uv)

git clone https://github.com/karthiknitt/tamil-panchang-api.git
cd tamil-panchang-api
uv sync
uv run uvicorn app:app --host 0.0.0.0 --port 8000

Full Changelog

v1.4.0...v1.5.0

Tamil Panchang API with MCP Server

Choose a tag to compare

@karthiknitt karthiknitt released this 03 Dec 20:30
8f7bd04

What's Changed

New Contributors

Full Changelog: https://github.com/karthiknitt/tamil-panchang-api/commits/Initial_Release