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-1.1.0.tar.gz (254.4 kB view details)

Uploaded Source

Built Distribution

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

omnidapter-1.1.0-py3-none-any.whl (345.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omnidapter-1.1.0.tar.gz
  • Upload date:
  • Size: 254.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c7b4dd9b9aef92d090a06e46a0a02556f01a26f460680dd61a8f139aa2e7b111
MD5 406a65370f0148c86cb38df6990c8154
BLAKE2b-256 f124d762cf00742f6825a1b4f73c3fe36422779fcc73c5d0b287e8d8b7377124

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omnidapter-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 345.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a94471a5f9657ab588597aeb0fe5d06f0b0672567ed470a8ff85945b2c38f95
MD5 a50485714cf0557397b0b73af1f1c636
BLAKE2b-256 ae6163d1ffc82d6ee0ce90516eb348c2e0b43179868177a4c82a5463d3b67d0b

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