Skip to main content

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

Project description

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.

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.1.tar.gz (23.0 kB view hashes)

Uploaded Source

Built Distribution

authx_extra-1.1.1-py3-none-any.whl (14.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page