Skip to main content

Eunomia SDK for Python

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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:

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

print(f"Is allowed: {is_allowed}")

Documentation

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eunomia_sdk_python-0.3.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eunomia_sdk_python-0.3.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file eunomia_sdk_python-0.3.2.tar.gz.

File metadata

  • Download URL: eunomia_sdk_python-0.3.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.3

File hashes

Hashes for eunomia_sdk_python-0.3.2.tar.gz
Algorithm Hash digest
SHA256 2571e965540207318511a298077dfdf77bd1c01fabcc2037bd6ae816b0d3e109
MD5 e871583c339d234b1c492b71ac0c46d9
BLAKE2b-256 49dcbbf880de1f6d8364577747b8345a6d5808fab389ec1858b4e7ff2774e602

See more details on using hashes here.

File details

Details for the file eunomia_sdk_python-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for eunomia_sdk_python-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 746748ebcd11e667ea2cea8e0d8dfa984d768557c92ee5604cb2bcdc117d7e64
MD5 90d62140c8fecc7e0ab8a414a74c01b4
BLAKE2b-256 fdd05893f83e6e9673d41c62f907be7429983112a3ba92e7be029231ceb8770a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page