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.0a6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e510da4020194edbe91edc074b3f669323bcb84e204d375ed7567a76fa50f641 |
|
MD5 | 7e9f51fb14ed0edde5faad5ec4139e35 |
|
BLAKE2b-256 | 28544213d0a533b3d664c7984553f1b529c783be82753e065896bd7ff3401589 |
Hashes for starlette_session_middleware-0.0.0a6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c431cdef971d44d9f24a366c93dc486511da913a13824e0902135779744d670 |
|
MD5 | c0ff350cacf39de16c6c1391a02d3d2b |
|
BLAKE2b-256 | 11ab8e69f2ab195874b5d0724a8956c417fac3c8b23ceb292adce2df53ab5506 |