Skip to main content

python_phabricator

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
CERT = 'YOUR_CERTIFICATE_HERE'

# The authorized user on behalf of which to make the call
USER = 'USER_NAME'

# The phabricator URL without the PHAB
PHAB = 'PHABRICATOR_URL'
  • Copy settings_sample.py as settings.py

  • 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

Metadata

Release files for phabricator-python 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phabricator-python 0.3
File Size Uploaded Provenance Actions
phabricator-python-0.3.tar.gz 3.6 kB Without provenance Details for phabricator-python-0.3.tar.gz

Release files / phabricator-python-0.3.tar.gz

Download URL phabricator-python-0.3.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cc0795ec62e02545b2444340a021ded562a69a479ae8b4a0f5321b8d21128fb3
BLAKE2b-256 checksum
How to use checksums
7385b5306d94e5a92c8b5973ab7c3510758b9ee39c0ecbbc01dad7e5a9f21f95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for phabricator-python 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page