Skip to main content
Latest PyPI version Number of PyPI downloads

This is the WebOb integration for YAFOWIL.

This package registers a global preprocessor for yafowil. It wraps the any WebOb BaseRequest derived request instance.

Special behaviors:

All WebOb params - available at WebObs request in a so called MultiDict - are returned in MultiDicts mixed flavor. This is how Yafowil expects them. IOW: If a query-key exists several times the values are aggregated in a list. If a query-key exists one time, the value is returned as string.

File Uploads provided by WebOb as cgi.FieldStorage objects are turned into Dicts with the keys:

file

file-like object to read data from

filename

submitted name of the upload

mimetype

type of the upload

headers

all headers

original

keeps the original cgi.FieldStorage object

For more information about YAFOWIL:

Source Code

The sources are in a GIT DVCS with its main branches at github.

We’d be happy to see many forks and pull-requests to make YAFOWIL even better.

Contributors

  • Jens W. Klein

  • Robert Niederrreiter

Changes

2.0.1 (2026-10-31)

  • Fix WebObRequestAdapter.__iter__ returning None instead of an empty iterator for an unset request, iter(adapter) raised TypeError. [rnix]

  • Modernise the code ruff flags as outdated: class X(object). Behaviour unchanged. [rnix]

  • Sort the imports with ruff (one per line, from imports first, no sections) and format the code with ruff format (90 characters per line, single quotes). [rnix]

  • Add qa.ruff domain to Makefile and pin the ruff configuration in pyproject.toml, make check runs ruff check. [rnix]

  • Add tests, the package had none. Add test extra and fix mxmake-source-path in mx.ini. [rnix]

  • Drop the Python 2 remnants: yafowil.compat usage, IS_PY2 branches and the collections import fallback. [rnix]

2.0.0 (2026-02-03)

  • Refactor package layout to use pyproject.toml and implicit namespace packages. [rnix]

1.5 (2025-10-28)

  • Pin upper versions of dependencies. [rnix]

1.4 (2022-12-05)

  • Release wheel. [rnix]

  • Python 3.10 support. [rnix]

1.3 (2018-07-16)

  • Python 3 support. [rnix]

1.2

  • Use yafowil.utils.entry_point decorator. [rnix]

1.1.2

  • Docs [jensens]

1.1.1

  • Provide translate callable for pyramid. soft dependency [rnix, 2012-04-24]

1.1

  • use entry point for registration of webob preprocessor. depend on YAFOWIL 1.3 [jensens, 2012-03-19]

1.0

  • made it work [jensens, rnix, et al, 2010-12-27]

License

Copyright (c) 2010-2021, BlueDynamics Alliance, Austria, Germany, Switzerland Copyright (c) 2021-2025, Yafowil Contributors All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Metadata

Release files for yafowil.webob 2.0.1

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

Source distribution (sdist)

Source distribution for yafowil.webob 2.0.1
File Size Uploaded Provenance Actions
yafowil_webob-2.0.1.tar.gz 6.5 kB Without provenance Details for yafowil_webob-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yafowil.webob 2.0.1
File Interpreter ABI Platform Actions
yafowil_webob-2.0.1-py3-none-any.whl Python 3 none any Details for yafowil_webob-2.0.1-py3-none-any.whl

Total release size: 14.1 kB

Release files / yafowil_webob-2.0.1.tar.gz

Download URL yafowil_webob-2.0.1.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d29fdd2825bbe2c38f59a9a6860daaf499e5eef2f4806e041798b1262cf76d39
BLAKE2b-256 checksum
How to use checksums
05f1dd64018d3339e342b46edc5ee8fbbb887598a8899016c7ca44663dcbb9ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Release files / yafowil_webob-2.0.1-py3-none-any.whl

Download URL yafowil_webob-2.0.1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c86ce7f0f0046b58f42210821c7036a556d91c55186eb56115f127cfeb3f69a2
BLAKE2b-256 checksum
How to use checksums
e81d537094f5e9f4919864f779ef23d39d90f0aa75e17ef74280fb40d5954cca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Security for yafowil.webob 2.0.1

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.

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