🔗 Plato Mythos Glue
Runtime glue between PLATO Room Server and model — pure stdlib, zero dependencies
Bridges PLATO rooms and neural models without requiring PyTorch or HuggingFace. Room loading, tile encoding/decoding, and JSONL export — all pure Python stdlib.
Install
pip install plato-mythos-glue
Quick Start
Load Rooms
from plato_mythos_glue import load_rooms, room_to_expert_config
rooms = load_rooms("http://localhost:8847")
for room in rooms:
config = room_to_expert_config(room)
print(f"Room {config['room_id']}: {len(config['weights'])} domains")
Encode/Decode Tiles
from plato_mythos_glue import encode_tile, decode_output
encoded = encode_tile({"question": "What is justice?", "answer": "Harmony of the soul"})
print(f"Domain ID: {encoded['domain_id']}, Tokens: {len(encoded['token_ids']['question'])}")
decoded = decode_output(encoded)
print(f"Q: {decoded['question']}")
Export as JSONL
from plato_mythos_glue import export_tiles_as_hf
path = export_tiles_as_hf("http://localhost:8847", output_dir="./dataset")
print(f"Exported to {path}")
Part of Cocapn · Agent Infrastructure
Metadata
Release files for plato-mythos-glue 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plato_mythos_glue-0.1.1.tar.gz | 5.9 kB | Without provenance | Details for plato_mythos_glue-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plato_mythos_glue-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for plato_mythos_glue-0.1.1-py3-none-any.whl |
Total release size: 13.3 kB
Release files / plato_mythos_glue-0.1.1.tar.gz
| Download URL | plato_mythos_glue-0.1.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49f0610f310eb0f10a484d9ff4c847c103ad3edef0f01acbbfae7b1b7c61edbc
|
|
BLAKE2b-256 checksum How to use checksums |
194d84dd581d553742fa68610d3319e9a98a8ac5f226d1319325d3131794567e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / plato_mythos_glue-0.1.1-py3-none-any.whl
| Download URL | plato_mythos_glue-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0cca37afcde412316fe20f4fc5aa479aca14af971dd50cc629d4311a21c7977
|
|
BLAKE2b-256 checksum How to use checksums |
6b3f5f16e806916e2cd449d2fd389667cd5df3f0ec5720be22089c0408e5552a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for plato-mythos-glue 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.