Skip to main content

Python Based Phabricator API Bindings

Project description


A Conduit Based Python API for Phabricator

  • Aims to be python based, no dependency on Arcanist

  • Module Based format for API Requests (Easy to extend)

  • Session Token is Cached and takes into account expiry time

How to Use

Minimal configuration as follows

# The Certificate of your phabricator installation that can be found
# under settings

# The authorized user on behalf of which to make the call

# The phabricator URL without the PHAB
  • Copy as

  • Fill out the values

  • Your certificate can be found in the settings page of your phabricator installation

msk@msk-ubuntu ~/projects/python_phabricator (master●)$ python
Python 2.7.5+ (default, Feb 27 2014, 19:37:08)
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from phabricator.paste.query import QueryPaste
>>> p = QueryPaste()
>>> p.makeRequest()
loading token from disk cache
Paste Id: PHID-PSTE-klpolzpskydol4lofldl
Paste Id: PHID-PSTE-wfankndvvhullmp2rwgj
Paste Id: PHID-PSTE-epwflteivngjxxu7d3yb
Paste Id: PHID-PSTE-wrnmkkythul4wzm5c7qd

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-python-0.3.tar.gz (3.6 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