Skip to main content

Provider-agnostic async integration library

Project description

Omnidapter Core

Provider-agnostic async calendar, booking, and CRM integration library for Python.

omnidapter gives you one API surface for calendars (Google, Microsoft, Zoho, Apple, generic CalDAV), booking (Cal.com, Square, Calendly, Zoho Bookings), and CRM (HubSpot, Pipedrive, Salesforce, Zoho CRM).

Installation

pip install omnidapter

Quick Start

Calendar

from omnidapter import Omnidapter

omni = Omnidapter(
    credential_store=my_store,
    oauth_state_store=my_state_store,
)

conn = await omni.connection("conn_123")
cal = conn.calendar()

calendars = await cal.list_calendars()

async for event in cal.list_events("primary"):
    print(event.summary)

Booking

from datetime import datetime, timezone
from omnidapter import Omnidapter, CreateBookingRequest, BookingCustomer

omni = Omnidapter(credential_store=my_store, oauth_state_store=my_state_store)

conn = await omni.connection("square_conn_1")
bk = conn.booking()

# Discover services and availability
services = await bk.list_services()
slots = await bk.get_availability(
    service_id=services[0].id,
    start=datetime(2026, 6, 1, tzinfo=timezone.utc),
    end=datetime(2026, 6, 7, tzinfo=timezone.utc),
)

# Book a slot
booking = await bk.create_booking(CreateBookingRequest(
    service_id=services[0].id,
    start=slots[0].start,
    customer=BookingCustomer(name="Jane Doe", email="jane@example.com"),
))
print(f"Booked: {booking.id} at {booking.start}")

# Cancel if needed
await bk.cancel_booking(booking.id)

Provider Keys

Calendar providers

  • google
  • microsoft
  • zoho
  • apple
  • caldav (manual registration)

Booking providers

  • calcom
  • square
  • calendly (read-only — no booking creation)
  • zoho (Zoho Bookings)

CRM providers

  • hubspot
  • pipedrive
  • salesforce
  • zoho (Zoho CRM)

Documentation

Normative behaviour is committed as OpenSpec capability specs in the repository root under openspec/specs/:

  • provider-registry, provider-metadata — provider setup, registration, custom providers
  • service-calendar, service-booking, service-crm — service contracts and capabilities
  • provider-<name> — per-provider behaviour, capability-flag values, and quirks
  • auth-credential-storage — production credential and OAuth state storage patterns

See the repository README and ARCHITECTURE.md for the overview.

Notes

  • In-memory stores are for development only.
  • Persist encrypted credentials for production.
  • OAuth state storage must be shared across instances.
  • Use services=["booking"] when creating a connection to scope OAuth authorization to booking only. Omit to request all services the provider supports.

License

MIT

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

omnidapter-0.9.0.tar.gz (228.9 kB view details)

Uploaded Source

Built Distribution

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

omnidapter-0.9.0-py3-none-any.whl (308.5 kB view details)

Uploaded Python 3

File details

Details for the file omnidapter-0.9.0.tar.gz.

File metadata

  • Download URL: omnidapter-0.9.0.tar.gz
  • Upload date:
  • Size: 228.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for omnidapter-0.9.0.tar.gz
Algorithm Hash digest
SHA256 bf653bf1b0df1c3e23ead175da92c1c80283038d84c8036e1ba15beaad147755
MD5 7ee0a8a8da82e75e39fafd40ac921352
BLAKE2b-256 22d5269650d104706bd2076c50bc9ac0138d3bf26ba790d06a314e8292837e79

See more details on using hashes here.

File details

Details for the file omnidapter-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: omnidapter-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 308.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for omnidapter-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc02872e6d22af9d8822540145ca0c24e36f8e6ca425ff1631472eb72d7ab2ac
MD5 edad54f496e94cd59b58ff01dc990351
BLAKE2b-256 ae106e761b12dfc78ca6e1c52062f79ad6c99f9b93e4a1b0300eda82a5b23568

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