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 details)
Built Distribution
mywebpy-0.63-py3-none-any.whl
(128.6 kB
view details)
File details
Details for the file mywebpy-0.63.tar.gz
.
File metadata
- Download URL: mywebpy-0.63.tar.gz
- Upload date:
- Size: 142.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abc66664c8f7c762402dfa6dc4f5887a627743162736e802233b9e6a39c0cde6 |
|
MD5 | c0b8d2f498f3e5c757dfa55c4a0fa3d8 |
|
BLAKE2b-256 | ecaa99ad3bfad9493e57713e66dada0bc500fd86fd4f6c5e5948a23a31ebeb87 |
File details
Details for the file mywebpy-0.63-py3-none-any.whl
.
File metadata
- Download URL: mywebpy-0.63-py3-none-any.whl
- Upload date:
- Size: 128.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 489bdd1c5c5dfd0ba06b8e2fed918742188ab57cecd53eaf8fb28bdf720e2e5f |
|
MD5 | e4a891c8643be440a4da4ed3a946792d |
|
BLAKE2b-256 | 5f4ff70bd2ea8ea6c3d9eb280f4325d1d8d931e913624bb0f9e0c83a0f57918b |