Skip to main content

A CLI library for HarmonyHub

Project description

HarmonyHub

Overview

  • This is a Visual API Orchestrator POC created for Rest API Calls.
  • UI Generates YAML. Written in static HTML using WebComponents.
  • Python-based CLI is used to run YAML generated from UI. It can sequence and execute API Calls.

Commands

  • harmonyhub_cli init
    • harmonyhub_cli init --file workflow.yaml
  • harmonyhub_cli run <<workflow.yaml>>
    • pyyaml2apiworkflow run <<workflow.yaml>> --debug
  • harmonyhub_cli server
  • harmonyhub_cli --help
  • harmonyhub_cli --version

Operator Supported

  • Simple comparisons (==, !=, >, <, >=, <=)
  • Logical operations (and, or, not)
  • Basic arithmetic operations (+, -, *, /, %)

Body Templating Engine

Output Parser

System Defined Variables

  • RestAPI
    • $today_datetime
    • $today_date
    • $today_time
    • $today_date_zero_time
    • $request_http_method
    • $request_url
    • $request_headers
    • $request_body
    • $response_http_status
    • $response_headers
    • $response_body
    • $random.randint(1000,9999)
    • $random.uniform(15.5, 80.5)
  • Database
    • $response_body

Roadmap

  • GraphQL
  • Grpc
  • Kafka

Demo

Credits

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

harmonyhub-cli-0.0.6.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

harmonyhub_cli-0.0.6-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file harmonyhub-cli-0.0.6.tar.gz.

File metadata

  • Download URL: harmonyhub-cli-0.0.6.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for harmonyhub-cli-0.0.6.tar.gz
Algorithm Hash digest
SHA256 7bc11f36dcb126103868ac438f5a069578bbaa6b13bbbd41bc656d200f44b860
MD5 287ef7d8012ff66aebe10b85704d4b9a
BLAKE2b-256 adb38f1d8b791e5df0fb6fa077eb685e5777ebd6d986240fd46f0ef8ab045d0a

See more details on using hashes here.

File details

Details for the file harmonyhub_cli-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: harmonyhub_cli-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for harmonyhub_cli-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 53f21173aef15760b280d0f51bad9a1ea355b18e63f6f0dd39f396555d6d08c4
MD5 da85d7b8b54fec57e13253e9a1516f16
BLAKE2b-256 098f209c5a6496fcf747af7462a832d570efb398986d9a144c5ee5f9318c6b45

See more details on using hashes here.

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