Skip to main content

DenkOps SDK — env-aware SQLite key-value store for deployed Python apps.

Project description

denkops (Python SDK)

Env-aware SQLite key-value store for Python apps deployed on DenkOps — the LLM-native, MCP-first deployment platform. One line of code gives your app durable persistence on the per-project /persist volume, with no external database to wire up.

Install

pip install denkops

Usage

import denkops

denkops.store.set("visits", "1")         # str values; optional ttl_seconds=
visits = denkops.store.get("visits")     # str | None
denkops.store.list("user:")              # keys by prefix
denkops.store.delete("visits")

Where the data lives

On DenkOps the store sits on your project's durable /persist volume (path from DENKOPS_PERSIST, default /persist) and survives redeploys, restarts and crashes. Locally it falls back to .denkops_local/, so the same code works in development and in the cloud. The import is import denkops.

Deploy on DenkOps

Ship the app from your agent — install the DenkOps plugin in Claude Code (or connect another agent from the Connect page) and say "deploy on DenkOps". See the quickstart to get running in minutes.


Built by DenkOps · Docs · 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

denkops-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

denkops-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: denkops-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for denkops-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1306b1bd31d926fa904fbd737787f61c347fd662f6f6039743971abdcd29c4f2
MD5 4a9a37d8ac4275688ccca76baf5d4a3a
BLAKE2b-256 75a15c3769d5ca1c7aae95a8384f985dde0e5118003ef42114c20e18625103a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: denkops-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for denkops-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6437c2ecbd5d30f8b02f10269f92f8fdae2da8bee8f8be46c6666fe941ce60c
MD5 eddb088baa69970baa8f999ad27198f4
BLAKE2b-256 c15449252347c64054063d78d6fd8f054c2efe1a2c73d3857686e1a5f758db4a

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