Pulp CLI Debian Plugin

0.4.3 · active · verified Thu Apr 16

pulp-cli-deb is a command-line interface plugin for pulp-cli, designed to manage Debian repositories by interacting with pulpcore's REST API. It allows system administrators to perform various operations on Debian content within a Pulp instance. The library is actively maintained as part of the broader Pulp Project ecosystem, with the current version being 0.4.3, released on February 16, 2026.

Common errors

Warnings

Install

Imports

Quickstart

The quickstart involves installing the `pulp-cli-deb` package, which will also install `pulp-cli`. After installation, configure the Pulp CLI to connect to your Pulp instance by setting environment variables or creating a configuration file. Then, you can use `pulp` commands, particularly the `pulp deb` subcommand group, to manage Debian content.

# Install the CLI plugin
pip install pulp-cli-deb

# Configure Pulp CLI to connect to your Pulp instance
# Replace <PULP_BASE_URL>, <PULP_API_ROOT>, <USERNAME>, <PASSWORD> with your details
# It's recommended to set these via environment variables or a configuration file
# For example, create ~/.config/pulp/cli.toml or use `pulp config create -e`
# For demonstration, assuming a local Pulp instance and default credentials:
# export PULP_BASE_URL="https://localhost"
# export PULP_API_ROOT="/api/v3"
# export PULP_USERNAME="admin"
# export PULP_PASSWORD="password"

# Test connectivity to the Pulp API
pulp status

# List available Debian repositories
pulp deb repository list

# Get help for Debian commands
pulp deb --help
pulp deb repository --help

view raw JSON →