A general REST based ORM.
Project description
import pyresto.apis.GitHub as GitHub import operator user = GitHub.User.get('berkerpeksag') all_commits = reduce(operator.add, [r.commits for r in user.repos], []) own_commits = [c for c in all_commits if c['committer'] and c['committer']['login'] == user.login] len(own_commits) # 508
Installation
To install Pyresto, simply:
$ pip install pyresto
Source Code
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.1.zip
(7.9 kB
view hashes)