Metadata-Version: 2.1
Name: rocket3
Version: 20241201.1
Summary: A multi-threaded WSGI compiliant and secure web server
Author-email: Massimo Di Pierro <massimo.dipierro@gmail.com>
Project-URL: Homepage, https://github.com/web2py/rocket3
Project-URL: Bug Tracker, https://github.com/web2py/rocket3/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# 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
