A multi-threaded WSGI compiliant and secure web server
Project description
Rocket3
Rocket3 is the multi-threaded web server used by web2py stripped of all the Python2 logic and dependencies. It now only supports Python3 and can be used without web2py.
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 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
rocket3-20241019.1.tar.gz
(17.2 kB
view details)
Built Distribution
File details
Details for the file rocket3-20241019.1.tar.gz
.
File metadata
- Download URL: rocket3-20241019.1.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | baad2e2d92a82c5138fadc3dd3cab74190ae5e8e89bbe39d1dd2876f1201a5fa |
|
MD5 | 2778c8d711ebdec599e00e37c7c83050 |
|
BLAKE2b-256 | 57468747e7c8b47e03ba4c0387387a16b3fed0e34a0ad39e9be0940337779a17 |
File details
Details for the file rocket3-20241019.1-py3-none-any.whl
.
File metadata
- Download URL: rocket3-20241019.1-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1836474a3cb5c1ef53718e34a2d1fc6a2c8e4ea3155444e73738eaf2321a3c63 |
|
MD5 | 96374121791b3764e0999b3ef97237bf |
|
BLAKE2b-256 | d016d956abba1623273c7151c2ef9f5ff0e1e4088cf4340aab3e668336eb1df2 |