reactor http server
Project description
reactor
A minimal HTTP server implementing the Reactor pattern in Python. Designed for learning event-driven network programming.
This project aims to demonstrate how to implement a Reactor-based HTTP server from scratch in Python.
Core components such as Buffer, HTTP request parser, and HTTP response builder are implemented manually to illustrate event-driven network programming.
Version
2.2.0
Reactor-based HTTP Server (Python)
-
Implemented a non-blocking HTTP server using the Reactor pattern
-
Built custom Buffer, Request parser, and Response builder
-
Implemented static file serving and directory listing
-
Designed multi-reactor architecture with threadpool
-
Handled partial read/write and TCP connection lifecycle
-
Others maybe done in the future
Contributions are welcome!
Project details
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 reactor_server-2.2.0.tar.gz.
File metadata
- Download URL: reactor_server-2.2.0.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaed85c3771ab9dcfbda2a6ccf634fd7acd72e6d212b9e185d657dd27e3068d1
|
|
| MD5 |
c0ef1a8fba4c4eb416c50c1bc9c2b489
|
|
| BLAKE2b-256 |
37285d87e406968765ea059ad7d4f89b24a77a740ce1592989adebeafa74372a
|
File details
Details for the file reactor_server-2.2.0-py3-none-any.whl.
File metadata
- Download URL: reactor_server-2.2.0-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d690f32caa3da7bc5539f9311a55d6794cdb76f419b30dc59063aa584f2a7246
|
|
| MD5 |
ebd290e1a407e9d3229273ccf34a808c
|
|
| BLAKE2b-256 |
112064a8bbe5cd216b0ed5e627bdeabfa7e9fafb549b181bc77ffe312d350c6c
|