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
CLIis 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>>
- harmonyhub-cli run <<workflow.yaml>> --debug
- harmonyhub-cli run <<workflow.yaml>> --toolsFile <<integration.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
- Python Jija2
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
- Kafka
- GraphQL
- Grpc
Demo
- Demo created here
# https://pypi.org/project/harmonyhub-cli/ pip install harmonyhub-cli/ harmonyhub-cli serve
# To run yaml generated standalone harmonyhub-cli <<file name.yaml>>
Credits
- Below are projects used as inspiration
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
harmonyhub-cli-0.0.9.tar.gz
(10.9 kB
view details)
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 harmonyhub-cli-0.0.9.tar.gz.
File metadata
- Download URL: harmonyhub-cli-0.0.9.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1f18ca18989d5f59510aad9c4b3dd0e08241cb0ad2bf22b8ef945fcef6baa60
|
|
| MD5 |
f60a17efea05a6124f400e298fd5bed1
|
|
| BLAKE2b-256 |
c0b61aa4a239867b0774227660bac1b29199b2b71a6acece589588b8cc16fb91
|
File details
Details for the file harmonyhub_cli-0.0.9-py3-none-any.whl.
File metadata
- Download URL: harmonyhub_cli-0.0.9-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfa46d2d27e6bb2f230ca2ad3cd0879721eacad53aefa5906901e1c23e0007b6
|
|
| MD5 |
62c9d5122eb842da6d023864866192f7
|
|
| BLAKE2b-256 |
4ea98d9efa656aa6b595125ffe819e35e49dfb1324d6b0ad556b799472c2bef4
|