genius-core-client 0.4.0

Genius Core Client Library. Written in Rust and using PyO3 for Python bindings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// use pyo3::prelude::*;

// // #[tokio::test]
// #[test]
// fn test_client() -> Result<(), PyErr> {
//     Python::with_gil(|py| {
//         let builtins = PyModule::import(py, "builtins")?;
//         let total: i32 = builtins
//             .getattr("sum")?
//             .call1((vec![1, 2, 3],))?
//             .extract()?;
//         assert_eq!(total, 6);
//         Ok(())
//     })
// }