Read-only mirror. The SDKs are developed in D2B's main repository and published here on each release, so pull requests opened here can't be merged. Issues are welcome — open one and we'll carry it upstream.
Client libraries and the d2b CLI for D2B — Spreadsheets
for AI Agents: typed, versioned, governed tables behind an agent-native API.
| Install | Registry | Docs | |
|---|---|---|---|
| Python + CLI | pip install d2b-sdk |
PyPI | docs.d2b.dev/en/sdks · CLI |
| TypeScript | npm install d2b-sdk |
npm | docs.d2b.dev/en/sdks |
| MCP server | no install — a hosted remote server | — | docs.d2b.dev/en/mcp |
The distribution is d2b-sdk on both registries; the Python import package and
the command are both d2b (d2b on PyPI is an unrelated project). With uvx,
that means uvx --from d2b-sdk d2b ....
python/— the Python SDK and thed2bCLItypescript/— the TypeScript SDKmcp-registry/— the MCP Registry manifest for the hosted serveropenapi.json— the OpenAPI 3.1 description the SDKs are built against
A release is a tag on the main repository — sdk-py-v<version> for Python,
sdk-ts-v<version> for TypeScript — synced here with the content, from
where release.yml publishes to PyPI (trusted
publishing) and npm (with provenance). The tags
list every version ever published.
MIT — see python/LICENSE and typescript/LICENSE. "D2B", its name and logo, are trademarks and are not covered by the license.