Comparison
kr8s vs kubernetes-asyncio vs lightkube vs openshift
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A Kubernetes API library
Maintained. Last release 11 months ago, commits in 9 of the last 26 weeks. Weaker on release cadence.
$
pip install kr8sKubernetes Asynchronous Python Client
Maintained. Last release 6 months ago, commits in 6 of the last 26 weeks.
$
pip install kubernetes-asyncioLightweight kubernetes client library
Actively maintained. Last release 5 weeks ago, commits in 7 of the last 26 weeks. A safe choice.
$
pip install lightkubeOpenShift python client
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install openshiftIn short
- openshift is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- kubernetes-asyncio is the most used: 12.9M downloads a month, 8.6× more than kr8s.
- lightkube is better maintained: Pythie’s Index 79 against 60.
- lightkube is growing fastest: downloads +116% over the last month.
- Safe default for a new project: kubernetes-asyncio, or lightkube if active maintenance matters most.
Side by side
| Metric | kr8s | kubernetes-asyncio | lightkube | openshift |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 58 | 60 |