No project description provided
Project description
Starlette Session Middleware ·
Purpose
The purpose of this project is to provide an enhanced, more flexible ASGI session middleware
Getting started
In the project root, you will want to create and activate a Python virtual environment in a folder called .venv
.
On Fedora 38 this can be done by running python3.9 -m venv .venv && source .venv/bin/activate
. You will then want to
pip install all of the dependencies for local development. This can be done by running pip install -r requirements.txt
in your Python 3.9 virtual environment. After that, you will want to run pre-commit install
to install all of the
pre-commit hooks. This ensures that we reduce unneeded pipeline failures.
Running the Tests
You can run the tests by running python -m pytest -n auto --cov
. This will use pytest-xdist to parallelize the tests and provide a code
coverage report by using pytest-cov.
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
Built Distribution
Hashes for starlette-session-middleware-0.0.0a11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be2dd85190c6e8991bc7141ca5a7fae0c7df5904484786def790e991caa56b5 |
|
MD5 | 78ab8e2fc0abb2fa7edf3dd8acdb5744 |
|
BLAKE2b-256 | 38771fe2fed9ac952761960bebb53999e8402421fdc6c961df6dffa20e203e1d |
Hashes for starlette_session_middleware-0.0.0a11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8487539f8bcb02026650223d0aa3752d453cd98cd82ffcc56c8ae16e40daa8e |
|
MD5 | 194057bffd454071285ae2ffec26752e |
|
BLAKE2b-256 | bf727867e395fd535670a0402a46daa7b6c0148db5f2cf166645a00c0cc17167 |