Skip to content

naschidaniel/python-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-rust

A playground to test how well python and rust work together.

Requirements

  • python > 3.9.x
  • rust > 1.50.x

How to try it

  1. The Rust function must be built.
  2. The myrustlib.so can be imported into python_and_rust.py.
  3. The script can be tested.
cd ./pyext-myrustlib/ && cargo build --release
cd ..
cp ./pyext-myrustlib/target/release/libmyrustlib.so ./myrustlib.so
python python_and_rust.py

The commands are also integrated for debugging in vscode.

Further information

LICENSE

GNU GENERAL PUBLIC LICENSE

About

A playground to test how well python and rust work together.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published