pflw 0.1.0

Python Dataflow Framework in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use pyo3::prelude::*;

/// Formats the sum of two numbers as string.
#[pyfunction]
fn main() {
    println!("Hello from Python ahah!");
}

/// A Python module implemented in Rust.
#[pymodule(gil_used = false)]
fn pflw(m: &Bound<'_, PyModule>) -> PyResult<()> {
    m.add_function(wrap_pyfunction!(main, m)?)?;
    Ok(())
}