This release is a pre-release and may not be stable for production use.
Tano Workspace Protocol Helpers
Tano - Humans and agents, on the same page.
This preview Python library provides working helpers for Tano's local Markdown
workspace protocol. It is not the desktop application or a sync client.
PyPI normalizes the distribution name tano.page to tano-page; import it as
tano_page.
from tano_page import content_hash, is_short_id, is_workspace_data_path
revision = content_hash(b"# Notes\n")
assert len(revision) == 64
assert is_short_id("a1b2c3")
assert is_workspace_data_path(".tano/objects/a1b2c3.tano.json")
assert not is_workspace_data_path(".tano/config.json")
content_hashreturns a lowercase SHA-256 of the exact bytes, without newline or Unicode normalization.is_short_idrecognizes six lowercase hexadecimal characters. These IDs are separate from workspace UUIDs.is_workspace_internal_pathidentifies.tanopaths.is_workspace_data_pathclassifies portable object, capability, relation, and conflict paths. Workspace identity configuration is excluded.
Path classification is not path validation or filesystem authorization. Callers must validate relative paths, enforce workspace boundaries, reject unsafe symlinks, and compare the base hash before writing. The library performs no filesystem or network operations, has no runtime dependencies, and performs no actions at installation time.
Copyright dramwig. All rights reserved. See LICENSE; no open source license has been granted.
Release files for tano.page 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tano_page-0.1.0a1.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tano_page-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / tano_page-0.1.0a1.tar.gz
| Download URL | tano_page-0.1.0a1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b17336d63f844c12ae117c98f0e776ce9dfc5c976782d69310a6f73bd77346c6
|
|
BLAKE2b-256 checksum How to use checksums |
700d606b3c66184514c1c1cc524f775deb7cb1ecd09784eaa9239c914007881d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / tano_page-0.1.0a1-py3-none-any.whl
| Download URL | tano_page-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
118aca5278716c1858e32e337d1883e3e6e35a1f0cb95529709c4943326e75e7
|
|
BLAKE2b-256 checksum How to use checksums |
a47d13d94ca51955369655c993888649ae354935d904cfc85651b49e1ab98e0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|