Skip to main content

Official Databaset memory SDK for Python

Project description

Databaset Python SDK

Default API: https://api.databaset.com

pip install -e ./sdks/python
import os
from databaset import Memory

memory = Memory(api_key=os.environ["DATABASET_API_KEY"])

memory.store("user_123", "Prefers dark mode", metadata={"source": "api"})
context = memory.recall("user_123", "editor preferences")
print(context)

Set DATABASET_API_KEY=db_.... Optional DATABASET_API_URL (defaults to production).

Local backend:

memory = Memory(
    api_key=os.environ["DATABASET_API_KEY"],
    base_url="http://localhost:8085",
)

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

databaset-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

databaset-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for databaset-0.1.0.tar.gz
Algorithm Hash digest
SHA256 820360a34eb515f0d721e2f4d0b3905cc57c3eabca38873ecdc0058a37ed6618
MD5 c2e4305e99444c37f3e5c7c985478c51
BLAKE2b-256 34fbc8b94e6cf89bb02f62301cb5c70d9f5480f510d5d8eb24f7252e41462d3b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for databaset-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78ee6033348573b176009d3fc8ebff33374262d659f6ff0e3120bc0261f72eb1
MD5 50e9ae04130b72bdb030bc2a7bf5894b
BLAKE2b-256 213087c31800eceda5227a856c0d999c7c7d17d6a51ac617b6e83702e14c0166

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