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.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 Distribution

bottle-rest-0.5.2.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bottle_rest-0.5.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file bottle-rest-0.5.2.tar.gz.

File metadata

  • Download URL: bottle-rest-0.5.2.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for bottle-rest-0.5.2.tar.gz
Algorithm Hash digest
SHA256 6f609319f520c98110447e06b18182ac2c783c2d5a99b4a663ed64d4ba1d21ae
MD5 981fb960f4854f518a6585a8b2c10f58
BLAKE2b-256 7341e272878d540daa3328e11244acb594fd4f6831f2c58345d838bc311f8566

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bottle_rest-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for bottle_rest-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 819d9f7d8b10c5db27a2e6a1a27b78b5580218b5540a477866ee2491b0bcf207
MD5 5ffbc7d436bcf1c38b4b111846b242ff
BLAKE2b-256 f4322d2558a4ee4dde67f98913a467026dcaa80ff143baa1e0dac68a589b6a64

See more details on using hashes here.

Supported by

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