Living memory systems for data scientists and ML engineers — stories, genealogy, praise names, and federated memory.
Project description
griot-math
Living memory systems for data scientists and ML engineers.
Stories, genealogy, praise names, call-and-response, and federated memory — as a pip-installable package.
Install
pip install griot-math
Quick Start
from griotmath import Griot
griot = Griot(name="Anansi")
s1 = griot.add_story("In the beginning, there was only darkness.", tags=["origin", "cosmic"])
s2 = griot.add_story("The spider spun a thread of light.", parent_id=s1, tags=["light", "spider"])
# Story decay and retrieval
griot.apply_decay(rate=0.1)
strengths = griot.memory_strengths()
# Genealogy
from griotmath.genealogy import genealogy, descendants, tradition_score
paths = genealogy(griot, s2)
score = tradition_score(griot)
# Praise names — dense semantic compression
from griotmath.praise import generate_praise_name
pn = generate_praise_name(griot, [s1, s2], name="Thread-Spinner")
# Call-and-response
from griotmath.call_response import call_and_response
caller = Griot(name="Caller")
responder = Griot(name="Responder")
# ...
# Federation
from griotmath.federation import Federation
fed = Federation()
fed.add_griot(griot)
Concepts
- Griot: A living memory keeper. Stories have weight, tags, tell count, and genealogy.
- Decay: Memory follows exponential decay — stories weaken over time unless retold.
- Praise Name: Dense semantic compression of a griot's stories into a name with metadata.
- Call-and-Response: Tag-based similarity matching between griots.
- Genealogy: Ancestry paths, descendants, and tradition scores.
- Federation: Distributed memory across multiple griots with sync and merge.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
griot_math-0.1.0.tar.gz
(10.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file griot_math-0.1.0.tar.gz.
File metadata
- Download URL: griot_math-0.1.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3472f02dd76d52428cfedd0d1bfd09e0d2740c90d2ca27b442bba90c8792451
|
|
| MD5 |
82dfee265c7392e2ae7f004d7f982501
|
|
| BLAKE2b-256 |
891e4b766c7cd19c7835cdab48a9c1aef7f458dec375cd28c481d587de0015ad
|
File details
Details for the file griot_math-0.1.0-py3-none-any.whl.
File metadata
- Download URL: griot_math-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e08a75c7423d727a57aa126cf4217b169af1f861503a44c440734d120ca33da
|
|
| MD5 |
53c635bbffbfc28898f0fa52ee880ba1
|
|
| BLAKE2b-256 |
1e9f689bc971328c07b0ea3a0ac84d073bd8af74f5287228e1ab71ca25551dee
|