Skip to main content

Swarmauri Logo

swarmauri_permission_explicit

Downloads Hits Python License Version

Interchangeable permissions component for the composable execution framework.

Features

  • Export ExplicitPermissionPolicy with SDK interface/base-class inheritance and entry-point discovery.
  • Keep user authority, workload identity, lifecycle and delivery dependencies explicit.
  • Reuse existing service registries, transports, checkpoints and token providers.
  • Support Python 3.10, 3.11 and 3.12.

Installation

These packages introduce unreleased core/base APIs. Install the matching workspace revision together; do not combine with older published core/base releases. Release validation must publish compatible dependency versions first.

uv pip install ./pkgs/standards/swarmauri_permission_explicit
pip install ./pkgs/standards/swarmauri_permission_explicit

Usage

The following is composition code. Injected dependency names are host configuration, not bundled mock providers. Async statements run inside an async function.

from swarmauri_core.permissions import Permission
from swarmauri_permission_explicit import ExplicitPermissionPolicy

policy = ExplicitPermissionPolicy()
read = Permission("documents:read", "document:123", "acme")
assert policy.authorize((read,), read).allowed
assert policy.attenuate((read,), (read,)) == (read,)
# Different actions, documents or tenants are denied.

See the complete architecture and deployment guide for concrete local commands, live OIDC integration, HTTP hosting, lifecycle semantics and failure recovery.

Verification

From pkgs/, with the workspace dependencies installed:

uv run --package swarmauri_permission_explicit --directory standards/swarmauri_permission_explicit pytest
uv run --package swarmauri_permission_explicit --directory standards/swarmauri_permission_explicit ruff check .

Tests use real signing and stores where applicable; scripted models are explicitly identified fixtures. No live provider interoperability is claimed by offline tests.

Contributing

Follow the repository contribution guide.

Metadata

Release files for swarmauri_permission_explicit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swarmauri_permission_explicit 0.1.0
File Size Uploaded Provenance Actions
swarmauri_permission_explicit-0.1.0.tar.gz 6.6 kB Without provenance Details for swarmauri_permission_explicit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for swarmauri_permission_explicit 0.1.0
File Interpreter ABI Platform Actions
swarmauri_permission_explicit-0.1.0-py3-none-any.whl Python 3 none any Details for swarmauri_permission_explicit-0.1.0-py3-none-any.whl

Total release size: 14.8 kB

Release files / swarmauri_permission_explicit-0.1.0.tar.gz

Download URL swarmauri_permission_explicit-0.1.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
12a14c911c281bfc6a5f1c58db3fde28718ef11401b95f3f1fef43513f1c493b
BLAKE2b-256 checksum
How to use checksums
8fb838879123329b673ab19ec83eec59602405d2795f5fde6712bb59fa10cd4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / swarmauri_permission_explicit-0.1.0-py3-none-any.whl

Download URL swarmauri_permission_explicit-0.1.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5473bf223073f77e87a9d1d8861c1c2a1eb8d31a3e5863142d54b8fded7dd047
BLAKE2b-256 checksum
How to use checksums
7abe5771b7c5656d7f72716862799e613593058c13d269fcda87a5c1812d9d3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for swarmauri_permission_explicit 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page