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.
Metadata
Release files for authz 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| authz-0.1.4.tar.gz | 9.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| authz-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.8 kB
Release files / authz-0.1.4.tar.gz
| Download URL | authz-0.1.4.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ef7d2c4ff39e8e8610ec5f14ae7f0069441849ecfa63a73fdb5006be318d715
|
|
BLAKE2b-256 checksum How to use checksums |
ae490963a0326a9b4a73f645e809e10da8b8b9e6287045f732a2433801b0a998
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.8 Darwin/23.4.0
|
Release files / authz-0.1.4-py3-none-any.whl
| Download URL | authz-0.1.4-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47afad3c5d6411958aa7606d8e45d540ccabd73945c2da2eaa6dfead3dd7ff41
|
|
BLAKE2b-256 checksum How to use checksums |
c729c62821e8f8e22441f1e2adef8b31d1661f15dad7b0b6d71082b590e6cada
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.8 Darwin/23.4.0
|
Security for authz 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.