No project description provided
Project description
Steps to build python bindings
- Create a virtual env for pyo3
pyenv virtualenv 3.10.15 pyo3-dev
pyenv activate pyo3-dev
-
[Optional]Install maturin if not installed
-
[Optional, only for new projects] Init maturin
maturin init
>> choose pyo3
- Generate Wheel , install the wheel for python developement
maturin develop #- wheel is generated.
python
>>> import leap_sdk_pyo3
>>> leap_sdk_pyo3.sum_as_string(5, 20)
'25'
Steps to build and invoke RUST code directly.
- This code invokes the main.rs
RUST_LOG=info cargo run --bin server
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
leap_sdk_pyo3-0.1.0.tar.gz
(34.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file leap_sdk_pyo3-0.1.0.tar.gz.
File metadata
- Download URL: leap_sdk_pyo3-0.1.0.tar.gz
- Upload date:
- Size: 34.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5633437bdf09c3e92ee5934944fac1129b2c01c2c45715c6d1094456853920a
|
|
| MD5 |
43d12496d643cf28d06c0cd1ae15a508
|
|
| BLAKE2b-256 |
449130cd212be1755f09637079b1a976cdc86e4d006aed4727ed67fe46264344
|
File details
Details for the file leap_sdk_pyo3-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: leap_sdk_pyo3-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 193.3 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fee207ac0586c519f00966312800a8e19464623690f71651cf7e360b7d51dea
|
|
| MD5 |
1e439b1108dfad70d98a6eb1e5da785e
|
|
| BLAKE2b-256 |
5c303cd359f706e554af8c501021816bb7aee73a434e22e1a9be81ad20f3aae0
|