Skip to main content

A command line tool to interact with Phabricator

Project description

phabfive

A command line tool to interact with Phabricator and Phorge.

phabfive maniphest show

Features

A summary of the currently supported features:

  • Passphrase - Get specified secret
  • Diffusion - List repositories, get branches, clone URIs, add repositories, manage URIs
  • Paste - List, get, and add pastes
  • User - Get information about the logged-in user
  • Maniphest - Add comments, show task details, create tasks from templates

For complete documentation, see Read the Docs.

Installation

uv is a fast Python package installer (10-100x faster than pip):

# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install from pypi.org
uv tool install phabfive

# Install from Github to get unreleased features and fixes
uv tool install git+https://github.com/dynamist/phabfive@master

If you prefer mise-en-place the polyglot tool version manager:

# Install mise if you haven't already
curl https://mise.run | sh

# Install from pypi.org
mise use --global --pin pipx:phabfive

Quick Start

1. Get an API token

Grab a Phabricator/Phorge token at https://<yourserver.com>/settings/panel/apitokens/

2. Configure credentials

Environment variables:

export PHAB_TOKEN=cli-ABC123
export PHAB_URL=https://yourserver.com/api/

Or use a configuration file:

# Linux/XDG
cat << 'EOF' > ~/.config/phabfive.yaml
PHAB_TOKEN: cli-ABC123
PHAB_URL: https://yourserver.com/api/
EOF

# macOS
cat << 'EOF' > ~/Library/Application\ Support/phabfive.yaml
PHAB_TOKEN: cli-ABC123
PHAB_URL: https://yourserver.com/api/
EOF

# Windows - create at: %LOCALAPPDATA%\phabfive\phabfive.yaml

Note: On macOS, you can use ~/.config by setting export XDG_CONFIG_HOME=~/.config

3. Use phabfive

phabfive passphrase K123
phabfive paste list
phabfive maniphest search "migration tasks" --tag myproject
phabfive maniphest search --tag myproject --updated-after=1w

Documentation

Contributing

See docs/development.md for instructions on setting up your development environment.

License

Copyright (c) 2017-2026 Dynamist AB

See the LICENSE file provided with the source distribution for full details.

Project details


Download files

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

Source Distribution

phabfive-0.6.0.tar.gz (258.2 kB view details)

Uploaded Source

Built Distribution

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

phabfive-0.6.0-py3-none-any.whl (82.3 kB view details)

Uploaded Python 3

File details

Details for the file phabfive-0.6.0.tar.gz.

File metadata

  • Download URL: phabfive-0.6.0.tar.gz
  • Upload date:
  • Size: 258.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for phabfive-0.6.0.tar.gz
Algorithm Hash digest
SHA256 1815ccf68607fdf35c577c84ecd0db342ac7b60bfee62aa961f4565c26c3ee76
MD5 e3f5c2b52679802c8de30b45cfd0d4cd
BLAKE2b-256 55cc7a2117571ad36f6543d99b012d38aa8d31d63e896dbd67ff0ae5e15339d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for phabfive-0.6.0.tar.gz:

Publisher: release.yml on dynamist/phabfive

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phabfive-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: phabfive-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 82.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for phabfive-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a99ee1c6bfb5f81f1d9af36b997a15760a44a3e7735f87c436f26868cc6ca19
MD5 0aed7d1acfb3a288867b2e8a53eba683
BLAKE2b-256 26f94e1add4c588c3800f4f3801a7affbd8173db93a822b8f5b98d0f99aacbf5

See more details on using hashes here.

Provenance

The following attestation bundles were made for phabfive-0.6.0-py3-none-any.whl:

Publisher: release.yml on dynamist/phabfive

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page