Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

uber-archive/python-phabricator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Packages

No packages published

Languages

  • Python 100.0%