A fabulous, lightweight wrapper around Phabricator's API, Conduit, to handle authentication and other annoying things.
import phabricator
phab = phabricator.Phabricator('https://...', 'Username', token='api-token')
phab.request('user.whoami')
Copyright 2014, 2018, 2020 Kunal Mehta, under the LGPL v3 or later. See COPYING for more details.