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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf554bd245b816c537987c99dc1719331524a91012369e74f039e3d19c8408e7 |
|
MD5 | 588c23485b69f8305239af4565a5adc6 |
|
BLAKE2b-256 | 285e1d4b074af042623c62cfe8b29ace561ed05830e8d4e336760617b85d80ac |
Hashes for starlette_session_middleware-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1d9eb2f36fe1f445564a3602cd26c95867266a8b1f42a6094a0890987fbec25 |
|
MD5 | 84427b62d79c3ecc739335029404676f |
|
BLAKE2b-256 | 7aa536ad0aedbb79df2f3ccb215bd9719d6bbae0270f1e14272475a203ee53e5 |