Installation¶
Getting Started¶
You can add AuthX to your FastAPI project in a few easy steps. First of all, install the dependency:
Default Dependency¶
$ pip install authx
---> 100%
Extra Dependencies¶
After installing the dependency, you can install the extra dependencies, which we have in the authx-extra
repository.
$ pip install authx_extra
---> 100%
Warning
You should install the extra dependency you are aiming to use, ex:
authx_extra[cache]
for Redis supportauthx_extra[profiler]
for Pyinstruments Profiler supportauthx_extra[oauth2]
for OAuth2 supportauthx_extra[metrics]
for prometheus metrics support
Development Dependencies¶
$ git clone https://github.com/yezz123/authx.git
---> 100%
$ cd authx
$ bash scripts/install.sh