Python SDK for the AuthZ permission system
Project description
AuthZ Python SDK
AuthZ Python SDK is a Python package that provides an interface to interact with the AuthZ permission system.
Table of Contents
Overview
Provide a brief introduction to the AuthZ permission system and how this SDK can be used to integrate it into Python applications.
Installation
To install the AuthZ Python SDK, run:
pip install authz
Additional Notes
- Ensure you have Poetry installed in your environment. If you don't have it installed, you can follow the instructions on the Poetry website.
- You may need to authenticate with the Git repository if it's private. Make sure you have the necessary permissions to access the repository.
Installing with Poetry (Recommended)
You can directly install the authz-python
package from its Git repository using Poetry. Run the following command in your terminal:
poetry add git+https://e.coding.net/cloudbase-100009281119/authz/authz-python.git
This command will add the authz-python
package as a dependency to your project and install it along with any other dependencies it requires.
Installing with Poetry (Manual)
To install the AuthZ Python SDK using Poetry, follow these steps:
- Clone the repository from the remote URL:
git clone https://e.coding.net/cloudbase-100009281119/authz/authz-python.git
- Change to the cloned directory:
cd authz-python
- Install the package and its dependencies using Poetry:
poetry install
Using pip (Alternative)
If you prefer to use pip, you can install the package directly from the cloned repository:
pip install git+https://e.coding.net/cloudbase-100009281119/authz/authz-python.git
Usage
Here's a simple example of how to use the AuthZ Python SDK:
from authz.client import Client
# Initialize the client with your credentials
client = Client(client_id="your_client_id", provider="https://authz.example.com", client_secret="your_client_secret")
# Use the client to interact with the AuthZ system
# Example: Authorize a request
# ...
API Reference
Provide a detailed guide to the classes, methods, and functions available in the SDK.
Contributing
If you'd like to contribute to the AuthZ Python SDK, please follow the guidelines outlined in CONTRIBUTING.md.
License
This project is licensed under the terms of the Apache License 2.0.
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
Built Distribution
File details
Details for the file authz-0.1.4.tar.gz
.
File metadata
- Download URL: authz-0.1.4.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.8 Darwin/23.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ef7d2c4ff39e8e8610ec5f14ae7f0069441849ecfa63a73fdb5006be318d715 |
|
MD5 | 1ee668548fd5774d8dd542f2ee4a8fd3 |
|
BLAKE2b-256 | ae490963a0326a9b4a73f645e809e10da8b8b9e6287045f732a2433801b0a998 |
File details
Details for the file authz-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: authz-0.1.4-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.8 Darwin/23.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47afad3c5d6411958aa7606d8e45d540ccabd73945c2da2eaa6dfead3dd7ff41 |
|
MD5 | f97017ca2d70ec26ce0732eb16b864dc |
|
BLAKE2b-256 | c729c62821e8f8e22441f1e2adef8b31d1661f15dad7b0b6d71082b590e6cada |