web.py: makes web apps
Project description
mywebpy is a fork from webpy / webpy
Add following features:
-
Use the custom wsgiserver to instead of cheroot.
-
add a function:communicateWithConn to process continued post in one session
If you want to use web.py.web.py is a web framework for Python that is as simple as it is powerful.
Visit http://webpy.org/ for more information.
The latest stable release only supports Python >= 3.5. To install it, please run:
# For Python 3
python3 -m pip install mywebpy
Install it manually:
cd webpy/
python3 setup.py install
How to use communicateWithConn?:
import web
environ = web.ctx.environ
conn = environ['SERVER_CONN']
req = environ['SERVER_REQ']
message = '<http response data>'
result_data,result_req = conn.communicateWithConn(req,message,60)
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
mywebpy-0.63.tar.gz
(142.4 kB
view hashes)
Built Distribution
mywebpy-0.63-py3-none-any.whl
(128.6 kB
view hashes)