Skip to main content

Pyramid extension using traversal which eases writing RESTful web applications.

Project description

https://travis-ci.org/hadrien/pyramid_royal.png?branch=master https://coveralls.io/repos/hadrien/pyramid_royal/badge.png https://pypip.in/d/pyramid_royal/badge.png

Royal is a pyramid extension which eases writing RESTful web applications.

Documentation on read the docs

Source code on github

Changelog

Development

0.7.4

  • Add update_schema and replace_schema to be symetric with create_schema.

0.7.3

  • Started some documentation.

  • Set default root factory to royal.resource.Root

  • Exception view which catches all exception is only added when debug=false in application settings.

0.7.2

  • Depends on pyramid without any version spec.

0.7.1

  • Add a default multipart/form-data deserializer.

  • No more views on voluptuous.MultipleInvalid as voluptuous has been removed from dependencies.

0.7

  • Breaking changes:

    • Query params are not anymore passed to resources methods via **kwargs but as a dict. TBD: use a multidict.

    • Working on return value of Collection.create method. TBD: Add adapters to permit multiple way of calling resource methods from view and adapt renderering

  • Add renderer_adapter decorator to register adapter via config.scan.

  • Add renderer adapter to configuration introspectables under Renderer adapters category.

  • Add add_deserializer config directive and decorator royal.deserializer_config to add deserializers for specific content_type.

  • Remove decorator log_error_dict in favor of pyramid_exclog extension.

0.6

  • Breaking changes: TBD

  • Move onctuous away in favor of voluptuous

  • Added method tunneling to permit PUT, and DELETE via POST methods.

  • TBD: adapt how request body is parsed.

0.5.1

  • Add Base.__getitem__ which gets children from self.children

0.5

  • Breaking change: Pages parameters are not anymore page & page_size but offset and limit. It is more developer and db friendly.

0.2

  • onctuous schema checking on resource creation.

0.1

  • Initial version

  • royal renderer able to return bson or json.

  • royal.includeme adds royal renderer and views.

  • royal.resource.PaginatedResult which permits Collection.index to return paginated results.

  • royal.views with default views for Collection and Resource.

  • CollectionView.index does automatic pagination.

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

pyramid_royal-0.7.4.tar.gz (12.5 kB view details)

Uploaded Source

File details

Details for the file pyramid_royal-0.7.4.tar.gz.

File metadata

File hashes

Hashes for pyramid_royal-0.7.4.tar.gz
Algorithm Hash digest
SHA256 177e396c4c7db0fe44cc54ed156e9d2fb9fe18f78ee2c3442a69185cff02988f
MD5 813383567ce0d25ecda52571e4cba077
BLAKE2b-256 51cf9da343bff3e9e4adbab4552f8f438ddec69035e73b83c2137ce9b940013d

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