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.3.1.tar.gz (257.0 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.3.1-py3-none-any.whl (348.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omnidapter-1.3.1.tar.gz
  • Upload date:
  • Size: 257.0 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.3.1.tar.gz
Algorithm Hash digest
SHA256 f706400757d0576908b45f9bce97afa3e48e0aac85068c34e6ec8a28b041cce5
MD5 54dee511deffe0d24f30df9bf2617bbc
BLAKE2b-256 2d2747330658b94ec958fa1a754dba396b7e651c4cc14988c9b953924d766dd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omnidapter-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 348.1 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab0cad017af90758929926d5af5f9a10d93264ae9273a91bab215f58791a29d9
MD5 7aa8b1bd9a632380fe9bb2488b6ce46c
BLAKE2b-256 a9b67ca5e0a88bd43e4c8bed32324d2a10e1ba812a2814988ca8accbb41f62a3

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