tolap-core
Part of TOLAP -- the Tool-Object Level Access Protocol.
Policy models, the most-restrictive-wins merge algorithm, HMAC signing over a canonical form, and the enforcement engine. No runtime dependencies -- crypto, JSON and collections come from the standard library.
Install
pip install tolap-core
What TOLAP does
When an AI agent queries a database or calls an API through a tool, IAM and OAuth decide whether the agent may invoke that tool. Neither decides which rows and columns this particular user may see through it. TOLAP moves enforcement inside the tool, at the data-object level: column hiding, row filtering, field masking, tag-based access and endpoint restrictions, applied before any data reaches the agent.
One policy schema covers databases, APIs, knowledge bases and object storage. Policies are merged most-restrictive-wins, then HMAC-signed so they can cross process and network boundaries tamper-evidently. A context signed by any one of the three SDKs verifies in the other two.
Documentation
- Repository and full README
- Architecture guide
- Canonical enforcement specification -- normative cross-language behaviour
- Threat model
- Integration examples -- fourteen agent frameworks, each CI-tested
Security
Enforcement is non-bypassable where the wrapper is the only path to the data source. A tool that reaches a source without going through a wrapper is outside the boundary. See known limitations for the full list of what TOLAP does not guarantee, and SECURITY.md to report an issue.
License
Metadata
Release files for tolap-core 1.0.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 |
|---|---|---|---|---|
| tolap_core-1.0.0.tar.gz | 70.0 kB | Without provenance | Details for tolap_core-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tolap_core-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for tolap_core-1.0.0-py3-none-any.whl |
Total release size: 147.5 kB
Release files / tolap_core-1.0.0.tar.gz
| Download URL | tolap_core-1.0.0.tar.gz |
|---|---|
| Size | 70.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
641ab67028d8c48b0b522afb44d26c1bf9c308642665fa608e84d1871e853f1d
|
|
BLAKE2b-256 checksum How to use checksums |
e44a1ba5a8694d8885c5e2a1e659f19192a55612b58d23621c3f4cc684947705
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / tolap_core-1.0.0-py3-none-any.whl
| Download URL | tolap_core-1.0.0-py3-none-any.whl |
|---|---|
| Size | 77.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c701149d29c060edf1288966b3f6280cb5ed8a1c10c3709f1aeb98bb7e83c002
|
|
BLAKE2b-256 checksum How to use checksums |
2d684c9b6666441331c9f245347a98b086232b097da0993d3520ca8a34a6fd0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for tolap-core 1.0.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.