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
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.4.tar.gz
(111.9 kB
view details)
Built Distribution
File details
Details for the file authx_extra-1.1.4.tar.gz
.
File metadata
- Download URL: authx_extra-1.1.4.tar.gz
- Upload date:
- Size: 111.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ac6dd7ef8597e61051497b3516885196769b2f96441d0cc7f9fdbb25a043d2b |
|
MD5 | f5f3c5930d260bd18d4d8ed4e035427e |
|
BLAKE2b-256 | 25782b5b0c5376a9b4a330f8d9b96e6436efaa31755bd470d10922a4e9c9bb09 |
File details
Details for the file authx_extra-1.1.4-py3-none-any.whl
.
File metadata
- Download URL: authx_extra-1.1.4-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac3f69e0829afe8ade2f8646bbe26aa36441c9351672ecb6392bb0403de83498 |
|
MD5 | f2f3d4383627c32d95e3fa56e2c09c31 |
|
BLAKE2b-256 | 404b320cb7f5e0fd92be094e4e192c215b646fc708ad019799f4d7c290a501ec |