Skip to main content

rest framework for pyramids

Project description

Lovely PyRest

Lovely Pyrest is an extension for Pyramid to easily create REST-Services. It provides functionallity to define service endpoints with the following features:

Features

  • Sphinx extension to automatically generate documentation

  • Schema-validation based on jsonschema

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

2015/07/21 2.1.1

  • allow a REST class to be used on multiple routes

2014/09/09 2.1.0

  • extended Validator to provide custom validators by the schema

2014/01/28 2.0.10

  • removed array validation conversion for get params

2014/01/28 2.0.9

  • added optional convert_get_params parameter to validate function

2014/01/24 2.0.8

  • modified the documentation output
    • validation schema is rendered as code block

    • endpoint title is first line of docstring

2014/01/16 2.0.7

  • removed error views from package

2014/01/15 2.0.6

  • fixed documentation setup

  • removed unused error view

2014/01/14 2.0.5

  • updated documentation and added first example

  • moved content of testing/tests.py to lovely/pyrest/tests.py

2014/01/14 2.0.4

  • updated documentation for sphinx directive

  • fixed optional positional arguments in sphinx directive

2014/01/14 2.0.3

  • added sphinx option for pyramid_config path. With this option set url prefixes are rendered correctly and it’s not necessary to specify a module in service directive

2014/01/14 2.0.2

  • bugfix: prevent duplicate rendering of methods in autodoc

2014/01/14 2.0.1

  • updated documentation generation for lovely.pyrest 2.0

2014/01/10 2.0.0

  • new version using decorator approach to define rest services

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-2.1.1.tar.gz (16.5 kB view details)

Uploaded Source

File details

Details for the file lovely.pyrest-2.1.1.tar.gz.

File metadata

File hashes

Hashes for lovely.pyrest-2.1.1.tar.gz
Algorithm Hash digest
SHA256 27b54518892214820062ef46b6590ce11d2c6403ac6054678906007c6c04ec87
MD5 06be7371520fc1df944bd8d95abc94e7
BLAKE2b-256 d6b46f5a92fc3acc2e9e1fcf69132d2a7bb9620ad55faba98898fb141afc5804

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