Installation of Authlib¶
This part of the documentation covers the installation of Authlib. The first step to using any software package is getting it properly installed.
$ pip install Authlib¶
Installing Authlib is simple with pip:
$ pip install Authlib
To support RSA in OAuth 1 or OpenID Connect in OAuth 2, install with
$ pip install Authlib[crypto]
Get the Source Code¶
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 .