Skip to main content

Python client SDK for Stigmem — the federated knowledge fabric

Project description

stigmem-py

Python client SDK for Stigmem — the federated knowledge fabric.

Install

pip install stigmem-py

Quick start

from stigmem import StigmemClient, string_value

client = StigmemClient(url="http://localhost:8765", api_key="sk-...")
fact = client.assert_fact(
    entity="user:alice",
    relation="memory:role",
    value=string_value("CEO"),
    source="agent:cto",
)
page = client.query(entity="user:alice", scope="company")

License

Apache-2.0

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

stigmem_py-0.9.0a1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

stigmem_py-0.9.0a1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file stigmem_py-0.9.0a1.tar.gz.

File metadata

  • Download URL: stigmem_py-0.9.0a1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for stigmem_py-0.9.0a1.tar.gz
Algorithm Hash digest
SHA256 cae34826ab4544ae98b281b0a57f610add50a09308c35f5eeaec3ba928d6fcfa
MD5 534dfe0835dbb4a236d304b5e8b9b2c8
BLAKE2b-256 dcd951ca26258ec14b40e0466b56d78469450800bbcb67f15a4630877b75f735

See more details on using hashes here.

File details

Details for the file stigmem_py-0.9.0a1-py3-none-any.whl.

File metadata

  • Download URL: stigmem_py-0.9.0a1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for stigmem_py-0.9.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 f41e9eb8464f33a4549ea4e9a85f49c8fcdba68463cf78cc496b4dd32cc62df3
MD5 c92256a0fb4f8b5a3a05d0d766f12101
BLAKE2b-256 69219c7709c43097ff5015cf52e6c4649cb8ff62657627608994b88d4699bd9b

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