Skip to main content

pylw

Python Lightweight Webframework.

Usage

Please see main.py on github.com for usage.

This is a somewhat useful web framework.

It’s meant to be fast, and to do very little.

It works with WSGI servers.

Features

URL Routing, Cookies, Cookie signing (with itsdangerous), Allows headers to be easily added, adds cookies and content length to headers automatically when the response is returned.

No template engine is supplied, no ORM, no ‘session’ handling. That’s up to the dev. This framework handles the most basic of tasks.

Unicode Support

We also don’t support python3 at this time. Unicode may or may not work for you, I honestly don’t know. If it doesn’t impact performance much, it might be added in the future.

Complexity…zero.

Some C code has been included to speed up query parsing and URL routing.

The C code for query parsing is much faster than the corresponding Python code, however it does not support URL encoded characters, just strings. Since I anticipate the vast majority of GET requests to not use non-alphanumeric characters, it’s not high on my priority list. The characters don’t seem to crash the software or cause problems, but they will just appear as-is instead of decoded.

Cython support

If you have Cython installed, this package will compile modules into C code. This improves performance greatly, especially when using CRouter for URL routing.

Metadata

Release files for pylw 0.1.12

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

Source distribution (sdist)

Source distribution for pylw 0.1.12
File Size Uploaded
pylw-0.1.12.tar.gz 8.7 kB Details

Release files / pylw-0.1.12.tar.gz

Download URL pylw-0.1.12.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9f0553e9fea7681077dca500ffe076a9f546293805de63ce6c8208fa6aba0236
BLAKE2b-256 checksum
How to use checksums
7eef16a597734a1aba6a2f65ce521c6f61d0e8c16dd9ae6f6c220c1155fd859d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.12 This release

1 release file

0.1.11

1 release file

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

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