35 releases (22 breaking)
0.24.0 | Dec 2, 2024 |
---|---|
0.23.0 | Nov 28, 2024 |
0.22.0 | Nov 23, 2024 |
0.14.0 | Jul 26, 2024 |
0.1.0 | Mar 6, 2024 |
#119 in Asynchronous
16,166 downloads per month
Used in 10 crates
(7 directly)
150KB
3K
SLoC
runtimelib
runtimelib
is a Rust library for interacting with Jupyter kernels natively, over ZeroMQ.
Installation
Runtimelib allows you to pick which async runtime you want to use. If you're using tokio, include the tokio-runtime
flag. For async-dispatcher
users (AKA GPUI devs), use async-dispatcher-runtime
. The async dispatcher runtime is also compatible for smol/async-std users.
Tokio Users
[dependencies]
runtimelib = { version = "0.24.0", features = ["tokio-runtime"] }
Async-dispatcher Users
[dependencies]
runtimelib = { version = "0.24.0", features = ["async-dispatcher-runtime"] }
Key Features
- Jupyter Kernel Management: Discover, start, and manage Jupyter kernels.
- Messaging Protocol: Implement Jupyter's wire protocol for communication with kernels over ZeroMQ.
- Flexible Async Runtime: Support for both Tokio and async-dispatcher runtimes.
Documentation
For more detailed information about the API and its usage, please refer to the API documentation.
Contributing
We welcome contributions to Runtimelib! If you'd like to contribute, please:
- Fork the repository
- Create a new branch for your feature or bug fix
- Write tests for your changes
- Implement your changes
- Submit a pull request
Please make sure to update tests as appropriate and adhere to the existing coding style.
License
Runtimelib is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.
Dependencies
~13–26MB
~489K SLoC