- 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
This repository was archived by the owner on Oct 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
License
BurnySc2/rust-python-pyo3-test
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published