CatioX - Async I/O for Python, powered by C++
Project description
catiox
Python binding for Catio - Async I/O library powered by C++
Installation
pip install catiox
Qucik example
import catiox
catiox.catiox_init(5)
def on_success(data):
print(data)
reader = catiox.catiox_async_read()
reader.async_readfile("./", "config.conf",
catiox.read_type.catiox_read_kv,
on_io_failed=print,
on_io_success=on_success
)
import time
time.sleep(0.5)
Teachincal details
CatioX is powered by Catio, a high-performance C++ library featuring:
Async I/O - Non-blocking file operations
Thread Pool - Efficient task scheduling
Event Loop - Based on poll() system call High Performance - Direct file I/O with minimal overhead
KV Parser - Built-in key-value config parsing
Thread-safe - Mutex-protected shared data
Architecture
Python Code → pybind11 → C++ catio → Thread Pool → File I/O → Callback → Python
C++ 20 standard
RAII resource management
Smart pointers for memory safety
Move semantics for zero-copy operations
Documentation
For detailed documentation, examples, and source code:
> https://github.com/kloveme/catiox
License
MIT © 2026 Kloveme
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 catiox-0.1.5-py3-none-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: catiox-0.1.5-py3-none-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae9cba6e1fc7fbdb60d89a2e927b114909747cef7bf2f7afbc3aca644aabe423
|
|
| MD5 |
4d91eafefbcde2ec148db5428626773a
|
|
| BLAKE2b-256 |
4ab0c0e5e31e8cc29e9af3f881781f559e7ad08e8054538e2c30188f701bba36
|