This website requires JavaScript.
Explore
Help
Sign In
aphrody-labs
/
pyo3
Watch
1
Star
0
Fork
0
mirror of
https://github.com/aphrody-labs/pyo3.git
synced
2026-10-15 04:59:13 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
Files
main
pyo3
/
examples
/
plugin
/
python_plugin
/
rng.py
T
Add File
New File
Upload File
Apply Patch
Copy Permalink
Download directory as ZIP
Download directory as TAR.GZ
3 lines
92 B
Python
Raw
Permalink
Normal View
History
Unescape
Escape
added a plugin example that shows how to integrate a Python plugin into a Rust app while having option to test API without the main app
2023-01-10 23:42:07 +02:00
def
get_random_number
():
# verified by the roll of a fair die to be random
return
4
Reference in new issue
Copy Permalink