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.tar.gz (21.2 kB view details)

Uploaded Source

Built Distributions

multipart-0.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

multipart-0.1-py2-none-any.whl (7.7 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: multipart-0.1.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for multipart-0.1.tar.gz
Algorithm Hash digest
SHA256 c05d7c8dfbc56cfddb032a6d59fa6cd56164c47d32feb7bd0848f66eafc64110
MD5 c9a5be55cb5c0f80bd0cf80586e48091
BLAKE2b-256 6f6100250855af3ad2815666ef939bdf7ae19f9f8b1f38463f8287f044ea27f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: multipart-0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15rc1

File hashes

Hashes for multipart-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c943631ef89f5c220ff5ca82ae94f059dd6d63ef39f588d101c8871fbf47a11
MD5 fc7671e002959fa4ec22d81ac4a68d59
BLAKE2b-256 3551bd47b1b4789debde18d0c1609b4847d569ce50997210984ba9bdb47047af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: multipart-0.1-py2-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15rc1

File hashes

Hashes for multipart-0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 1a7c7e481accaf1005f13946a70d1b44c3923f6bdb4370c0427d2c1d19581e94
MD5 12ef75b8747080fbed5a9652e918c925
BLAKE2b-256 7ae27184df5fe4463a6881a3621e44423025b699f9f57a9d1b4bf8a897666de9

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