Skip to main content

Decorators to make REST easier in Bottle.

Project description

Introduction

https://badge.fury.io/py/bottle-rest.png https://img.shields.io/pypi/dm/bottle-rest.svg https://readthedocs.org/projects/bottle-rest/badge/?version=latest https://img.shields.io/github/issues/Bystroushaak/bottle-rest.svg https://img.shields.io/pypi/l/bottle-rest.svg

This package is used to make easier creating REST applications using Bottle web framework.

Documentation

Full module documentation and description can be found at Read the Docs:

Changelog

0.6.0

  • Added @get_to_params.

  • Code reformatted.

  • Removed support for py2.7.

0.5.2

  • Change in the JSON imports that makes it easier to override the json encoder/decoder, if necessary. (by https://github.com/eevleevs in #11)

0.5.1

0.5.0

  • Added support for python 3 (#9).

  • Added support for file-like objects (#7).

0.4.3

  • Fixed separator in JSON prettify.

0.4.2

  • Fixed #8 - deprecation warning when accessing the Exception.message property.

0.4.1

  • Merged #5 to fix docs/__init__.py, which didn’t work at Python 3.

  • Rewritten docs/__init__.py, when the merge for Python 3 broken Python 2 support.

0.4.0

  • Added pretty_dump() decorator.

0.3.2

  • Fixed bug in @wraps, caused by some strange python behaviour.

0.3.1

  • Fixed bug in documentation.

0.3.0

  • As suggested in #3 - project renamed from rbottle to bottle-rest.

0.2.0

  • Fixed some bugs, added optional return_json=True parameters.

  • Added pretty print for returned JSON.

0.1.0

  • Project created.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page