59bb97ec4e
Build Library / Build Library (push) Successful in 5m30s
1. Added compatibility check, LoxideLibs will now abort the entire program if OS is not linux or windows. 2. Changed the python data extraction compatibility layer, LoxideLibs was calling the extract data function twice, causing very slight overhead. I have now changed this so that the function returns a Struct that is now easily extractable via dot method notation.
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