Skip to main content

Phabricator API Bindings

Project description

Installation

$ python setup.py install

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.4.0.tar.gz (12.9 kB view details)

Uploaded Source

File details

Details for the file phabricator-0.4.0.tar.gz.

File metadata

  • Download URL: phabricator-0.4.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for phabricator-0.4.0.tar.gz
Algorithm Hash digest
SHA256 12bfac85c4fada99852786d7e8c5383be0771a34cae0a0169bcbd6922eb15780
MD5 c6b4749ebb07845daa794c61d9a07538
BLAKE2b-256 2573f5aa64caa784454b546e33720e9d5b5e4bde0c96d0669eb2334c4befcc0e

See more details on using hashes here.

Supported by

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