Awesome
authx-extra 💫
<p align="center"> <a href="https://authx.yezz.me" target="_blank"> <img src="https://user-images.githubusercontent.com/52716203/136962014-280d82b0-0640-4ee5-9a11-b451b338f6d8.png" alt="AuthX"> </a> <p align="center"> <em>Extra utilities for authx, including session, profiler & caching ✨</em> </p> <p align="center"> <a href="https://github.com/yezz123/authx-extra/actions/workflows/ci.yml" target="_blank"> <img src="https://github.com/yezz123/authx-extra/actions/workflows/ci.yml/badge.svg" alt="ci"> </a> <a href="https://pypi.org/project/authx-extra" target="_blank"> <img src="https://img.shields.io/pypi/v/authx-extra?color=%2334D058&label=pypi%20package" alt="Package version"> </a> <a href="https://codecov.io/gh/yezz123/authx-extra"> <img src="https://codecov.io/gh/yezz123/authx-extra/branch/main/graph/badge.svg"/> </a> </p> </p>Source Code: https://github.com/yezz123/authx-extra
Documentation: https://authx.yezz.me/
Features 🔧
- Using Redis as a session store & cache.
- Support HTTPCache.
- Support Sessions and Pre-built CRUD functions and Instance to launch Redis.
- Support Middleware of pyinstrument to check your service performance.
- Support Middleware for collecting and exposing Prometheus metrics.
Development 🚧
Setup environment 📦
You should create a virtual environment and activate it:
python -m venv venv/
source venv/bin/activate
And then install the development dependencies:
# Install dependencies
pip install -e .[test,lint]
Run tests 🌝
You can run all the tests with:
bash scripts/docker.sh
Format the code 🍂
Execute the following command to apply pre-commit
formatting:
bash scripts/format.sh
Links 🚧
License 📝
This project is licensed under the terms of the MIT License.