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.0.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

authz-0.1.0-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

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