Python bindings for Phabricator
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
phabricator Merge pull request #41 from jamesmeador/fixes-regex Jul 6, 2016
.gitignore Add IntelliJ files to .gitignore Dec 25, 2015
.travis.yml Remove support for old Python 3.x versions Jul 8, 2016
CHANGES
LICENSE Initial commit. Jan 5, 2012
MANIFEST.in Initial commit. Jan 5, 2012
README.rst Add TravisCI support Dec 25, 2015
setup.cfg Configure universal wheel building Jul 6, 2015
setup.py 0.7.0 Jul 8, 2016

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()