Pyramid extension using traversal which eases writing RESTful web applications.
Project description
Royal is a pyramid extension which eases writing RESTful web applications.
For more information on traversal algorithm, refer to Pyramid documentation
Changelog
Development
0.7.1
Add a default multipart/form-data deserializer.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyramid_royal-0.7.2.tar.gz
.
File metadata
- Download URL: pyramid_royal-0.7.2.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d933bfbaaf4c437d49813255aaafbab175757fbcee21e1b2abef89afb46017e4 |
|
MD5 | fa8e3e6276a7cc0be83dafc1472ce823 |
|
BLAKE2b-256 | 8ad528901da6543e1da35d4b46e31df2759ab67fed00e9bdd14c1b9c57fed2c8 |