pampu
CLI for Atlassian Bamboo.
Installation
pip install pampu
Or with uv:
uv tool install pampu
Setup
pampu init
This will prompt for your Bamboo URL and Personal Access Token, then save them to ~/.config/pampu/credentials.toml.
Getting a Personal Access Token
- Go to your Bamboo instance
- Click your avatar (top-right) → Profile
- Select "Personal access tokens" tab
- Click "Create token"
Usage
List projects and plans
pampu projects # List all projects
pampu plans MYPROJECT # List plans in a project
pampu branches MYPROJECT-BUILD # List branches for a plan
View builds
pampu builds MYPROJECT-BUILD # List recent builds
pampu builds MYPROJECT-BUILD -n 20 # Show more builds
pampu status MYPROJECT-BUILD-123 # Show build details
pampu logs MYPROJECT-BUILD-123 # Download and display build logs
Git-aware status
When inside a git repository with Bamboo specs, pampu status can automatically detect the current branch:
pampu status # Shows status for current git branch
Deployments
pampu deploys # Show deployment status (auto-detected from bamboo.yml)
pampu deploys MYPROJECT-BUILD # Show deployment status for a plan
pampu versions # List available versions
pampu version-create # Create version from latest build on current branch
pampu version-create MYPROJECT-BUILD-123 # Create version from specific build
pampu deploy myversion DEV # Deploy a version to an environment
pampu deploy myversion ENV1 ENV2 --chain # Deploy sequentially, wait for each
pampu deploy myversion ENV1 ENV2 --parallel # Deploy to all simultaneously
For safety reasons, pampu deploy refuses to deploy to any environment containing "PROD" in its name.
Project configuration
Pampu auto-discovers project configuration from bamboo-specs/bamboo.yml:
plan:
project-key: MYPROJECT
key: BUILD
name: my-build
This is parsed to extract the plan key (MYPROJECT-BUILD) and project key (MYPROJECT).
With this config:
pampu statusdetects your git branch and shows the matching Bamboo buildpampu deploysshows deployment status without specifying a planpampu version-createcreates a version from the latest build on your current branch
Branch detection extracts ticket numbers (e.g., PROJ-12345) from branch names like feature/PROJ-12345-my-feature and matches them to Bamboo branches.
Commands
| Command | Description |
|---|---|
init |
Initialize credentials |
projects |
List all projects |
plans <project> |
List plans in a project |
branches <plan> |
List branches for a plan |
builds <plan> |
List builds for a plan or branch |
status [build] |
Show detailed build status |
logs <build> |
Download and display build logs |
deploys [plan] |
Show deployment status |
versions [plan] |
List available versions |
version-create [build] |
Create a version from a build |
deploy <version> <env>... |
Deploy a version to one or more environments |
run [plan] |
Trigger a plan build |
timeline [plan] |
Show git history with environment markers |
token |
Print the saved personal access token |
api get <path> |
Make an authenticated GET request to a Bamboo REST path |
install-skills |
Install the pampu Claude Code skill to ~/.claude/skills/ |
Claude Code skill
pampu install-skills # Installs a skill to ~/.claude/skills/pampu describing pampu's commands
License
MIT
Release files for pampu 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pampu-0.5.2.tar.gz | 18.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pampu-0.5.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.0 kB
Release files / pampu-0.5.2.tar.gz
| Download URL | pampu-0.5.2.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98a9cbe0dde041d62bf5d07453c823baf1b1d48a278343dacce1a47b444ac8af
|
|
BLAKE2b-256 checksum How to use checksums |
72b65dc069a0c0520f1729c268ac25fd00829fcd99cd5c67e286a49fe423899c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency logRelease files / pampu-0.5.2-py3-none-any.whl
| Download URL | pampu-0.5.2-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab99320dd743bedd86630623aa6ec964fc7826a7fd76f09577ac298f83654966
|
|
BLAKE2b-256 checksum How to use checksums |
5d7874f1212d2a830db0f66f69869658c3eb479196911d2bba92d72bf060484a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency log