Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python wrapper around the Bugzilla XML-RPC api
branch: master

This branch is 6 commits behind williamh:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
CHANGES.txt
LICENSE.txt
MANIFEST.in
README.txt
pyzilla.py
setup.py

README.txt

=======
PyZilla
=======

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
<http://www.bugzilla.org/docs/3.0/html/api/Bugzilla/WebService.html>`_.

For a saner interface to bugzilla, please refer to the `Bugzilla
REST API <https://wiki.mozilla.org/Bugzilla:REST_API>`_.




Something went wrong with that request. Please try again.