venus 0.1.0-beta.2

Reactive notebook environment for Rust
Documentation

venus

Crates.io Documentation License

Main crate for Venus - a reactive notebook environment for Rust.

Overview

This crate provides the core #[venus::cell] macro and the Render trait for defining notebook cells and custom output rendering.

Usage

Add this to your Cargo.toml:

[dependencies]
venus = "x.x"

Example

use venus::prelude::*;

/// A simple cell that returns a number
#[venus::cell]
pub fn number() -> i32 {
    42
}

/// A cell that depends on the previous cell
#[venus::cell]
pub fn doubled(number: &i32) -> i32 {
    number * 2
}

Features

  • polars - Enable DataFrame rendering support
  • image - Enable image rendering support
  • full - Enable all optional features

Documentation

For complete documentation and examples, visit:

License

Licensed under the Apache License, Version 2.0. See LICENSE for details.