NOTE This library is currently WIP. Expect breakages, even between minor versions, while on major version 0.
A set of helpers that makes it easier to write traversal-based REST APIs for pyramid with modern QoL features like
- Request/response validation
- Automatic OpenAPI
- Automatic SQLAlchemy requests
- But possible to write your own support for any backend
- An "industry standard" method for dealing with CORS
- If by industry standard you mean a configurable version of CORS method that "every" Pyramid user uses
- Built around writing REST APIs
- Build tools FOR pyramid, not REPLACING pyramid
- No new abstraction layers on top of Pyramid, just new building blocks
- Easy to slap on top of an existing project, allowing gradual migration
- Start small finish big, like Pyramid
- Performance-first - Prefer doing heavy lifting (metaprogramming, etc) at initiatlization time.
Install pyramid_traversal_api
See https://pypi.org/project/pyramid_traversal_api/ for not.
Thank you to the pylons project for Pyramid. Greetings also go to Theron Luhn for pyramid-marshmallow, which the OpenAPI functionality of this package is based on.
Python 3.9 or later
Unit tests require sqlalchemy. I use a test pyramid project for testing.