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
Metadata
Release files for pypus 2.2.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 | Provenance | Actions |
|---|---|---|---|---|
| pypus-2.2.2.tar.gz | 18.6 kB | Without provenance | Details for pypus-2.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pypus-2.2.2-py3-none-any.whl | Python 3 | none | any | Details for pypus-2.2.2-py3-none-any.whl |
Total release size: 39.3 kB
Release files / pypus-2.2.2.tar.gz
| Download URL | pypus-2.2.2.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4fa2c2d39aca182b340175bce96c2954cf15cf6df26d59a0bad0cd8ed195a4c
|
|
BLAKE2b-256 checksum How to use checksums |
3d746b2ed09796fa73b783b4997da4dd34be4fd291f21d699ee7b236b5f74e6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.4 Linux/5.14.0-687.25.1.el9_8.x86_64
|
Release files / pypus-2.2.2-py3-none-any.whl
| Download URL | pypus-2.2.2-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f57ebcc5ec2e27a61921f2a3bec14559ab05f01b79032782c6301709ce2256f0
|
|
BLAKE2b-256 checksum How to use checksums |
a3001fc550cfd86eff0c33ac88b8e3cf57c4ed4ff36921e1922e2c693172f8b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.4 Linux/5.14.0-687.25.1.el9_8.x86_64
|
Security for pypus 2.2.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.