Skip to main content

Parser for multipart/form-data.

Project description

This module provides a parser for the multipart/form-data format. It can read from a file, a socket or a WSGI environment. The parser can be used to replace cgi.FieldStorage (without the bugs) and works with Python 2.5+ and 3.x (2to3).

Licence (MIT)

Copyright (c) 2010, Marcel Hellkamp. Inspired by the Werkzeug library: http://werkzeug.pocoo.org/

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

multipart-0.1.1.tar.gz (21.7 kB view details)

Uploaded Source

Built Distributions

multipart-0.1.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

multipart-0.1.1-py2-none-any.whl (9.5 kB view details)

Uploaded Python 2

File details

Details for the file multipart-0.1.1.tar.gz.

File metadata

  • Download URL: multipart-0.1.1.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5

File hashes

Hashes for multipart-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7b451b8ad6a3776e430564bb1fdfaee678b299a903a8ec080b3fde980422feed
MD5 ab9fc14fb03bb3c96d9658f3a089cec6
BLAKE2b-256 52b0be90fd93525752cc19e028fa94f89b31f3b0f71ff3498a82127a7dabcfac

See more details on using hashes here.

File details

Details for the file multipart-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: multipart-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5

File hashes

Hashes for multipart-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e6d7d8c11f39c4378804e60294af1727ac2967756481c1563107dbde8cf8072e
MD5 f051118ba53772f99c027e8808d29b96
BLAKE2b-256 846837a45e6da4e640004dfd6102c98dfb58210289dec7d706d03fbbfccdbe93

See more details on using hashes here.

File details

Details for the file multipart-0.1.1-py2-none-any.whl.

File metadata

  • Download URL: multipart-0.1.1-py2-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5

File hashes

Hashes for multipart-0.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 ab08fc797695cddf3b5105e77b8e047b185655f6d051e2a829fbe27e3e1ac7af
MD5 4a540dc9704082ae67e74e6370218b11
BLAKE2b-256 d169e73f73caf585f8a223f77b2d9e2545a853722522da39b54a93cacf9f9dec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page