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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

bottle_rest-0.6.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file bottle_rest-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bottle_rest-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70d65a237b313f880af1deac03c5745eaae4c30f12761d26c0f624bf900d64bf
MD5 77f4dac105aa758b1b6e479ca2d02889
BLAKE2b-256 5d49b9852b331da21f7df1312d815ae75ca24cb7245482abede11057a9151428

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