Skip to main content

Mauth API client library

Project description

Install library through pypi

pipenv install python_mauth

Simple usecase of creating application

from mauth.applications import Application
from mauth.core.client import APIClient

api_client = APIClient(
    api_key='',
    api_base_url='http://localhost:8000/api/'
)
app = Application(api_client=api_client)
app.title = 'title'

# NOTE. Creation allowed only for admin application.
app.create()
print(app.id)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-mauth, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size python_mauth-0.1.4.tar.gz (13.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page