This part of the documentation covers the installation of Authlib, just like any other software package needs to be installed first.
Installing Authlib is simple with pip:
$ pip install Authlib
It will also install the dependencies:
Note
You may enter problems when installing cryptography, check its official document at https://cryptography.io/en/latest/installation/
Authlib is actively developed on GitHub, where the code is always available.
You can either clone the public repository:
$ git clone git://github.com/lepture/authlib.git
Download the tarball:
$ curl -OL https://github.com/lepture/authlib/tarball/master
Or, download the zipball:
$ curl -OL https://github.com/lepture/authlib/zipball/master
Once you have a copy of the source, you can embed it in your Python package, or install it into your site-packages easily:
$ cd authlib
$ pip install .