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.
Metadata
Release files for orca-driver-venus 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| orca_driver_venus-0.1.0.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| orca_driver_venus-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.4 kB
Release files / orca_driver_venus-0.1.0.tar.gz
| Download URL | orca_driver_venus-0.1.0.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ce600ab871a43bd64027d473283ef1e5262a788f0084656f337bbd72a9e5413
|
|
BLAKE2b-256 checksum How to use checksums |
618dc8e29da260095b55dda0d2f52ebe48789a2dbdf71f1565228e98c2c6aec1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 1, 2025.
Transparency logRelease files / orca_driver_venus-0.1.0-py3-none-any.whl
| Download URL | orca_driver_venus-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1395a7e65405edf0c1ab040aa4421b6f36a28ac4bf33ea80404a9620da659ab0
|
|
BLAKE2b-256 checksum How to use checksums |
2487dea5bf08811770564c950a2fa3b0eef198692c4fd55f8a29bfecebfb3c6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 1, 2025.
Transparency log