definite-sdk
Definite SDK for Python
What it is and what it does
Definite SDK is a Python client library for interacting with the Definite platform's API. It abstracts away HTTP details and provides a high-level interface to multiple Definite services: a key-value store with version control and transactional commits, SQL query execution against connected database integrations, secrets storage, messaging (currently Slack), and dlt pipeline orchestration with automatic state persistence. The package depends only on requests and is designed to work both as a standalone client and as part of Definite's hosted runtime environment.
Typical usage involves instantiating a DefiniteClient with an API key, then calling methods to access individual services (kv_store, sql_client, secret_store, message_client, integration_store). The key-value store and dlt integration support state management, making it useful for incremental data pipelines and workflow orchestration. The package also provides DuckLake and DuckDB integration helpers for analytics workloads.
Use it for:
- Store and retrieve application state or configuration in a persistent key-value store accessible across Definite-hosted scripts.
- Execute SQL queries against multiple connected database integrations from Python without managing individual database drivers.
- Manage secrets securely and retrieve them in applications running on the Definite platform.
- Send notifications to Slack channels programmatically with rich formatting and threading support.
- Run dlt data pipelines with automatic cursor and state persistence for incremental data loads.
- Attach DuckLake data to DuckDB for analytics queries without manual schema setup.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client for the Definite API that provides key-value storage, SQL query execution, secrets management, messaging, and dlt pipeline integration with state persistence.
Yes, if you are building on the Definite platform or integrating with its API. The package is actively maintained, has low install friction, carries a permissive MIT license, and provides a clean abstraction over multiple Definite services. Install it as a dependency for any Definite-hosted Python application or as a client for external systems that need to interact with Definite's data and messaging APIs. No security vulnerabilities are known.
Install
definite-sdk on PyPI
pip
pip install definite-sdkuv
uv add definite-sdkpoetry
poetry add definite-sdkInstalling definite-sdk
Before you install
Low install friction with a single runtime dependency (requests). Active maintenance status with recent releases.
License in practice
MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice.
Quickstart
pip install definite-sdk
from definite_sdk import DefiniteClient
client = DefiniteClient("YOUR_API_KEY")
store = client.kv_store('test_store')
store['key1'] = 'value1'
store.commit()
Requires a valid Definite API key; can be provided as an argument or via DEFINITE_API_KEY or DEF_API_KEY environment variables.
Verify before relying
- Whether the package supports Python 3.14 in practice (listed in classifiers but version is pre-release).
- Performance characteristics and rate limits for SQL query execution and messaging operations.
- Specific error handling behavior beyond requests.HTTPError for network or authentication failures.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — requests |
| Maintenance | actively maintained — 115 days since the last release |
| First released | |
| Downloads | 119,365/month — #12,074 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: definite_sdk-0.1.20-py3-none-any.whl
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
dltdlt automates extraction, schema inference, and…
permissive · top 5,000 on PyPI
singlestoredbProvides a DB-API 2.0 compatible Python…
permissive · top 15,000 on PyPI
databricks-dltProvides type hints, API specs, and IDE…
unclear · top 5,000 on PyPI
dagster-dltIntegrates dlt data loading into Dagster…
permissive · top 15,000 on PyPI
infisicalsdkFetch and manage secrets from Infisical, an…
unclear · top 5,000 on PyPI
buildkite-sdkA Python SDK for interacting with Buildkite's…
unclear · top 15,000 on PyPI
ibm-secrets-manager-sdkA Python client library for programmatically…
permissive · top 15,000 on PyPI
slack-discovery-sdkProvides Python bindings to Slack's Discovery…
unclear · top 15,000 on PyPI
slack-sdkProvides Python bindings for Slack's Web API,…
permissive · top 1,000 on PyPI
infisical-pythonProvides a Python SDK to retrieve secrets and…
unclear · top 15,000 on PyPI