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://pypip.in/d/pyramid_royal/badge.png

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

For more information on traversal algorithm, refer to Pyramid documentation

Changelog

Development

  • 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 directive and decorator royal.deserializer to add deserializers on for specific content_type

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


Release history Release notifications

History Node

0.8.10

History Node

0.8.9

History Node

0.8.8

History Node

0.8.7

History Node

0.8.6

History Node

0.8.5

History Node

0.8.4

History Node

0.8.3

History Node

0.8.2

History Node

0.8.1

History Node

0.7.4

History Node

0.7.3

History Node

0.7.3-dev0

History Node

0.7.2

History Node

0.7.1

History Node

0.7.1-dev0

History Node

0.7

This version
History Node

0.7.0-dev4

History Node

0.7.0-dev3

History Node

0.7.0-dev2

History Node

0.7.0-dev1

History Node

0.7.0-dev0

History Node

0.6-dev3

History Node

0.6-dev2

History Node

0.6-dev1

History Node

0.6-dev0

History Node

0.5.1

History Node

0.5

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
pyramid_royal-0.7.0-dev4.tar.gz (11.4 kB) Copy SHA256 hash SHA256 Source None Apr 6, 2014

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