Skip to content

fantix/kloop

Repository files navigation

kLoop

High-performance Python asyncio alternative event loop powered by Rust's compio library. "k" as in "completion" reflecting that compio drives completion-based I/O, or "k" as in "kernel" reflecting Linux kernel features like io_uring and kTLS.

中文 CI downloads code quality license license

⚠️WARNING: THIS PROJECT IS IN PROOF-OF-CONCEPT STAGE!⚠️

Development

Setup

Install dependencies (only needed once):

uv sync

Or switch to enable logging support:

MATURIN_PEP517_ARGS="--features enable_log" uv sync --reinstall-package kloop

Testing

Run the test suite:

cargo test
uv run -m unittest -v

If enable_log feature is on, you can set RUST_LOG environment variable to see debug/tracing logs.

License

Licensed under either of

  • Apache License, Version 2.0
  • Mulan Permissive Software License, Version 2

at your option.

SPDX-License-Identifier: Apache-2.0 OR MulanPSL-2.0

About

An asyncio event loop using Rust compio.

Topics

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE.Apache-2.0
Unknown
LICENSE.MulanPSL-2.0

Stars

Watchers

Forks