The Python Lightweight Web Framework
Project description
pylw
======
Python Lightweight Webframework.
Usage
~~~~~~~
Please see main.py on GitHub_ for usage details.
|Build Status|
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...none.
~~~~~~~~~~~~
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.
.. |Build Status| image:: https://travis-ci.org/michaelgugino/pylw.svg?branch=master
:target: https://travis-ci.org/michaelgugino/pylw
.. _GitHub: https://github.com/michaelgugino/pylw
======
Python Lightweight Webframework.
Usage
~~~~~~~
Please see main.py on GitHub_ for usage details.
|Build Status|
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...none.
~~~~~~~~~~~~
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.
.. |Build Status| image:: https://travis-ci.org/michaelgugino/pylw.svg?branch=master
:target: https://travis-ci.org/michaelgugino/pylw
.. _GitHub: https://github.com/michaelgugino/pylw
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
pylw-0.1.1.tar.gz
(150.3 kB
view hashes)
Built Distribution
Close
Hashes for pylw-0.1.1-cp27-none-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c05ea79cbed0b2faee2688e91fcdc8364a552ad2b535c94f512b949547f9def8 |
|
MD5 | 68fac68376877b8b5f380d89a62698fa |
|
BLAKE2b-256 | 0e491aee5561209806f1db7eb1d6026a825a51d49ecdf33056bb3897c9e48606 |