Skip to main content

pyramid_yards

An http parameters validator for the Pyramid Web framework

It adds a “yards” attribute to the pyramid request object, containing every validated parameter using colander schemas.

This lib has been inspired by the cornice validated property, but the implementation differ.

Changelog

0.15 (2019-01-03)

  • Remove deprecation warning for pyramid >= 1.9

0.14 (2017-09-12)

  • Add i18n support for colander message base on locale of pyramid request, requires the locale negociator.

0.13 (2016-10-28)

  • Fix the DISABLE_CSRF_CHECK attribute

0.12 (2016-10-27)

  • Fix DISABLE_CSRF_CHECK attribute for schema per http verb

0.11 (2016-07-25)

  • Fix sequence deserialization

0.10 (2016-01-05)

  • Add a schema per http verb

0.9 (2015-09-23)

  • Fix sequence validator

0.8 (2015-09-21)

  • Fix colander.drop deserialization in sequence member

0.7 (2015-07-06)

  • Fix packaging for locales

0.6 (2015-07-06)

  • Check the CSRF (active by default!)

You can use the settings pyramid_yards.check_csrf_token to disable it globally (while writing json API), or locally by adding the attribute DISABLE_CSRF_CHECK = False in the request_schema

0.5 (2015-06-02)

  • Ensure request.yards dict contains every described fields

0.4 (2014-12-24)

  • Use request.yards as a dict mapping

0.3 (2014-12-15)

  • Fix support for sequence

0.2 (2014-12-04)

  • Fix usage of colander.drop

0.1 (2014-12-03)

  • Initial Release

Metadata

Release files for pyramid-yards 0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyramid-yards 0.16
File Size Uploaded
pyramid_yards-0.16.tar.gz 8.8 kB Details

Release files / pyramid_yards-0.16.tar.gz

Download URL pyramid_yards-0.16.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eae92549f5fc7329f7650de84b277c081f575c24f4a3aa036112f006d6bc43da
BLAKE2b-256 checksum
How to use checksums
eb9818df5eed14004e7235bfdf15c8d0cb167aee275c05a79df9fce00356ad97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.16 This release

1 release file

0.15

1 release file

0.14

1 release file

0.13

1 release file

0.11

1 release file

0.10

1 release file

0.9

1 release file

0.8

1 release file

0.7

1 release file

0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page