Python-copr is a python client to access the Copr build service through its API.
Python-copr right now is in alpha stage, so expect lot of changes. Now it targets python 2.6+ and python3.3+.
python2.6+
python-requests
python-six
git clone https://git.fedorahosted.org/git/copr.git
cd python
# enable virtualenv if needed
pip install -r requirements.txt
python setup.py install
If you have any questions, please contact us:
- IRC: #fedora-buildsys@irc.freenode.net
- mailing list: copr-devel@lists.fedorahosted.org [signup] [archives]
All interaction are done through copr.CoprClient. It can be created directly or using config file /etc/copr.conf
CoprClient offers methods that directly reflect Copr api. Received data are wrapped into the Response object. Depending on used methods Responses will have different set of provided attributes and methods.
See method signatures and response objects in the auto generated documentation: