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:

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

print(f"Has access: {has_access}")

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.2.3.tar.gz (3.3 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.2.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eunomia_sdk_python-0.2.3.tar.gz
Algorithm Hash digest
SHA256 d7afe64e2997cc5c84ea5a82fe9f64d3243acaa3bcabadecfccca29752e4d174
MD5 e826fedac27d9e940c88e8f3bc3fe014
BLAKE2b-256 a4f41c01f382a605ad15f3e687ab050dd548ac73d5065cf544e25b3204bfb715

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eunomia_sdk_python-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 97bed5cb12c7174fc4d7feba7a051bb0b21eb1aed62d557226bdc7b7a9aa195a
MD5 4036c61c7a2db9e56597f158640481f5
BLAKE2b-256 e56a4a386958461b60ffa4c85273e11d55a22572c16eefb7637f429d66ab3aeb

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