Feature Standards Core — python
Experimental 0.1.0 APIs for authorization/rbac-v1 and listing/offset-list-v1. Authentication remains in its existing package. These modules implement the shared normative contracts.
from feature_standards import Grant, Policy, Principal, Resource, ListingSchema, parse_query, page
policy = Policy([Grant("viewer", "documents:read", "owner")])
decision = policy.decide(Principal("user-1", "tenant-a", ("viewer",)), "documents:read", Resource("tenant-a", "user-1"))
schema = ListingSchema({"id": "string", "score": "integer"}, {"score": "integer"})
result = page([{"id": "a", "score": 1}], parse_query("limit=20&sort=-score", schema), schema)
After publication: pip install feature-standards-core==0.1.0. Before publication, use uv pip install ./libraries/python from a checkout or a local path dependency. Python >=3.12, no runtime dependencies. A separate real HTTP consumer is in examples/core-python.
Run both native feature suites from the repository root:
python3 tools/check_core_features.py --stack python --feature all
Each native test suite consumes features/authorization/scenarios.json and features/listing/scenarios.json; source-checkout tests intentionally use repository-relative fixture paths. Runtime consumers do not need those fixture files. Apply trusted current membership, server resource tenant/owner, deny-by-default policy, and authorization scoping before listing totals. Listing accepts only bounded materialized data, exact filters, and a strict raw query string. No production audit or database adapter is implied. Check the repository release receipts for actual registry availability.
Metadata
Release files for feature-standards-core 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 |
|---|---|---|---|---|
| feature_standards_core-0.1.0.tar.gz | 5.3 kB | With provenance | Details for feature_standards_core-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| feature_standards_core-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for feature_standards_core-0.1.0-py3-none-any.whl |
Total release size: 11.9 kB
Release files / feature_standards_core-0.1.0.tar.gz
| Download URL | feature_standards_core-0.1.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9959f6cf2892559ec2add8bb4cc82d57acc11bffd2f7a3034d15812757b8850
|
|
BLAKE2b-256 checksum How to use checksums |
633e889f6dfd9551e22abc2e662c757a8838995849f2e118ea48311234af69c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logRelease files / feature_standards_core-0.1.0-py3-none-any.whl
| Download URL | feature_standards_core-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
adac14d13605f1df0a633a436a5137ba02df9b4af2835d21d416288fdda4d351
|
|
BLAKE2b-256 checksum How to use checksums |
c1ff9f2cef40497bd602f523c7a473879d46c81ba497c44bff4c47791885c001
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logSecurity for feature-standards-core 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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for feature_standards_core-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logA 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.