Skip to main content

Pre-built action connectors for 3rd-party services — bring your own credentials

Project description

openconn

CI License: MIT

Pre-built action connectors for 3rd-party services. Bring your own credentials.

Why openconn?

  • No cloud, no lock-in — runs entirely in your own process with credentials you supply
  • Action-oriented — discrete, named actions (send_message, upload_file) rather than data sync primitives
  • Framework-agnostic — plain async Python, no coupling to LangChain, pydantic-ai, or any agent framework
  • Installable per-connector — only pull in the SDKs you actually use

Install

uv add openconn[slack]
uv add openconn[google-drive]
uv add openconn[slack,google-drive]
uv add openconn[all]

Quick start

import asyncio
from openconn import ConnectorRegistry

async def main():
    # Instantiate a connector
    slack = ConnectorRegistry.create("slack")

    # Connect with your credentials
    await slack.connect({"bot_token": "xoxb-your-token-here"})

    # Execute an action
    result = await slack.execute_action("send_message", {
        "channel": "C12345678",
        "text": "Hello from openconn!",
    })

    # Use the result
    print(result.text)           # "Message sent to channel C12345678."
    print(result.data["ts"])     # "1234567890.123456"

asyncio.run(main())

Connector support

Connector Extra Status
Slack [slack] Done
Google Drive [google-drive] Done
GitHub [github] Soon
Gmail [gmail] Soon
Google Sheets [google-sheets] Soon
Notion [notion] Soon
Jira [jira] Soon
Linear [linear] Soon
Airtable [airtable] Soon
Discord [discord] Soon

Credential schemas

Slack

{
    "bot_token": "xoxb-..."   # OAuth & Permissions page in your Slack App dashboard
}

Google Drive

{
    "token":          "ya29.a...",
    "refresh_token":  "1//...",
    "client_id":      "....apps.googleusercontent.com",
    "client_secret":  "...",
    "token_uri":      "https://oauth2.googleapis.com/token",   # optional
}

Docs

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

openconn-0.1.0.tar.gz (93.6 kB view details)

Uploaded Source

Built Distribution

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

openconn-0.1.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file openconn-0.1.0.tar.gz.

File metadata

  • Download URL: openconn-0.1.0.tar.gz
  • Upload date:
  • Size: 93.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openconn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b7246de3f2cf553a56b801c9110bb33cd43817b290bce3f326cbb03247c3a4be
MD5 6aaf6c38f1bc8eba51fe1eff800f6c0f
BLAKE2b-256 b72db72dfbfdb6014542181efbd7a95944bab85e3ad760ae473c14ba5294eee3

See more details on using hashes here.

Provenance

The following attestation bundles were made for openconn-0.1.0.tar.gz:

Publisher: publish.yml on mys1erious/openconn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openconn-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: openconn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openconn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d24970395e26d659d33823630917b3f94c6fd326a794b4b6620bc1556c577b2c
MD5 e5e3e9689b05194b1a39ddae4d54a8d1
BLAKE2b-256 97df1cddc9076a5af1753c1c3d1af975570b40f7d5d4ac164d9ecd2306b2b2d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for openconn-0.1.0-py3-none-any.whl:

Publisher: publish.yml on mys1erious/openconn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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