Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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-python package via pip:

pip install eunomia-sdk-python

Usage

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

from eunomia_sdk_python 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-python 0.3.4

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-python 0.3.4
File Size Uploaded Provenance
eunomia_sdk_python-0.3.4.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 7.6 kB

Release files / eunomia_sdk_python-0.3.4.tar.gz

Download URL eunomia_sdk_python-0.3.4.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c3f938d144bbd439d9d30e624ca1ed88ee25c30a9a7690ff7123525f31037004
BLAKE2b-256 checksum
How to use checksums
67982fb1115c9045fbb6ca2d891a836af08335ad3d01b4d1352cbec83aa3915b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.3

Release files / eunomia_sdk_python-0.3.4-py3-none-any.whl

Download URL eunomia_sdk_python-0.3.4-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4844637493eca30faa2cc0770d6fd71cd2774168301f3c1b4a246d773de45c1b
BLAKE2b-256 checksum
How to use checksums
bd8bdd1d6421242e122774394ef35bf8273e4f98f7968904c0e15accbeea8c19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.3

Security for eunomia-sdk-python 0.3.4

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