ensign-protocol
Wire format for PLATO ensigns — load, save, validate behavioral instincts.
What's an Ensign?
Ensigns are compressed behavioral instincts extracted from PLATO room tiles. When an agent spends time in a room, it develops patterns. Ensigns capture those patterns in a portable format that any agent can load.
Like a fisherman's instincts: you don't think about which way to steer in a current, you just know. Ensigns make that portable.
Usage
from ensign_protocol import Ensign, EnsignHeader, EnsignField
ensign = Ensign(
header=EnsignHeader(name="navigator", source_room="bridge"),
fields=[
EnsignField(key="avoid_shallow", value=True, weight=0.9),
EnsignField(key="prefer_channel", value="north", weight=0.6),
],
)
# Save for transport
data = ensign.save()
# Load and validate
loaded = Ensign.load(data)
loaded.validate() # raises ValidationError if corrupt
Zero deps. pip install ensign-protocol
Metadata
Release files for ensign-protocol 0.1.0
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 |
|---|---|---|---|---|
| ensign_protocol-0.1.0.tar.gz | 3.8 kB | Without provenance | Details for ensign_protocol-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ensign_protocol-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ensign_protocol-0.1.0-py3-none-any.whl |
Total release size: 7.5 kB
Release files / ensign_protocol-0.1.0.tar.gz
| Download URL | ensign_protocol-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7ca3374b89b81b112260a344ced7f1b1328cb03b4d0c08a595c0ab7be40ae82
|
|
BLAKE2b-256 checksum How to use checksums |
ae26d18cbd26f42962ad8eaef6927ef8a7255eafb41323abee331f0d9ad01171
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / ensign_protocol-0.1.0-py3-none-any.whl
| Download URL | ensign_protocol-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
500aa52bf348f38ccfb663c48f1fcaa9e430a060fc0631d20f15dea4d53aaf25
|
|
BLAKE2b-256 checksum How to use checksums |
6e2b5fcdcaa221fb7f0229e21958020ba9ee87c8d23655f96b6ddefe330f7bf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for ensign-protocol 0.1.0
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.