rocket3


Namerocket3 JSON
Version 20241225.1 PyPI version JSON
download
home_pageNone
SummaryA multi-threaded WSGI compiliant and secure web server
upload_time2024-12-25 20:06:26
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rocket3",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Massimo Di Pierro <massimo.dipierro@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/d8/ce/6567d7bb35ec7aa5efcd3fc4045d16d17fcda11b70245cff1f05a425b67d/rocket3-20241225.1.tar.gz",
    "platform": null,
    "description": "# Rocket3\n\nRocket3 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.\n\nRocket 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.\n\n## Example\n\n```\nfrom rocket3 import Rocket3 as Rocket\n\ndef demo_app(environ, start_response):\n    \"\"\"simple exmaple WSGI app\"\"\"\n    start_response(\"200 OK\", [(\"Content-Type\", \"text/html\")])\n    data = \"<html><body><h1>Hello from Rocket Web Server</h1></body></html>\"\n    return [data]\n\n\nserver = Rocket(('0.0.0.0', 8080), \"wsgi\", {\"wsgi_app\": demo_app})\nserver.start()\n```\n\n## License\n\nBSDv3\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A multi-threaded WSGI compiliant and secure web server",
    "version": "20241225.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/web2py/rocket3/issues",
        "Homepage": "https://github.com/web2py/rocket3"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3bbdb01ed2b3dd38fa17dbe9b9e8274110ea2eaad5fb1f50dc4ef709a20d9aae",
                "md5": "6117d1982d8e56ca5e5a2e480ea849e0",
                "sha256": "715f669bb393d894f5ee33e311041be1e28359811576297b189bf5d0966e9458"
            },
            "downloads": -1,
            "filename": "rocket3-20241225.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6117d1982d8e56ca5e5a2e480ea849e0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 16668,
            "upload_time": "2024-12-25T20:06:22",
            "upload_time_iso_8601": "2024-12-25T20:06:22.224268Z",
            "url": "https://files.pythonhosted.org/packages/3b/bd/b01ed2b3dd38fa17dbe9b9e8274110ea2eaad5fb1f50dc4ef709a20d9aae/rocket3-20241225.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d8ce6567d7bb35ec7aa5efcd3fc4045d16d17fcda11b70245cff1f05a425b67d",
                "md5": "a5545db7cc23e6bd423e1b240faacaff",
                "sha256": "78654c2581015dfb50888ee9ed2949a724e734acd02f3b104290d1954862b5b0"
            },
            "downloads": -1,
            "filename": "rocket3-20241225.1.tar.gz",
            "has_sig": false,
            "md5_digest": "a5545db7cc23e6bd423e1b240faacaff",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 17273,
            "upload_time": "2024-12-25T20:06:26",
            "upload_time_iso_8601": "2024-12-25T20:06:26.460461Z",
            "url": "https://files.pythonhosted.org/packages/d8/ce/6567d7bb35ec7aa5efcd3fc4045d16d17fcda11b70245cff1f05a425b67d/rocket3-20241225.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-25 20:06:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "web2py",
    "github_project": "rocket3",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "rocket3"
}
        
Elapsed time: 0.44123s