Skip to main content

A general REST based ORM.

Project description

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/.

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

pyresto-0.3.tar.gz (12.2 kB view details)

Uploaded Source

File details

Details for the file pyresto-0.3.tar.gz.

File metadata

  • Download URL: pyresto-0.3.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyresto-0.3.tar.gz
Algorithm Hash digest
SHA256 baecb59dbddb21368725dbdfc64b7e0f0d8cf6595cf3a55f910d1a8f5e6429e9
MD5 5f1a7cb44f4fb92bab297b9d69d05de5
BLAKE2b-256 6fd3e7a17cb12e94214fc77a31903b1ec244811d9996ec1f4739f07cc97cc8fb

See more details on using hashes here.

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