Skip to main content

Immutable tile storage — version history, dependency tracking, JSONL persistence

Project description

plato-tile-store

Immutable tile storage — version history, dependency tracking, JSONL persistence.

Part of the PLATO framework — deterministic AI knowledge management through tile-based architecture.

Installation

pip install plato-tile-store

Usage

from plato_tile_store import TileStore

store = TileStore()

# Add tiles
store.add({"content": "Pythagorean triples snap to exact coordinates", "domain": "ct"})
store.add({"content": "Deadband: P0 rock, P1 channel, P2 optimize", "domain": "governance"})

# Immutable updates create new versions
v2 = store.update(tile_id, {"content": "Updated content"})
history = store.history(tile_id)  # [v1, v2]

# Search
results = store.search(query="pythagorean", domain="ct")

# Persist to disk
store = TileStore(path="tiles.jsonl")
store.add(tile)
store.save()  # writes JSONL

Zero external dependencies. Compatible with Python 3.8+.

GitHub

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

plato_tile_store-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

plato_tile_store-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plato_tile_store-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fb7a2ef70bbdd88e9cc609ceb0db3bf2a9a22902b74618fe631173d0378dfa05
MD5 2abd4851a58f63bff054252d7ed37c37
BLAKE2b-256 8eb6224529873fde7891dfa1266b668c6aeed23fdc075ce5f300fcdf4b52cea3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plato_tile_store-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8aa5af60c7f203dfcec8d8d34e5927df1e06d73437b2c2658563d7e38d5c7439
MD5 80dc9b28123c6783eff6b065637ca4a0
BLAKE2b-256 f9e40e3702dcca313a5f5970059023e3aa961894912cd26fa828d6aa78076d86

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