Falcon-Marshmallow is a middleware library designed to assist developers who wish to easily incorporate automatic (de)serialization using Marshmallow schemas into their Falcon application. Once the middleware is in place, requests to any resources that have a schema attribute defined will automatically use that schema to parse the request body. In addition, responses for that resource will automatically use the defined schema to dump results.
You may also specify method-specific schemas on a resource, e.g. patch_schema, which will be used only when the request method matches the schema prefix.
By default, this middleware will also automatically parse requests and responses to JSON even if they do not have any schema(s) defined. This can be easily disabled, if you would prefer to use your own JSON parsing middleware. This is done using simplejson by default, but you may specify any module or object you like that implements the public interface of the standard library json module.
Release files for falcon-marshmallow 0.3.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 | |
|---|---|---|---|
| falcon_marshmallow-0.3.0.tar.gz | 23.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| falcon_marshmallow-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 30.8 kB
Release files / falcon_marshmallow-0.3.0.tar.gz
| Download URL | falcon_marshmallow-0.3.0.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2e03afe88cd8a132bbc1466a07317b34a48157ae4f1c87abba5c47ab31cdeab
|
|
BLAKE2b-256 checksum How to use checksums |
414d77213c7effb090dad582cb97583a994159fb7e43dcfd68196c8296f8ceed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.2
|
Release files / falcon_marshmallow-0.3.0-py2.py3-none-any.whl
| Download URL | falcon_marshmallow-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5986d5be414c648a53cf8c4e5a8003315d0a3e3828abd0e3abcce4d0d9354c8b
|
|
BLAKE2b-256 checksum How to use checksums |
1b91b226c5c6dae83056c4c2612ecf0480ec318eb8b762ab6bdf02dbf9fe5807
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.2
|