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=7

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.5.0.tar.gz (242.6 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.5.0-py3-none-any.whl (65.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phabfive-0.5.0.tar.gz
  • Upload date:
  • Size: 242.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for phabfive-0.5.0.tar.gz
Algorithm Hash digest
SHA256 351918846b6e612893c0e06784d7f0c3209352abb40fcc24db5f61f8bdc3bbd5
MD5 dc563d32400fd90ae97b9fee4a2ddb1a
BLAKE2b-256 20f4c4a38dea53cd310788d2910566ff32aea3c69177e73598a2cd8300df2956

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phabfive-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 65.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for phabfive-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 758d03d6acdb5a5b4cbcfc5d7aead788bb0964133d08bc00a40230390457c4b9
MD5 bdc3a8b434c8e4733566b60a3a52bb31
BLAKE2b-256 a543832cd34e2ca3d8f06df7a33118d0e34849325dd61b8871cf77b67821b66e

See more details on using hashes here.

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