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.6.0.tar.gz (143.8 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.6.0-py3-none-any.whl (204.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omnidapter-0.6.0.tar.gz
  • Upload date:
  • Size: 143.8 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.6.0.tar.gz
Algorithm Hash digest
SHA256 e59ce88651b4964687f596ae46fd96622de902b709408f43713fcc97a65bbd13
MD5 cc5640529949ff8aaebfb626eab0b61c
BLAKE2b-256 bbb450b4101a121d0be6f018ff68af49e3527664d994b80676f236b48e923fca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omnidapter-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 204.4 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4dc337c9ad808dddc8943f14f2201ff51f8ca4ab59d630c866b74b69b7a6fa5a
MD5 2408b2c0c226cfdbb93cd0f6329b4624
BLAKE2b-256 63119f02a5d3e464a28aee00f40070ba629f0269d21975420702570971356686

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