HAPE Auatomation: CLI for Platform and DevOps automations.
Project description
HAPE Framework
Table of Contents
- HAPE Solutions
- Intellectual Property / Permissions
- Contributions
- Demos
- Architecture
- Makefile
- Documentation
- API
- Getting started
- Author
HAPE Solutions
- HAPE Solutions is the official website for the HAPE company and product ecosystem.
- HAPE Vibes is the product for end-to-end service creation and deployment with integrated logging, monitoring, testing, planning, and architecture diagram workflows to help software architects and engineering teams deliver reliably and fast.
Intellectual Property / Permissions
Copyright (c) 2026 Hazem Ataya. All rights reserved.
This repository is not licensed. No permission is granted to use, copy, modify, merge, publish, distribute, sublicense, or sell any part of this repository or its contents without explicit written permission from the copyright holder.
Contributions
Contributions are not accepted at the moment.
Demos
DORA GitHub Project Dashboard
EKS Deployment Cost Dashboard
Architecture
graph TD
U[User]
G[Visualization Tool]
AG[DevOps Platform Agent]
subgraph APP["Application Layer"]
CLI[CLI]
API[API]
end
subgraph BL["Business Logic Layer"]
SVC[Services]
EXP[Metrics Collectors]
end
subgraph INT["Integration Layer"]
CP[Clients]
K[Kubernetes]
CLOUD[AWS GCP]
VCS[GitHub GitLab]
WM[Jira Confluence]
TF[Terraform State]
end
subgraph DATA["Data Layer"]
P[TSDB Time Series Database]
end
U --> CLI
U --> API
G --> U
AG --> CLI
AG --> API
CLI --> SVC
API --> SVC
SVC --> CP
EXP --> CP
P --> EXP
P --> G
P --> AG
CP --> K
CP --> CLOUD
CP --> VCS
CP --> WM
CP --> TF
Makefile
- Makefile Documentation - reference for Makefile variables, targets, and common workflows.
To list all available Make commands and their descriptions:
make help
Documentation
API
Docker
HAPE Framework is available as a Docker image on Docker Hub:
Getting started
Install HAPE with pip:
python3 -m pip install hape
Show available commands:
hape --help
Run FastAPI interface:
make run-api
HAPE supports both CLI and API workflows.
API endpoints mirror CLI commands with strict 1:1 naming parity.
Example: hape github init-repo maps to POST /github/init-repo.
API endpoints require bearer token auth. Token management uses admin key-protected endpoints.
Generate API token:
curl -s -X POST "http://localhost:8080/auth/tokens" \
-H "Content-Type: application/json" \
-H "X-Hape-Admin-Key: <YOUR_ADMIN_KEY>" \
-d '{"name":"automation-bot"}'
Use API token:
curl -s -X POST "http://localhost:8080/github/init-repo" \
-H "Authorization: Bearer <API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"repo_path":"/path/to/repo","owner":"hape-vibes"}'
See docs/api/auth-and-tokens.md for token lifecycle and security guidance.
Expected output:
usage: hape [-h] [command] ...
CLI for platform and DevOps automations.
commands:
config config file operations.
gitlab GitLab operations.
github GitHub operations.
jira fetch Jira issue data, remote links, or add comments.
confluence confluence page operations.
csv csv conversion operations.
dora DORA metrics operations.
eks-deployment-cost generate EKS Deployment/StatefulSet cost report.
kube-agent investigate Kubernetes incidents from CLI triggers.
init-cicd scaffold deployment and CI files for supported projects.
markdown markdown table import/export operations.
options:
-h, --help show this help message and exit
--version print the installed hape version and exit.
--config-file-path CONFIG_FILE_PATH
path to config.json (default: ~/.hape/config.json).
Author
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 hape-1.2.1.tar.gz.
File metadata
- Download URL: hape-1.2.1.tar.gz
- Upload date:
- Size: 117.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3041c28fb1cdba17b174cfe8176507d0b2e6f7c9da5efd0be937be07ffb553fc
|
|
| MD5 |
2fc97c697b35994b2ed07b52aac48379
|
|
| BLAKE2b-256 |
c61889b1e8036558fdcb221cb3e31d636770aaee2cfe9a432c6d782c8de8efb0
|
File details
Details for the file hape-1.2.1-py3-none-any.whl.
File metadata
- Download URL: hape-1.2.1-py3-none-any.whl
- Upload date:
- Size: 181.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a02e5692c9e15bbfdf52a855dbd85002039813acefe762fc4e4143f8c295abc
|
|
| MD5 |
1bc60ccd0ff57f7725cf6af208c7e28a
|
|
| BLAKE2b-256 |
dd5a3a9a3f53ecab80087aa58b29ae33ded4c8cb37934cd6a15561b9f49e7eaf
|