Kptop

Latest version: v0.0.11

Safety actively analyzes 701809 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.11

Installation

bash
pip3 install kptop==0.0.11 --upgrade

<br>

What's Changed
* Add kubernetes to the dependencies by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/40
* Feat/support custom dashboards with yaml manifests by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/41
* take variables from cli arguments by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/42
* Feat/validate dashboard yaml input with yaml schema validation by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/43
* yaml validation for dashboards is complete by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/44
* custom commands feature: done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/45
* showing the thread status is done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/46
* advancedTable - getting value from metric labe is done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/47
* isolating old code by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/48
* add debug arg, added ENVs for default dashboards & commands location by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/49
* Feat/add arg for printing empty layout by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/50
* add arg to show version > done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/51
* support autoConvertValue on the metric level for advancedTable data type by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/52
* support autoConvertValue on the metric level for advancedTable data type by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/53
* add new readme by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/54
* add new readme by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/55
* add new readme by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/56
* update docs by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/57
* update docs by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/58
* update docs by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/59
* update docs by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/60
* Feat/document new kptop functionalities by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/61
* refactor KPtop docs by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/62
* refactor KPtop docs by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/63
* refactor KPtop docs by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/64
* refactor KPtop docs by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/65
* refactor KPtop docs by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/67
* refactor KPtop docs by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/68
* documenting dashboard data types > done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/70
* documenting dashboard data types > done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/71
* documenting dashboard data types > done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/72
* documenting dashboard data types > done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/73
* documenting dashboard data types > done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/74
* documenting dashboard data types > done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/75
* documenting dashboard data types > done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/76
* documenting dashboard data types > done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/77
* documenting dashboard data types > done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/78
* documenting dashboard data types > done by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/79
* Clean up && organize by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/80
* Feat/document new kptop custom commands by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/81
* Clean up && organize by eslam-gomaa in https://github.com/eslam-gomaa/kptop/pull/82


**Full Changelog**: https://github.com/eslam-gomaa/kptop/compare/v0.0.7...v0.0.11

0.0.7

Feature
- option to connect to Prometheus with K8s Pod port-forward 11 🎉
- `kptop nodes -o cloud` shows NodeGroup name
- Show the nodes list in JSON .. `kptop nodes -o json --colorize-json` 🎉
- Show the nodes managed-cluster info .. `kptop nodes -o cloud` 🎉


<br>

Bugfix
- Fix "Disk IO" graph name in the pod_dashboard

---

<br>

Installation

bash
pip3 install kptop==0.0.7 --upgrade

0.0.6

Feature
- Show the nodes list in JSON .. `kptop nodes -o json --colorize-json` 🎉
- Show the nodes managed-cluster info .. `kptop nodes -o cloud` 🎉


Bugfix
- Fix "Disk IO" graph name in the pod_dashboard

<br>

---

<br>

bash
kptop nodes -o cloud


NODE MEM TOTAL MEM USAGE MEM FREE CPU CORES CPU USAGE% RUNNING PODS CLUSTER INSTANCE TYPE AZ ENV NG CAPACITY TYPE
worker*** 30.9 gb 11.47 gb 19.43 gb 4 60% 27 **************** r5.xlarge *******-1c EKS ON_DEMAND
worker*** 62.02 gb 61.59 gb 438.74 mb 16 1% 6 **************** m5.4xlarge *******-1c EKS ON_DEMAND
worker*** 62.02 gb 11.72 gb 50.3 gb 16 1% 11 **************** m5.4xlarge *******-1c EKS ON_DEMAND
worker*** 62.02 gb 43.7 gb 18.32 gb 16 1% 6 **************** m5.4xlarge *******-1c EKS ON_DEMAND
worker*** 62.02 gb 58.97 gb 3.05 gb 16 2% 6 **************** m5.4xlarge *******-1c EKS ON_DEMAND
worker*** 62.02 gb 61.54 gb 492.95 mb 16 2% 6 **************** m5.4xlarge *******-1c EKS ON_DEMAND
worker*** 61.36 gb 54.94 gb 6.42 gb 16 1% 6 **************** m5.4xlarge *******-1c EKS ON_DEMAND
worker*** 62.02 gb 10.16 gb 51.86 gb 16 1% 16 **************** m5.4xlarge *******-1c EKS ON_DEMAND
worker*** 62.02 gb 60.54 gb 1.48 gb 16 1% 6 **************** m5.4xlarge *******-1c EKS ON_DEMAND
worker*** 30.9 gb 12.12 gb 18.77 gb 4 16% 15 **************** r5.xlarge *******-1c EKS ON_DEMAND
worker*** 62.02 gb 11.2 gb 50.82 gb 16 1% 13 **************** m5.4xlarge *******-1a EKS ON_DEMAND
worker*** 62.02 gb 51.7 gb 10.32 gb 16 1% 6 **************** m5.4xlarge *******-1a EKS ON_DEMAND
worker*** 62.02 gb 11.0 gb 51.02 gb 16 1% 15 **************** m5.4xlarge *******-1a EKS ON_DEMAND
worker*** 62.02 gb 60.0 gb 2.02 gb 16 1% 6 **************** m5.4xlarge *******-1a EKS ON_DEMAND
worker*** 61.36 gb 60.93 gb 443.6 mb 16 1% 6 **************** m5.4xlarge *******-1a EKS ON_DEMAND
worker*** 62.02 gb 61.33 gb 701.51 mb 16 1% 6 **************** m5.4xlarge *******-1a EKS ON_DEMAND
worker*** 30.9 gb 12.09 gb 18.8 gb 4 19% 16 **************** r5.xlarge *******-1a EKS ON_DEMAND
worker*** 62.02 gb 61.1 gb 937.01 mb 16 1% 6 **************** m5.4xlarge *******-1a EKS ON_DEMAND
worker*** 62.02 gb 11.82 gb 50.19 gb 16 1% 9 **************** m5.4xlarge *******-1a EKS ON_DEMAND
worker*** 62.02 gb 58.85 gb 3.17 gb 16 1% 6 **************** m5.4xlarge *******-1a EKS ON_DEMAND




<br>

bash
kptop nodes -o json

json
{
"ip-*****.compute.internal": {
"memory_total": 33173995520,
"memory_free": 20841373696,
"memory_used": 12332621824,
"cpu_cores": 4,
"cpu_used_percentage": 59.13562388193797,
"running_pods_num": 27,
"cluster": "*******",
"node_os": "linux",
"node_arch": "amd64",
"region": "*****",
"az": "***-1c",
"instance_type": "r5.xlarge",
"cluster_env": "EKS",
"node_group_capacity_type": "ON_DEMAND",
"node_group_name": "*********1-az2"
},
"ip-*****.eu-west-1.compute.internal": {
"memory_total": 66591330304,
"memory_free": 447090688,
"memory_used": 66144239616,
"cpu_cores": 16,
"cpu_used_percentage": 1.4580128205118825,
"running_pods_num": 6,
"cluster": "*******",
"node_os": "linux",
"node_arch": "amd64",
"region": "*****",
"az": "***-1c",
"instance_type": "m5.4xlarge",
"cluster_env": "EKS",
"node_group_capacity_type": "ON_DEMAND",
"node_group_name": "*********1-az2"
}
// .....
}



bash
kptop nodes <NODE> -o json --colorize-json

![image](https://github.com/eslam-gomaa/kptop/assets/33789516/124ef1fc-8b3b-4b49-8b8a-64e830d0e5e9)

<br>

---

<br>

Installation

bash
pip3 install kptop==0.0.6 --upgrade

0.0.5

0.0.4

0.0.3

<br>

> only in this release (forgot to put it in the requirements 😅 )
bash
pip3 install asciichartpy

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.