mirror of
https://gitee.com/fantix/kloop.git
synced 2024-11-21 18:01:00 +00:00
Update README and add Makefile
This commit is contained in:
parent
9cdc246ca9
commit
04b59cc52e
3 changed files with 33 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
include Makefile
|
||||||
recursive-include src *.pyx *.pxd
|
recursive-include src *.pyx *.pxd
|
||||||
graft tests
|
graft tests
|
||||||
global-exclude *.py[cod] *.c
|
global-exclude *.py[cod] *.c
|
||||||
|
|
15
Makefile
Normal file
15
Makefile
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
.PHONY: build dev clean
|
||||||
|
.DEFAULT_GOAL := dev
|
||||||
|
|
||||||
|
|
||||||
|
build:
|
||||||
|
pip install -U build
|
||||||
|
python -m build
|
||||||
|
|
||||||
|
|
||||||
|
dev:
|
||||||
|
pip install -Ue .
|
||||||
|
|
||||||
|
|
||||||
|
clean:
|
||||||
|
git clean -Xfd -e "!/*.code-workspace" -e "!/*.vscode" -e "!/*.idea" -e "!/*.python-version"
|
20
README.md
20
README.md
|
@ -1,5 +1,19 @@
|
||||||
# kLoop
|
# kLoop
|
||||||
|
|
||||||
kLoop is an implementation of the Python asyncio event loop written in Cython,
|
kLoop is an implementation of the Python
|
||||||
using io_uring and kTLS features of the Linux kernel, open-sourced and released
|
[asyncio](https://docs.python.org/3/library/asyncio.html) event loop written
|
||||||
under the MulanPSL - 2.0 license.
|
in [Cython](https://cython.org/), using
|
||||||
|
[io_uring](https://unixism.net/loti/what_is_io_uring.html) and
|
||||||
|
[kTLS](https://www.kernel.org/doc/html/latest/networking/tls-offload.html)
|
||||||
|
features of the Linux kernel, open-sourced and released
|
||||||
|
under the [MulanPSL - 2.0 license](http://license.coscl.org.cn/MulanPSL2).
|
||||||
|
|
||||||
|
**⚠️WARNING: THIS PROJECT IS IN PROOF-OF-CONCEPT STAGE!⚠️**
|
||||||
|
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
* Python >= 3.8
|
||||||
|
* Linux >= 5.11 (enable ktls with `modprobe ktls`)
|
||||||
|
* OpenSSL 1.1.1 (3.0 is unnecessary)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue