Crates.io | RustPyNet |
lib.rs | RustPyNet |
version | 0.1.3 |
source | src |
created_at | 2023-09-13 11:02:53.252587 |
updated_at | 2023-09-13 18:52:32.793924 |
description | RustPyNet is a crate designed to help use python inside multiple threads for small-medium workloads like calling fast execution callbacks and small-medium operations from multiple places in an orchestrated manner. RustPyNet is built on top of PyO3 and supports all PyO3 python operations, including basic responses for returning function results. |
homepage | https://github.com/letalboy/RustPyNet |
repository | |
max_upload_size | |
id | 971387 |
size | 19,575 |
RustPyNet is designed to bridge the gap between Python and Rust, offering a Python operations processing pool that integrates seamlessly with the PyO3 crate.
The primary goal of RustPyNet is to address the limitations posed by Python's Global Interpreter Lock (GIL). By facilitating multi-threaded operations, RustPyNet allows for parallel execution of Python functions, even though it's bound to a single interpreter. This makes it particularly suitable for scenarios where the bulk of the workload is handled by Rust, but there's a need to execute smaller tasks in Python.
Key Features:
More info in: https://github.com/letalboy/RustPyNet