{"id":15067204,"url":"https://github.com/jamesroberts/fastwsgi","last_synced_at":"2025-04-10T06:17:50.293Z","repository":{"id":45329293,"uuid":"392078332","full_name":"jamesroberts/fastwsgi","owner":"jamesroberts","description":"An ultra fast WSGI server for Python 3","archived":false,"fork":false,"pushed_at":"2025-02-06T22:19:23.000Z","size":8799,"stargazers_count":472,"open_issues_count":12,"forks_count":15,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-04-03T03:51:12.488Z","etag":null,"topics":["c","django","flask","python","server","web-server","werkzeug","wsgi","wsgi-server"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesroberts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-02T20:00:17.000Z","updated_at":"2025-03-30T00:48:20.000Z","dependencies_parsed_at":"2024-06-19T00:28:16.059Z","dependency_job_id":"36db19ef-f171-4ec1-8fb8-1d84fc90f70d","html_url":"https://github.com/jamesroberts/fastwsgi","commit_stats":{"total_commits":134,"total_committers":5,"mean_commits":26.8,"dds":"0.13432835820895528","last_synced_commit":"37424397f28e2d1de40ab10f724ff743b758b57b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesroberts%2Ffastwsgi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesroberts%2Ffastwsgi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesroberts%2Ffastwsgi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesroberts%2Ffastwsgi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesroberts","download_url":"https://codeload.github.com/jamesroberts/fastwsgi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166859,"owners_count":21058481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","django","flask","python","server","web-server","werkzeug","wsgi","wsgi-server"],"created_at":"2024-09-25T01:18:11.938Z","updated_at":"2025-04-10T06:17:50.271Z","avatar_url":"https://github.com/jamesroberts.png","language":"C","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"./logo.png\"\u003e\u003c/p\u003e\n\n--------------------------------------------------------------------\n[![Tests](https://github.com/jamesroberts/fastwsgi/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/jamesroberts/fastwsgi/actions/workflows/tests.yml)\n[![Pypi](https://img.shields.io/pypi/v/fastwsgi.svg?style=flat)](https://pypi.python.org/pypi/fastwsgi)\n[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/jamesroberts/fast-wsgi.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/jamesroberts/fastwsgi/context:cpp)\n[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/jamesroberts/fast-wsgi.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/jamesroberts/fastwsgi/context:python)\n\n\n# FastWSGI\n\n:construction: FastWSGI is still under development.\n\nFastWSGI is an ultra fast WSGI server for Python 3.  \n\nIts written in C and uses [libuv](https://github.com/libuv/libuv) and [llhttp](https://github.com/nodejs/llhttp) under the hood for blazing fast performance.\n\n\n## Supported Platforms\n\n| Platform | Linux | MacOs | Windows |\n| :------: | :---: | :---: | :-----: |\n| \u003cb\u003eSupport\u003c/b\u003e  | :white_check_mark: |  :white_check_mark: |  :white_check_mark: |\n\n\n## Performance\n\nFastWSGI is one of the fastest general use WSGI servers out there!\n\nFor a comparison against other popular WSGI servers, see [PERFORMANCE.md](./performance_benchmarks/PERFORMANCE.md)\n\n\n## Installation\n\nInstall using the [pip](https://pip.pypa.io/en/stable/) package manager.\n\n```bash\npip install fastwsgi\n```\n\n\n## Quick start\n\nCreate a new file `example.py` with the following:\n\n```python\nimport fastwsgi\n\ndef app(environ, start_response):\n    headers = [('Content-Type', 'text/plain')]\n    start_response('200 OK', headers)\n    return [b'Hello, World!']\n\nif __name__ == '__main__':\n    fastwsgi.run(wsgi_app=app, host='0.0.0.0', port=5000)\n```\n\nRun the server using:\n\n```bash\npython3 example.py\n```\n\nOr, by using the `fastwsgi` command:\n\n```bash\nfastwsgi example:app\n```\n\n\n## Example usage with Flask\n\nSee [example.py](https://github.com/jamesroberts/fast-wsgi/blob/main/example.py) for more details.\n\n```python\nimport fastwsgi\nfrom flask import Flask\n\napp = Flask(__name__)\n\n\n@app.get('/')\ndef hello_world():\n    return 'Hello, World!', 200\n\n\nif __name__ == '__main__':\n    fastwsgi.run(wsgi_app=app, host='127.0.0.1', port=5000)\n```\n\n\n## Testing\n\nTo run the test suite using [pytest](https://docs.pytest.org/en/latest/getting-started.html), run the following command:\n\n```bash\npython3 -m pytest\n```\n\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests where appropriate.\n\n\n## Significant Contributions\n\nSpecial thank you to the following individuals who have made significant contributions to FastWSGI:\n\n- Oleg S. ([@remittor](https://github.com/remittor))\n\n\n## TODO\n\n- Comprehensive error handling\n- Complete HTTP/1.1 compliance\n- Unit tests running in CI workflow\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesroberts%2Ffastwsgi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesroberts%2Ffastwsgi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesroberts%2Ffastwsgi/lists"}