An open API service indexing awesome lists of open source software.

https://github.com/wylee/pyramid_resourceful

Resourceful routes and views for Pyramid
https://github.com/wylee/pyramid_resourceful

api pyramid resource rest restful web

Last synced: 6 months ago
JSON representation

Resourceful routes and views for Pyramid

Awesome Lists containing this project

README

          

pyramid_resourceful
+++++++++++++++++++

``pyramid_resourceful`` is a somewhat-opinionated toolkit for building
resourceful Web services and applications on top of the Pyramid Web
framework.

One of the main things it does it make it easy to create the routes and
views for a resource::

config.add_resource(MyResource)

This will configure all the routes and views for the resource based on
which methods the resource implements (``delete``, ``get``, ``put``,
etc).

In vanilla Pyramid, you'd have a ``config.add_route()`` and
``config.add_view()`` for each HTTP method you need to implement, which
can get tedious.

Take a look in the ``examples`` directory for self-contained, runnable
examples.

See https://pyramid-resourceful.readthedocs.io/ for detailed
documentation of interfaces, APIs, and usage.

License
=======

This package is provided under the MIT license. See the ``LICENSE`` file
for details.