Skip to main content

Python interface to Request Tracker API

Project description

Rt - Python interface to Request Tracker API

Python implementation of REST API described here:


This module uses following Python modules:

Requirements can be installed running:

pip install -r requirements.txt


This module is distributed under the terms of GNU General Public Licence v3 and was developed by CZ.NIC Labs - research and development department of CZ.NIC association - top level domain registy for .CZ. Copy of the GNU General Public License is distributed along with this module.


An example is worth a thousand words:

>>> import rt
>>> tracker = rt.Rt('http://localhost/rt/REST/1.0/', 'user_login', 'user_pass')
>>> tracker.login()
>>> map(lambda x: x['id'],'helpdesk', Status='open'))
['ticket/1', 'ticket/2', 'ticket/10', 'ticket/15']
>>> tracker.create_ticket(Queue='helpdesk', \
... Subject='Coffee (important)', Text='Help I Ran Out of Coffee!')
>>> tracker.edit_ticket(19, Requestors='')
>>> tracker.reply(19, text='Do you know Starbucks?')
>>> tracker.logout()

Please use docstrings to see how to use different functions. They are written in ReStructuredText. You can also generate HTML documentation by running make html in doc directory (Sphinx required).


Project site and issue tracking:
Git repository:

Project details

Download files

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

Files for rt, version 1.0.11
Filename, size File type Python version Upload date Hashes
Filename, size rt-1.0.11-py2.py3-none-any.whl (16.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size rt-1.0.11.tar.gz (35.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page