Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A generic ORM framework for RESTful APIs
branch: master
Failed to load latest commit information.
docs Update tutorial
pyresto Don't shadow `type` in `auth` function, leftovers. :shit: :shit:
requirements Add unittests to Pyresto
tests Make `Test_enable_auth` follow the naming convention
.gitignore ignore vim swap files
.travis.yml Update .travis.yml.
MANIFEST.in Use all dependencies from requirements.txt.
Makefile
README.rst Use Python syntax highlighting in the readme file.
setup.py Use all dependencies from requirements.txt.

README.rst

Pyresto

Travis CI

Examples

GitHub

import pyresto.apis.github as GitHub

user = GitHub.User.get('berkerpeksag')
print 'Watchers: {0:d}'.format(sum(r.watchers for r in user.repos))

Bugzilla

from pyresto.apis.bugzilla import mozilla

mozilla.auth(username='<USERNAME>', password='<PASSWORD>')
bug = mozilla.Bug.get('774141')
print bug.id, bug.status, bug.summary
# 774141 NEW Add generic Bugzilla Python client API

Installation

To install Pyresto, simply:

pip install pyresto

Documentation

Documentation hosted on Read the Docs.

License

All files that are part of this project are covered by the following license, except where explicitly noted.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Something went wrong with that request. Please try again.