Hamilton Venus command line driver
Project description
Orca Venus Driver
The Orca Venus Driver is used by Orca to run Hamilton Venus methods. This driver allows Orca to execute Venus methods and pass variables to them. If users want to pass variables from Orca to a Venus method, the method must use the submethod library provided in the venus_submethod folder.
📂 Submethod Library
The venus_submethod folder contains a Hamilton submethod library that enables Venus methods to retrieve variables from Orca. Add/Remove this library into your method using Venus.
📌 Methods in the Submethod Library
ORCA::Initialize(useDefaultValues)
- Purpose: Initializes the variable retrieval system.
- Parameters:
useDefaultValues(Integer)0→ Retrieve values from Orca.1→ Use default values within the Venus method (allows methods to run locally without Orca).
- Usage:
- If
useDefaultValues = 0, variables will be injected by Orca. - If
useDefaultValues = 1,defaultValuewill be set to each variable instead. Set this if you're running Venus locally and not using Orca at the moment.
- If
GetConfigProperty_Float(propertyName, defaultValue, value)
GetConfigProperty_String(propertyName, defaultValue, value)
GetConfigProperty_Integer(propertyName, defaultValue, value)
- Purpose: Retrieve a value from Orca and assign it to a Venus variable.
- Parameters:
propertyName→ The name of the property as set in theparamskey of the Orca action.defaultValue→ Used ifORCA::Initialize(1)was called.value→ The Venus variable that will receive the value (either injected by Orca or assigned thedefaultValueifuseDefaultValues = 1).
🔧 Installation
The Orca Venus Driver can be installed via Orca’s driver installation command or manually via pip:
pip install orca-driver-venus
🛠 Usage
To use the driver with Venus methods, make sure your venus method calls submethod function ORCA::Initialize(0) at the beginning and uses the GetConfigProperty_* methods to retrieve values dynamically from Orca.
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
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 orca_driver_venus-0.1.0.tar.gz.
File metadata
- Download URL: orca_driver_venus-0.1.0.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ce600ab871a43bd64027d473283ef1e5262a788f0084656f337bbd72a9e5413
|
|
| MD5 |
0626e83685f1cf7f653f2510409da238
|
|
| BLAKE2b-256 |
618dc8e29da260095b55dda0d2f52ebe48789a2dbdf71f1565228e98c2c6aec1
|
Provenance
The following attestation bundles were made for orca_driver_venus-0.1.0.tar.gz:
Publisher:
publish.yml on Cheshire-Labs/orca-driver-venus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orca_driver_venus-0.1.0.tar.gz -
Subject digest:
8ce600ab871a43bd64027d473283ef1e5262a788f0084656f337bbd72a9e5413 - Sigstore transparency entry: 167844806
- Sigstore integration time:
-
Permalink:
Cheshire-Labs/orca-driver-venus@f1737f1cca50672a2ffe7df6c838f983536e99ee -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Cheshire-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f1737f1cca50672a2ffe7df6c838f983536e99ee -
Trigger Event:
push
-
Statement type:
File details
Details for the file orca_driver_venus-0.1.0-py3-none-any.whl.
File metadata
- Download URL: orca_driver_venus-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1395a7e65405edf0c1ab040aa4421b6f36a28ac4bf33ea80404a9620da659ab0
|
|
| MD5 |
c436d7dce6f683cac7a53314f3bf9b61
|
|
| BLAKE2b-256 |
2487dea5bf08811770564c950a2fa3b0eef198692c4fd55f8a29bfecebfb3c6a
|
Provenance
The following attestation bundles were made for orca_driver_venus-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Cheshire-Labs/orca-driver-venus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orca_driver_venus-0.1.0-py3-none-any.whl -
Subject digest:
1395a7e65405edf0c1ab040aa4421b6f36a28ac4bf33ea80404a9620da659ab0 - Sigstore transparency entry: 167844807
- Sigstore integration time:
-
Permalink:
Cheshire-Labs/orca-driver-venus@f1737f1cca50672a2ffe7df6c838f983536e99ee -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Cheshire-Labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f1737f1cca50672a2ffe7df6c838f983536e99ee -
Trigger Event:
push
-
Statement type: