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


Download files

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

Source Distribution

PyZilla-0.1.0.tar.gz (14.7 kB view details)

Uploaded Source

File details

Details for the file PyZilla-0.1.0.tar.gz.

File metadata

  • Download URL: PyZilla-0.1.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyZilla-0.1.0.tar.gz
Algorithm Hash digest
SHA256 43b814f897c7cc518965db1ff4e315d3cf21bcd3dce4f556d7538b7d50b8f02f
MD5 31b8582e10455344473391cfd6f7d725
BLAKE2b-256 c0468ac683975a6fee78bddc9a6379259bf15c78fddaf844aa60c3da41ca5534

See more details on using hashes here.

Provenance

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