Skip to main content

Add your description here

Project description

IntelliOpsOpenFgaSDK-Python

An efficient, asynchronous Python SDK for communicating with the IntelliOps FGA API.

Features

  • Async API calls using aiohttp
  • Fast and efficient client
  • Easy integration with asyncio-based applications
  • Example methods for permission checking and listing

Installation

Install via pip (after publishing):

pip install intelliopsopenfgasdk-python

Or install dependencies for development:

pip install -r requirements.txt

Usage

import asyncio
from src.intelliopsopenfgasdk_python.client import Client

async def main():
    async with Client(base_url="https://api.intelliops.com", api_key="your-key") as client:
        allowed = await client.check_permission("alice", "read", "document:123")
        print("Allowed:", allowed)
        permissions = await client.list_permissions("alice")
        print("Permissions:", permissions)

asyncio.run(main())

Testing

Run tests using pytest:

pytest

License

MIT

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

intelliopsopenfgasdk_python-0.1.0.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

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

intelliopsopenfgasdk_python-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file intelliopsopenfgasdk_python-0.1.0.tar.gz.

File metadata

File hashes

Hashes for intelliopsopenfgasdk_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8312d0798fcb7b599ddf710010a79202f1acd83a6ecf67ac99f4874e7eacd62e
MD5 a4c9422e6b8e7dda95829eb062343332
BLAKE2b-256 9e25610ee658d291089484fb66abe37e8ea962bd22faa67073854b44708239d3

See more details on using hashes here.

File details

Details for the file intelliopsopenfgasdk_python-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for intelliopsopenfgasdk_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f6916c6f082d974a23030ff0d47385017e7460f467f88fd51af47b42bd8444d
MD5 b3daae7253ea3ca98b89fc9e62ee671b
BLAKE2b-256 1eb7b8091bf906644952e5ebf98f9e050bf533c1c4a5c86fc8fc50ad231f0026

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