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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file intelliopsopenfgasdk_python-0.1.0.tar.gz.
File metadata
- Download URL: intelliopsopenfgasdk_python-0.1.0.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8312d0798fcb7b599ddf710010a79202f1acd83a6ecf67ac99f4874e7eacd62e
|
|
| MD5 |
a4c9422e6b8e7dda95829eb062343332
|
|
| BLAKE2b-256 |
9e25610ee658d291089484fb66abe37e8ea962bd22faa67073854b44708239d3
|
File details
Details for the file intelliopsopenfgasdk_python-0.1.0-py3-none-any.whl.
File metadata
- Download URL: intelliopsopenfgasdk_python-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f6916c6f082d974a23030ff0d47385017e7460f467f88fd51af47b42bd8444d
|
|
| MD5 |
b3daae7253ea3ca98b89fc9e62ee671b
|
|
| BLAKE2b-256 |
1eb7b8091bf906644952e5ebf98f9e050bf533c1c4a5c86fc8fc50ad231f0026
|