Skip to main content

Python wrapper for the BugZilla XML-RPC API

Project description

PyZilla is a simple wrapper on top the xmlrpclib package which provides an object that can be used to make XML-RPC calls to a Bugzilla installation.

The module exposes the BugZilla object which you can instantiate with the uri to the xmlrpc.cgi file on your bugzilla installation.

Here’s a simple usage example:

>>> from pyzilla import BugZilla
>>> bzilla = BugZilla("http://bugzilla.example.com/xmlrpc.cgi")
>>> bzilla.login("username", "password")
>>> bzilla.Bugzilla.version()

The module will store the auth cookies in the same directory of invocation in a file called cookies.txt.

For details of the API, please refer to the Bugzilla webservice docs.

For a saner interface to bugzilla, please refer to the Bugzilla REST API.

Project details


Release history Release notifications

This version

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PyZilla, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size PyZilla-0.1.0.tar.gz (14.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page