Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BYK/pyresto
A generic ORM framework for RESTful APIs
https://github.com/BYK/pyresto
Last synced: 27 days ago
JSON representation
A generic ORM framework for RESTful APIs
- Host: GitHub
- URL: https://github.com/BYK/pyresto
- Owner: BYK
- Archived: true
- Created: 2011-08-01T22:10:43.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2019-07-09T08:24:45.000Z (over 5 years ago)
- Last Synced: 2024-07-12T18:19:04.009Z (5 months ago)
- Language: Python
- Homepage: http://pyresto.readthedocs.org
- Size: 516 KB
- Stars: 91
- Watchers: 9
- Forks: 10
- Open Issues: 13
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
- awesome-python-models - pyresto - A generic ORM framework for RESTful APIs. (ODM, ORM, Active Record)
README
Pyresto
=======.. image:: https://secure.travis-ci.org/BYK/pyresto.png
:alt: Travis CI
:target: http://travis-ci.org/BYK/pyresto::
Examples
--------GitHub
^^^^^^.. code-block:: python
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
^^^^^^^^.. code-block:: python
from pyresto.apis.bugzilla import mozilla
mozilla.auth(username='', password='')
bug = mozilla.Bug.get('774141')
print bug.id, bug.status, bug.summary
# 774141 NEW Add generic Bugzilla Python client APIInstallation
------------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/.