Skip to main content

Define Web Services in Pyramid.

Project description

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

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

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


Download files

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

Source Distribution

cornice-0.8.tar.gz (20.3 kB view details)

Uploaded Source

File details

Details for the file cornice-0.8.tar.gz.

File metadata

  • Download URL: cornice-0.8.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cornice-0.8.tar.gz
Algorithm Hash digest
SHA256 baa0312470c6559b752123cf435a6b81e50fc5196ceda587704c48c2df57d8f3
MD5 b6865d24b9f576a341fd1a58c29af8bb
BLAKE2b-256 86c2b7d1f860fd9926449426b78d8339c53186e88e5c42f284a9a3ede733c8bc

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