Skip to main content

Define Web Services in Pyramid.

Project description

Travis-ci: continuous integration status.

Cornice provides helpers to build & document Web Services with Pyramid.

The full doc is located at: http://cornice.readthedocs.org

0.11 - 2012-10-22

  • the sphinx extension is now provided by the cornice.ext.sphinxext module
  • Add support for SPORE
  • add an optional ‘error_handler’ to view declarations.
  • Services.default_{validators, filters} is now used. (Fix #75)

0.10 - 2012-08-29

  • use pcreate rather than paster create.
  • make it possible to add custom values to errors.

0.9 - 2012-07-26

  • default schema values are assumed to be in the body
  • refactored the internal APIs so we are not using decorators anymore. The service definition is now separated from the service registration in the routing mechanism.
  • added class-level validators and filters
  • added documentation about cornice internals
  • deprecated the service.schema attribute. Use service.definitions instead.

0.8 - 2012-04-06

  • added support for the ‘OPTIONS’ HTTP Verb
  • allow multiple accept definitions for a service.
  • get validator’s docstring for the automatic doc generation
  • fixed non-ascii documentation problems
  • add a way to ignore some modules when scanning with venusian.scan.

0.7 - 2012-03-12

  • update license to MPL 2.0.
  • renamed cornice.schemas to cornice.errors
  • Added get_view_wrapper method to Service class to support subclasses wrapping the view callables w/ decorators
  • added buildout support
  • added class-based views and the resource decorator
  • make sure we use Pyramid’s exceptions. Not Webob’s.
  • added filters support
  • added schema support
  • added json xsrf support
  • now errors status can be different from 400.

0.6 - 2011-12-21

  • various fixes in MANIFEST

0.5 - 2011-12-21

  • added a tutorial
  • stacked @api decorator are now allowed
  • added a Paster template for a quick start

0.4 - 2011-12-07

  • Added a way to plug validators easily.
  • Fixed documentation
  • Added a way to automatically document Cornice web services
  • Fixed license
  • Added a way to specify the accepted Content-Type values. A 406 is raised if needed

0.3 - 2011-11-23

  • remove singleton “_defined” state from Service class; this allows service definitions to be loaded into more than one Configurator.

0.2 - 2011-11-05

  • Fixed the MANIFEST

0.1 - 2011-11-03

  • Initial release

Project details


Release history Release notifications

History Node

3.4.0

History Node

3.3.0

History Node

3.2.0

History Node

3.1.0

History Node

3.0.0

History Node

2.4.1

History Node

2.4.0

History Node

2.3.0

History Node

2.2.0

History Node

2.1.0

History Node

2.0.2

History Node

2.0.1

History Node

2.0.0

History Node

1.2.1

History Node

1.2.0

History Node

1.1.0

History Node

1.0.0

History Node

0.20.0

History Node

0.19.0

History Node

0.18.1

History Node

0.18

History Node

0.17

History Node

0.16.2

History Node

0.16.1

History Node

0.16

History Node

0.15

History Node

0.14

History Node

0.13

History Node

0.12

This version
History Node

0.11

History Node

0.10

History Node

0.9

History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
cornice-0.11.tar.gz (27.1 kB) Copy SHA256 hash SHA256 Source None Oct 22, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page