Skip to main content

Context storage utilities for ACACE

Project description

ACACE Context Storage

A context storage module for the Adaptive Context-Aware Content Engine (ACACE).

Features

  • Session-based context storage
  • Context retrieval and updates
  • Memory-efficient storage
  • Simple API

Installation

pip install acace_context_storage

Usage

from acace_context_storage import ContextStorage

# Initialize context storage
storage = ContextStorage()

# Store context for a session
storage.store_context("session1", "This is the context for session 1")

# Retrieve context
context = storage.get_context("session1")
print(context)  # Output: "This is the context for session 1"

# Update context
storage.store_context("session1", "Updated context for session 1")

License

MIT License

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

acace_context_storage-0.1.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

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

acace_context_storage-0.1.0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acace_context_storage-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.9.6 Darwin/24.3.0

File hashes

Hashes for acace_context_storage-0.1.0.tar.gz
Algorithm Hash digest
SHA256 33261aa918e073b204995e78c2e34ce2ecbf0f471b18cf2b6e38fc942e0d0217
MD5 2e8d9cb79f8d8f630a05605f2fe6bd1f
BLAKE2b-256 b2f04ae70f09408e7fc199bc2a97fef07bc47fcf6099ae5cd869b0b52ef19062

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for acace_context_storage-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e63133780b7e19eb4605535feb9c70f89a38853f8a451643c09642ee3b2f63d
MD5 9c5952247a0b9baaa25160b2e11c9796
BLAKE2b-256 b36676a8196bf217ca06f698f47a60f263eec2957e31b5647041aa34f30c6cca

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