Skip to main content

master: Lint and Test: master

LiteSpeed

Just a simple-fast-multithreading webserver that is mostly customizable and only relies on pure python 3.6+. Has support for Cookies, Sessions, Websockets and serving files. It is similar to flask.

Has a built in rendering system using the render method. A complicated example of this is the html/500.html file

Installation

pip install LiteSpeed

Usage

Any function with a route decorator must follow one of the following return patterns:

  • render(filename, dict)
  • static(filename)
  • str or bytes (body)
  • str or bytes (body), int (status code)
  • str or bytes (body), int (status code), dict (headers)

~~test~~ (for example)

Metadata

Release files for LiteSpeed 1.2.0

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

Source distribution (sdist)

Source distribution for LiteSpeed 1.2.0
File Size Uploaded
LiteSpeed-1.2.0.tar.gz 17.5 kB Details

Built distribution (wheel)

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

Total release size: 39.4 kB

Release files / LiteSpeed-1.2.0.tar.gz

Download URL LiteSpeed-1.2.0.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ab0a50bd43501d9e68d01722a8eccd06c216bb00465227a078682eb6eacead1c
BLAKE2b-256 checksum
How to use checksums
78d35b2e9c4b5e9c6a32afe3463fd8e6455554459821d57817eee325c14bd740
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.6.14

Release files / LiteSpeed-1.2.0-py3-none-any.whl

Download URL LiteSpeed-1.2.0-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38ff9d9d2c7131c5b840251ae97916ffaca18e751e615f442da91d59de33537e
BLAKE2b-256 checksum
How to use checksums
b513a7b56af2986156d2baf61627ec13c99bb25269ebbce88aef5c84b20ebe98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.6.14

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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