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
- Host: GitHub
- URL: https://github.com/wylee/pyramid_resourceful
- Owner: wylee
- License: mit
- Created: 2020-11-26T21:24:04.000Z (over 5 years ago)
- Default Branch: dev
- Last Pushed: 2021-11-07T19:36:03.000Z (over 4 years ago)
- Last Synced: 2025-11-27T19:28:28.814Z (7 months ago)
- Topics: api, pyramid, resource, rest, restful, web
- Language: Python
- Homepage: https://pyramid-resourceful.readthedocs.io/
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE
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.