Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jewishlewish/stable-inline-python
Stable Ver. of Inline Rust
https://github.com/jewishlewish/stable-inline-python
cargo inline-python rust
Last synced: about 1 month ago
JSON representation
Stable Ver. of Inline Rust
- Host: GitHub
- URL: https://github.com/jewishlewish/stable-inline-python
- Owner: JewishLewish
- License: bsd-2-clause
- Created: 2023-11-15T04:28:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-17T01:29:14.000Z (about 1 year ago)
- Last Synced: 2024-10-31T11:40:27.300Z (2 months ago)
- Topics: cargo, inline-python, rust
- Language: Rust
- Homepage: https://crates.io/crates/stable-inline-python
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stable-inline-python
Stable Ver. of Inline Rust# QuickStart
```rust
use stable_inline_python::PyContext;fn main() {
let c = PyContext::new();c.run("x = 2"); //outputs 2
let x = c.get::("x");
println!("{}",x.unwrap());c.run("del x");
let x = c.get::("x");
println!("{}",x.unwrap()); //error!
}
```