Skip to content

Extra utilities for authx, including session, profiler & caching ✨

License

Notifications You must be signed in to change notification settings

yezz123/authx-extra

Repository files navigation

authx-extra 💫

AuthX

Extra utilities for authx, including session, profiler & caching ✨

ci Package version


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.

About

Extra utilities for authx, including session, profiler & caching ✨

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •