Skip to main content

kessel

What this is

Minimal dependency python wsgi-compatible web framework with the tried and tested fluid-container-inspired name. This is pretty crude, so I decided to go with 'kessel', german for 'cauldron'.

DISCLAIMER

This project is mainly a learning effort and should not be used in any reliability- oder security-critical context.

Features

  • minimal web framework, can be anything you want.

  • token auth with pyJWT

  • modularisation can be achieved with recipes

  • thread-local app context for handling current_user, current_request, etc.

  • small and readable codebase

installation

pip install kessel

usage

WIP

see examples/app.py and examples/run.py

recipes

TODO

see examples/foo/fooController.py

Encoding & Decoding Tokens with RS256 (RSA)

TODO

mkdir test-app && \
openssl genrsa -out test-app/private.pem 2048

Acknowledgements

  • obviously heavily inspired by flask

  • class Headers from headers.py is a modified version of werkzeug's

Metadata

Release files for kessel 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kessel 0.5.2
File Size Uploaded Provenance Actions
kessel-0.5.2.tar.gz 17.4 kB Without provenance Details for kessel-0.5.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kessel 0.5.2
File Interpreter ABI Platform Actions
kessel-0.5.2-py3-none-any.whl Python 3 none any Details for kessel-0.5.2-py3-none-any.whl

Total release size: 37.3 kB

Release files / kessel-0.5.2.tar.gz

Download URL kessel-0.5.2.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e30a4833ee7a44407e7a41124c94cfa36b664bfa71e7f1159831ab6682be5984
BLAKE2b-256 checksum
How to use checksums
c832371663c61ba2b88142ba1023f8c2641dba4bb2af993888df80860ec2ae9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release files / kessel-0.5.2-py3-none-any.whl

Download URL kessel-0.5.2-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bece3a9cbbf4741e3402a9c5bfee72dff4de0e0656d58fdfb3a6c2103ba6d844
BLAKE2b-256 checksum
How to use checksums
b27cdacb4b5ce00c84f0e8bbcf01d9695db5ce43745287b5feef27c9b91be246
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Security for kessel 0.5.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page