pyramid-traversal-api
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
Design goals
- 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.
Installing
Install pyramid_traversal_api
See https://pypi.org/project/pyramid_traversal_api/ for not.
Standing on the shoulder of giants
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.
Requirements
Python 3.9 or later
Hacking
Unit tests require sqlalchemy. I use a test pyramid project for testing.
Metadata
Release files for pyramid_traversal_api 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyramid_traversal_api-0.13.0.tar.gz | 16.3 kB | Without provenance | Details for pyramid_traversal_api-0.13.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyramid_traversal_api-0.13.0-py3-none-any.whl | Python 3 | none | any | Details for pyramid_traversal_api-0.13.0-py3-none-any.whl |
Total release size: 37.7 kB
Release files / pyramid_traversal_api-0.13.0.tar.gz
| Download URL | pyramid_traversal_api-0.13.0.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ac8d689bd1ea73540ee96838af1043dc85ce6bea64c502ac64b182e723ad6e6
|
|
BLAKE2b-256 checksum How to use checksums |
4f6e7f7e602270b3ffb92f535bcb82c61635c56f63d32a894aeffebe711db372
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pyramid_traversal_api-0.13.0-py3-none-any.whl
| Download URL | pyramid_traversal_api-0.13.0-py3-none-any.whl |
|---|---|
| Size | 21.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72e20d162653001d50f295f5f7d974b5f97a32149705de5cde54c4e60155d600
|
|
BLAKE2b-256 checksum How to use checksums |
c36bfedb142288a864c082954124a69dba3a928fb6bee6440c18375aada4ee53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for pyramid_traversal_api 0.13.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.