Skip to main content

Pypus

Pypus is a modern, typed CLI tool for Octopus Deploy API tasks — inspecting Spaces, Projects, Environments, and Machines; migrating variables between servers or spaces; searching every variable in a Space by name or value; managing Runbooks; and redeploying current releases to specific targets across a project group.

Built on Typer and Rich, targeting Python 3.13+.

Install

Pypus uses uv to create its virtual environment and Poetry to manage dependencies:

uv venv --python 3.13 .venv
source .venv/bin/activate
poetry install

Alternatively, once published:

pip install pypus

Configure

export OCTOPUS_API_KEY=API-EXAMPLE1234567890
export OCTOPUS_SERVER_URI=https://deploys.example.com/api
pypus check-env

Examples

Display a project's deployment process:

pypus get-process MySpace "My Project"

Redeploy every application in a project group, previewing what would happen first:

pypus redeploy Digital "Image Server Applications" --check
pypus redeploy Digital "Image Server Applications" --environment Production --target web01

Documentation

Full documentation, including the complete CLI reference and API reference, is built with MkDocs + Material:

mkdocs serve

Development

poetry install
pytest              # run the test suite (100% coverage)
ruff check .        # lint
mypy src/pypus       # type-check
mkdocs build --strict

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypus-2.2.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypus-2.2.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file pypus-2.2.0.tar.gz.

File metadata

  • Download URL: pypus-2.2.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.4 Linux/5.14.0-687.25.1.el9_8.x86_64

File hashes

Hashes for pypus-2.2.0.tar.gz
Algorithm Hash digest
SHA256 7745150a61a12e646057045eb3ea3851fabb8adea00892976743bceebc432d37
MD5 c729de001516fa2bd5ac0641426b45ba
BLAKE2b-256 3c5eee8a6587d42b1c2c3fec98497893e11e7f979e13760f1e155b5e6ca71418

See more details on using hashes here.

File details

Details for the file pypus-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: pypus-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.4 Linux/5.14.0-687.25.1.el9_8.x86_64

File hashes

Hashes for pypus-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09e7e12fd5dda2d36750ebbb8cc1af93da0bca58b7bd22ced6b8a300f54c1294
MD5 9b4e2ec6d1e9b156c4452ca8fedca4d9
BLAKE2b-256 c54cd1507060d4ed4e68211dc654f98a087a8398f29dfe1d707ed6eabea10c3d

See more details on using hashes here.

Release history Release notifications | RSS feed

2.2.2

2 files

2.2.1

2 files

This release

2.2.0 This release

2 files

2.1.0

2 files

2.0.0

2 files

1.5.2

2 files

1.5.1

2 files

1.5.0

2 files

1.4.5

2 files

1.4.4

2 files

1.4.3

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.5

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page