Skip to main content

Composable Python backend kit for reminder services.

Project description

reminder-backend-kit

리마인더 백엔드에서 자주 쓰는 모듈(Teams 발송, EventBridge Scheduler)을 하나로 묶은 통합 패키지입니다.

Installation

pip install reminder-backend-kit

Usage

from reminder_backend_kit import (
    TeamsSender,
    ReminderScheduler,
    ReminderScheduleInput,
)

teams = TeamsSender.from_environment()

scheduler = ReminderScheduler.from_environment()

teams.send_reminder(
    user_id="20240001",
    title="회의 준비",
    scheduled_at="2026-05-19T01:00:00Z",
)

scheduler.create_schedule(
    ReminderScheduleInput(
        reminder_id="abc-123",
        service_id="service-a",
        user_id="20240001",
        title="회의 준비",
        scheduled_at="2026-05-19T01:00:00Z",
        early_alert_minutes=10,
    )
)

Intended Use

  • 이 패키지는 Python 백엔드(예: Docker 기반 Lambda 런타임)에서 import 해서 사용합니다.
  • 실행 앱(lambda handler)은 얇게 유지하고, 실제 기능은 본 kit에 위임합니다.
  • TEAMS_API_BASE_URL, TEAMS_DOMAIN는 플랫폼/인프라에서 환경변수로 주입합니다.
  • ALERT_LAMBDA_ARN, SCHEDULER_ROLE_ARN는 플랫폼/인프라에서 환경변수로 주입합니다.
  • 사용자 API에서는 Teams/Scheduler ARN 파라미터를 직접 받지 않는 사용 방식을 권장합니다.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reminder_backend_kit-0.1.9.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reminder_backend_kit-0.1.9-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file reminder_backend_kit-0.1.9.tar.gz.

File metadata

  • Download URL: reminder_backend_kit-0.1.9.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for reminder_backend_kit-0.1.9.tar.gz
Algorithm Hash digest
SHA256 33c1a01905e350df21253b5d6082189b480e2d0f4c2fc74b495931f77653e136
MD5 f86c2c32c2b1def6ffd7c51f3e65a653
BLAKE2b-256 a2b6507901ea58436fb3387f27a2feb295a36a25f97bd390bb27b6174004c181

See more details on using hashes here.

File details

Details for the file reminder_backend_kit-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for reminder_backend_kit-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 631a9251f7cf573396b550915cff68c5d5630c62e71c4748bedb391e178ecb4d
MD5 72ee52fda8592ee0bda2133e9f554174
BLAKE2b-256 91846b5e0a1e3716e0b8776e92e75567d8f6a795f7bf49b833cb624c43c004fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page