Skip to content
Python bindings for Phabricator
Python
Find file
Latest commit 20d363f @BYK BYK 0.6.0
Failed to load latest commit information.
phabricator Better test structure
.gitignore Add IntelliJ files to .gitignore
.travis.yml Better test structure
CHANGES 0.6.0
LICENSE Initial commit.
MANIFEST.in Initial commit.
README.rst Add TravisCI support
setup.cfg Configure universal wheel building
setup.py 0.6.0

README.rst

python-phabricator

https://travis-ci.org/disqus/python-phabricator.png?branch=master

Installation

$ pip install phabricator

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.