Skip to main content

Python SDK for the AuthZ permission system

Project description

AuthZ Python SDK

Python Version License

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:

  1. Clone the repository from the remote URL:
git clone https://e.coding.net/cloudbase-100009281119/authz/authz-python.git
  1. Change to the cloned directory:
cd authz-python
  1. 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

authz-0.1.4.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

authz-0.1.4-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

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

Hashes for authz-0.1.4.tar.gz
Algorithm Hash digest
SHA256 8ef7d2c4ff39e8e8610ec5f14ae7f0069441849ecfa63a73fdb5006be318d715
MD5 1ee668548fd5774d8dd542f2ee4a8fd3
BLAKE2b-256 ae490963a0326a9b4a73f645e809e10da8b8b9e6287045f732a2433801b0a998

See more details on using hashes here.

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

Hashes for authz-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 47afad3c5d6411958aa7606d8e45d540ccabd73945c2da2eaa6dfead3dd7ff41
MD5 f97017ca2d70ec26ce0732eb16b864dc
BLAKE2b-256 c729c62821e8f8e22441f1e2adef8b31d1661f15dad7b0b6d71082b590e6cada

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page