Skip to main content

Eunomia SDK for Python

This package allows you to integrate Eunomia inside your Python application, providing a client to interact with the Eunomia server.

Installation

Install the eunomia-sdk package via pip:

pip install eunomia-sdk

Usage

Create an instance of the EunomiaClient class to interact with the Eunomia server.

from eunomia_sdk import EunomiaClient

client = EunomiaClient()

You can then call any server endpoint through the client. For example, you can check the access of a principal to a resource:

response = client.check(
    principal_attributes={"role": "admin"},
    resource_attributes={"type": "confidential"},
)

print(f"Is allowed: {response.allowed}")

Documentation

For detailed usage, check out the SDK's documentation.

Metadata

Release files for eunomia-sdk 0.3.10

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

Source distribution (sdist)

Source distribution for eunomia-sdk 0.3.10
File Size Uploaded Provenance
eunomia_sdk-0.3.10.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for eunomia-sdk 0.3.10
File Interpreter ABI Platform
eunomia_sdk-0.3.10-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / eunomia_sdk-0.3.10.tar.gz

Download URL eunomia_sdk-0.3.10.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0660339ea1da95ab8c8af7ba180bea6ac9162333b1e352126363c41727405a1d
BLAKE2b-256 checksum
How to use checksums
0758d41fb233a7e36233dc7ffdbe7a297ca397ac7cce98b258b4dbde214c34b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.3

Release files / eunomia_sdk-0.3.10-py3-none-any.whl

Download URL eunomia_sdk-0.3.10-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
984a5c0660b237c78ee611b6a1573577924002447cc06b4d97e4170457393a6d
BLAKE2b-256 checksum
How to use checksums
f8dc456fdcbe2a8e345088f29ffd5e165e1c25f2580049cde83e350a2a933419
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.3

Security for eunomia-sdk 0.3.10

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.

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