Skip to main content

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, defaultValue will be set to each variable instead. Set this if you're running Venus locally and not using Orca at the moment.

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 the params key of the Orca action.
    • defaultValue → Used if ORCA::Initialize(1) was called.
    • value → The Venus variable that will receive the value (either injected by Orca or assigned the defaultValue if useDefaultValues = 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orca_driver_venus-0.1.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orca_driver_venus-0.1.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

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

Hashes for orca_driver_venus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ce600ab871a43bd64027d473283ef1e5262a788f0084656f337bbd72a9e5413
MD5 0626e83685f1cf7f653f2510409da238
BLAKE2b-256 618dc8e29da260095b55dda0d2f52ebe48789a2dbdf71f1565228e98c2c6aec1

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file orca_driver_venus-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for orca_driver_venus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1395a7e65405edf0c1ab040aa4421b6f36a28ac4bf33ea80404a9620da659ab0
MD5 c436d7dce6f683cac7a53314f3bf9b61
BLAKE2b-256 2487dea5bf08811770564c950a2fa3b0eef198692c4fd55f8a29bfecebfb3c6a

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page