Metadata-Version: 2.1
Name: axioms-drf-py
Version: 0.0.2
Summary: Django REST Framework (DRF) SDK for Axioms
Home-page: https://github.com/axioms-io/axioms-drf-py
Author: Axioms
Author-email: info@axioms.io
License: MIT
Project-URL: Documentation, https://github.com/axioms-io/axioms-drf-py
Project-URL: Source, https://github.com/axioms-io/axioms-drf-py
Project-URL: Tracker, https://github.com/axioms-io/axioms-drf-py/issues
Keywords: axioms authentication authorization iam authz authn jwt openid oauth2
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: pyjwt
Requires-Dist: jwcrypto
Requires-Dist: python-box
Requires-Dist: django (>=2.0djangorestframework)
Requires-Dist: requests (<3)
Requires-Dist: django-environ

# axioms-drf-py ![PyPI](https://img.shields.io/pypi/v/axioms-drf-py)
[Axioms](https://axioms.io) Python client for Django Rest Framework (DRF). Secure your DRF APIs using Axioms Authentication and Authorization.

## Prerequisite

* Python 3.7+
* An [Axioms](https://axioms.io) client which can obtain access token after user's authentication and authorization and include obtained access token as bearer in `Authorization` header of all API request sent to Python/Django/DRF application server.

## Install SDK
Install `axioms-drf-py` in you DRF API project,

```
pip install axioms-drf-py
```

## Documentation
See [documentation](https://developer.axioms.io/docs/sdks-samples/use-with-apis/python/django-apis) for `axioms-drf-py`.

## DRF Sample
To see a complete working example download [DRF sample](https://github.com/axioms-io/sample-python-drf) from our Github repository or simply deploy to Heroku by clicking following button. You will need to provide Axioms domain and Axioms audience to complete deployment.

<a href="https://heroku.com/deploy?template=https://github.com/axioms-io/sample-python-flask">
  <img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy" width="200px" />
</a>


