Skip to main content

Phabricator API Bindings

Project description

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

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

phabricator-0.6.0.tar.gz (19.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page