python-objects 0.0.7

rust crate that implements the architecture of the CPython objects. with this crate you can crate a list with any data type from rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use python::*;

fn main() {
    let int = Int::new(123i32);
    let string = _String::from("salutare");

    let mut dict = Dict::new();
    dict.set(int, string);
    // dict.set(Int::new(65i64), _String::from("something"));

    print(dict);
}