One CLI for Docker, Kubernetes and Helm: compose projects (up/down/ps), kubectx/kubens, helm-repos/helm-list.
Project description
POCO
Poco is one CLI for Docker, Kubernetes and Helm: catalogue and run compose projects, switch kubectl context and namespace, and list Helm repos and releases — without leaving your terminal or remembering three different tools.
-
Docker —
poco up,poco down,poco ps, compose config, build, pull; YAML catalog and plans. -
Kubernetes —
poco kubectx,poco kubens(list/switch context and namespace);poco kube-get pods|ns|svc|...; presets (context+namespace in one command). -
Helm —
poco helm-repos,poco helm-list(releases; optional--all-namespaces,-ito pick and show status). -
Simple. Configure, run and switch between projects with a very simple command line interface.
-
Flexibility. Manage, scale, maintain projects of any complexity with ease.
-
Configure Once, Use Everywhere. Configure project once so the rest of your team will feel the value of zero configuration.
Features
- Docker, Kubernetes, Helm in one place — Compose projects, kubectl context/namespace, Helm repos and releases.
- Git, SVN support out of the box.
- Project Catalog, Multiple Catalogues. Create your own project catalog. Organise your projects without additional tools.
- Multiple Plans. Create multiple plans for different environments or even environments for demo purposes. Switch between plans (environments) with ease.
- Simple Config Files. Poco helps to split config files, so it is easy to maintain and scale them any time.
- Script Support (Hooks). Add additional scripts any time.
Global options
-i,--interactive— Interactive menu: choose actions step by step without typing commands (poco -i).-V,--verbose— Print more (e.g. merged docker compose config forup/down).-VVor--no-matrix— No matrix effect, show full output (forup/down). Implies verbose.-q,--quiet— Print less.--offline— Offline mode.--always-update— Project repository handle by user.
For poco up / poco down, a matrix-style effect runs by default; only the final result is shown. Set POCO_MATRIX=0 to disable the effect, or use -VV / --no-matrix to disable it and see the full log.
Documentation
All documentation is available on getpoco.io
Requirements
- Python 3.12.3 or newer (supported version: 3.14.3)
- Git or SVN
- SSH
- Docker (17.0.0 or higher version is recommended)
- Docker Compose V2 (plugin:
docker compose), for compose support - kubectl, for Kubernetes support
- helm, for helm functionality support
Quick start
Install poco:
$:~ pip install poco
Init project:
$:~ mkdir my-project
$:~ cd my-project
$:~ poco init
poco.yml and docker-compose.yml example files will be created.
Start project:
$:~ poco up
Before adding your project to Poco Repo create new empty git repository, add repository to your local Poco Repo config:
$:~ poco repo add <name> <git-url>
Now you can add your project to repo:
$:~ poco project add [<target-dir>] [<catalog>]
Publish your changes:
$:~ poco repo push
Stop your project:
$:~ poco stop
One CLI: Docker, kubectl, Helm
| Stack | Poco commands | What you get |
|---|---|---|
| Docker | poco up, poco down, poco ps, poco config, … |
Compose projects from a YAML catalog; matrix-style run; verbose merged config. |
| Kubernetes | poco kubectx, poco kubens |
List/switch context and namespace (kubectx/kubens-style). |
| Helm | poco helm-repos, poco helm-list |
List repos and releases; helm-list --all-namespaces for all. |
Requires Docker and/or kubectl/helm installed. Poco checks availability and works with different kubectl/helm versions.
Presets (workflow)
Save and switch context + namespace in one step:
poco preset list— List saved presets.poco preset use <name>— Switch to a preset (context and namespace).poco preset save <name>— Save current context and namespace as a preset.
Presets are stored in ~/.poco/presets.yml.
Kube-get
Shortcut for common kubectl get usage:
poco kube-get <resource> [name]— e.g.poco kube-get pods,poco kube-get ns,poco kube-get svc.- Use
-n <namespace>or-A(all namespaces) when needed.
Interactive mode (-i / --choose)
When a command can show a list, use -i to pick from a menu (or fzf if installed):
poco kubectx -i— Choose context from list.poco kubens -i— Choose namespace from list.poco preset use -i— Choose preset from list.poco helm-list -i— Choose release, then showhelm status.
Security
- Dependencies: We track known vulnerabilities and bump affected packages (e.g. GitPython ≥3.1.41 for CVE fixes). To audit your install:
pip install pip-audit && pip-audit(orpip-audit -r requirements.txt). - Build tools: Keep setuptools and wheel up to date:
pip install -U setuptools wheelto address CVEs in the toolchain.
Changelog
See CHANGELOG.md for release history. Recent: 0.99.7 — Presets (list/use/save), kube-get, interactive mode (-i) for kubectx/kubens/preset/helm-list.
Licence
MIT Copyright (c) 2017-present, Shiwaforce.com
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 poco-0.99.9.9.tar.gz.
File metadata
- Download URL: poco-0.99.9.9.tar.gz
- Upload date:
- Size: 55.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d9b45d2e0f3a5385038a02e063ed5493bb400050fc777887a2e56be47896267
|
|
| MD5 |
05e9da5eb142950114bdf15de72ff52f
|
|
| BLAKE2b-256 |
14a81497e935787eae11c6d74ebe6954a9d19fc2f3e4f23dbacabb0f90843d83
|
File details
Details for the file poco-0.99.9.9-py2.py3-none-any.whl.
File metadata
- Download URL: poco-0.99.9.9-py2.py3-none-any.whl
- Upload date:
- Size: 80.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ddca224eda619f4d7d1c4cef9a4094af28441d80ea946ccb77fdffcd981df1e
|
|
| MD5 |
3e660b213ce6d578ce976c809fb2d7e4
|
|
| BLAKE2b-256 |
df52e74a7d59dbe3f9c945748fefe88f12c13cd8cbc92b19d95d76bca71bad60
|