Extra utilities for authx, including session, profiler & caching ✨
Project description
authx-extra 💫
Extra utilities for authx, including session, profiler & caching ✨
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
authx_extra-1.1.1.tar.gz
(23.0 kB
view hashes)
Built Distribution
Close
Hashes for authx_extra-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0389fa0ee17c42a57f2b6affe2cf3ca476d4540824b7a4484851a703605329ec |
|
MD5 | 87b9a92b79c0e2991778a2d95542732a |
|
BLAKE2b-256 | c7eb2c6f4854e6f10168c9e3767c5689b1eafa3e4a8800cd85fd4982161e0c61 |