f3c1d97d28
Build Library / Build Library (push) Successful in 6m18s
It still locks the GIL, but this is the ground work for the non blocking GUI. Python objects are converted to Rust objects in the beginning of the function call so they can be sent to threads safely.
Airlock Libs
A Rust implementation of common Airlock API integrations for use in AirlockTools
Deployment
To install and use this library in a standalone Python script
Install Using pip
Follow the instructions here
Install Wheel
Linux
cd target/wheels/
python3 -m pip install airlock_libs-<versionNumber>-cp313-manylinux_2_34_x86_64.whl
Windows
cd target/wheels
python3 -m pip install airlock_libs-<versionNumber>-cp313-win_amd64.whl
or
Import DLL/SO
Linux
cd /target/x86_64-pc-windows-gnu/release/
Copy libairlock_libs.so to current project directory
Windows
cd /target/x86_64-unknown-linux-gnu/release/
Copy airlock_libs.dll to current project directory
Usage/Examples
import airlock_libs
def pullExecHistories() {
airlock_libs.pull_policy_exec_histories(api, execution_types, checkpoint_number, policy_names)
}
Features
- Pull Policy Execution Histories