Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

BurnySc2/rust-python-pyo3-test

Repository files navigation

rust-python-pyo3-test

Actions Status

  • Have a rust function that takes and returns most basic python types
    • Int
    • Float
    • String
    • List
    • Tuple
    • Dict
    • Set
  • Create a struct/class that
    • can be initialized in python
    • has attributes exposed to python
    • has methods exposed that can be called in python
  • Create a class-instance in python and then pass it to rust to
    • modify attributes
    • call python instance methods
  • Load a numpy array in rust and do some operation on it (e.g. sum of all elements)
  • Load a numpy array in rust and add a number to each element (mutable numpy array)
  • Load a numpy array in rust and add a number to each element and return new array (immutable numpy array)
  • Be able to run tests and benchmarks

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published