venus
Main crate for Venus - a reactive notebook environment for Rust.
Overview
This crate provides:
- The core
#[venus::cell]macro for defining notebook cells - The
Rendertrait for custom output rendering - Interactive widgets (sliders, text inputs, checkboxes, dropdowns)
- CLI binaries (
venusandvenus-worker) when installed withcargo install venus
Installation
As a CLI tool (recommended for most users):
This installs both the venus and venus-worker binaries.
As a library (for embedding in other projects):
Add this to your Cargo.toml:
[]
= { = "x.x", = false }
Example
use *;
/// A simple cell that returns a number
/// A cell that depends on the previous cell
Features
cli(default) - Include CLI binaries and their dependenciespolars- Enable DataFrame rendering supportimage- Enable image rendering supportfull- Enable all optional features (cli, polars, image)
Documentation
For complete documentation and examples, visit:
License
Licensed under the Apache License, Version 2.0. See LICENSE for details.