Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python bindings for Phabricator
Python
branch: master

This branch is 3 commits ahead, 23 commits behind disqus:master

Add support for __profile__ to conduit calls.

Summary:
__profile__ is a 'global' setting, unlike the other arguments to
conduit calls which are per-call settings.  So I had to add support
for global settings to conduit.  But it wasn't that bad.

Test Plan:
Ran
   ./update_phabricator_repositories.py -n /tmp
and it completed successfully with 0 adds or deletes, showing the the
conduit call gave the normal results even after this change.

Reviewers: alpert

Reviewed By: alpert

Differential Revision: http://phabricator.khanacademy.org/D9969
latest commit c9504d8ca7
@csilvers csilvers authored

README.rst

python-phabricator

Install the API bindings:

python setup.py install

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/

Something went wrong with that request. Please try again.