A multi-threaded WSGI compiliant and secure web server
Project description
Rocket3
Rocket3 is the multi-threaded web server used by web2py and py4web, stripped of all the Python2 logic and dependencies. It now only supports Python3 and can be used without web2py or py4web.
Rocket was originally developed by Massimo Di Pierro, then rewritten much better by Timoty Ferrell, and then has minor refactorings made by Massimo and other web2py contributors.
Example
from rocket3 import Rocket3 as Rocket
def demo_app(environ, start_response):
"""simple exmaple WSGI app"""
start_response("200 OK", [("Content-Type", "text/html")])
data = "<html><body><h1>Hello from Rocket Web Server</h1></body></html>"
return [data]
server = Rocket(('0.0.0.0', 8080), "wsgi", {"wsgi_app": demo_app})
server.start()
License
BSDv3
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rocket3-20241225.1.tar.gz.
File metadata
- Download URL: rocket3-20241225.1.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78654c2581015dfb50888ee9ed2949a724e734acd02f3b104290d1954862b5b0
|
|
| MD5 |
a5545db7cc23e6bd423e1b240faacaff
|
|
| BLAKE2b-256 |
d8ce6567d7bb35ec7aa5efcd3fc4045d16d17fcda11b70245cff1f05a425b67d
|
File details
Details for the file rocket3-20241225.1-py3-none-any.whl.
File metadata
- Download URL: rocket3-20241225.1-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
715f669bb393d894f5ee33e311041be1e28359811576297b189bf5d0966e9458
|
|
| MD5 |
6117d1982d8e56ca5e5a2e480ea849e0
|
|
| BLAKE2b-256 |
3bbdb01ed2b3dd38fa17dbe9b9e8274110ea2eaad5fb1f50dc4ef709a20d9aae
|