Skip to main content

REST Framework for pyramids

Project description

Lovely PyRest

Lovely Pyrest is an extension for Pyramid <http://www.pylonsproject.org/projects/pyramid/about> to easily create REST-Services. It provides functionallity to define service endpoints with the following features:

Features

  • Sphinx extension to automatically generate documentation

  • It’s possible to get help information of every endpoint

  • Schema-validation based on jsonschema <http://json-schema.org/>

  • returns correct error codes if request method is not supportet or Accept- or Content-Type-Headers don’t match

Documentation

Take a look at the documentation for usage information.

Installation

Installing via pip

To install lovely.pyrest via pip use the following command:

$ pip install lovely.pyrest

To update use:

$ pip install -U lovely.pyrest

Installing via easy_install

If you prefer easy_install which is provided by setuptools use the following command:

$ easy_install lovely.pyrest

To update use:

$ easy_install -U lovely.pyrest

Development Setup

For development setup instructions see:

DEVELOPER.rst

Changes for Lovey Pyrest

unreleased

2013/10/21 0.1.1

  • removed development info from README and rephrased the introduction

2013/10/21 0.1.0

  • added information how to publish documentation on gh-pages

  • auto-doc: fixed bug where normal text gets included in <h4> tag

  • removed closed source dependencies, so this package can be open sourced

  • added license information

2013/10/11 0.0.11

  • bugfix: fixed query validation

2013/10/11 0.0.10

  • convert boolean for query parameter validation

2013/10/11 0.0.9

  • changed schema validation for compatibility

2013/10/11 0.0.8

  • number conversation for query parameters

2013/10/09 0.0.7

  • Services provide help functionality by default

2013/10/08 0.0.6

  • enabled JSONP support

2013/10/08 0.0.5

  • added sphinx extension to generate service documentation automatically

2013/10/04 0.0.4

  • possibility to use array type in GET query validation

2013/10/02 0.0.3

  • added documentation

2013/10/01 0.0.2

  • include DEFAULT_FORMAT_VALIDATORS from validictory

2013/10/01 0.0.1

  • added basic functionallity:
    • raise a 405 if an unimplemented method is called on a service

    • provide schema validation

    • raise correct errors if the Accept or Content-Type headers mismatch

  • initial commit

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

lovely.pyrest-0.1.1.tar.gz (17.9 kB view hashes)

Uploaded Source

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