[AVAILABLE], published,
parmana-connector-sdk on
PyPI. Real, public,
installable with a plain pip install parmana-connector-sdk. The Python
counterpart to @parmana/connector-sdk — same
contract, same design, idiomatic Python: synchronous (not async/await,
matching the Python client SDK’s own convention) and
typing.Protocol-based instead of interfaces, so a class only needs to match
the shape (connector_id, capabilities, execute), not subclass anything.Purpose
The contract every connector implements (Connector), one hermetic reference implementation
for testing (MockConnector), the credential-handle seam (CredentialProvider and its two
implementations), and four enterprise-shaped reference mocks. This package intentionally ships
no HTTP-calling implementation — see Connector Development
Guide for the rationale (identical for both
languages) and how little code a real HTTP-based Connector takes to write directly against the
contract.
Install
Key exports
The contract
Reference implementation
No HTTP-calling implementation ships from this package, deliberately — for the identical
reason as the TypeScript package: the reference implementation this repository maintains
internally enforces that only its own Execution Gateway performs real I/O for a connector. That
invariant only constrains this repository’s own tree; it does not constrain a connector you
write in your own codebase. See Connector Development
Guide for how short a real HTTP-based Connector is
to write directly against the contract (the guide’s example is TypeScript; the shape is
identical in Python — see this package’s own README for a Python version).
Credential handles
A Connector never resolves its own credentials — resolution happens upstream, inside the
Execution Gateway, before a Connector is ever invoked.
Minimal example
Next
Connector SDK (TypeScript)
The identical contract, published to npm, for TypeScript/Node connector
authors.
Connector Development Guide
Implement, test, and see what reaching the default server actually requires.
Python SDK
The client SDK for calling Parmana’s own API — a different package, for a
different audience (callers, not connector authors).