Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python bindings for Phabricator
branch: master

Merge pull request #15 from robla/pickle

Added __getstate__ and __setstate__ to enable pickling
latest commit 943e84878b
Matt Robenolt mattrobenolt authored

README.rst

python-phabricator

Installation

$ python setup.py install

Usage

Use the API by instantiating it, and then calling the method through dotted notation chaining:

from phabricator import Phabricator
phab = Phabricator()  # This will use your ~/.arcrc file
phab.user.whoami()

Parameters are passed as keyword arguments to the resource call:

phab.user.find(aliases=["sugarc0de"])

Documentation on all methods is located at https://secure.phabricator.com/conduit/

Interface out-of-date

If Phabricator modifies Conduit and the included interfaces.json is out-of-date or to make sure to always have the latest interfaces:

from phabricator import Phabricator
phab = Phabricator()
phab.update_interfaces()
phab.user.whoami()
Something went wrong with that request. Please try again.