Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
PyPI

multipart 1.3.0

pip install multipart

Latest version

Released:

Parser for multipart/form-data

Verified details

These details have beenverified by PyPI
Project links
Maintainers
Avatar for cjwatson from gravatar.comcjwatsonAvatar for defnull from gravatar.comdefnull

Project description

Tests StatusLatest VersionSupported Python VersionLicense

This module provides a fast incremental non-blocking parser formultipart/form-data [HTML5,RFC7578], as well as blocking alternatives foreasier use inWSGI or CGI applications:

  • PushMultipartParser: FastSansIO (incremental, non-blocking) parser suitableforASGI,asyncio and other IO, time or memory constrained environments.

  • MultipartParser: Streaming parser that reads from a byte stream and yieldsmemory- or disk-bufferedMultipartPart instances.

  • WSGI Helper: High-level functions and containers forWSGI or CGI applications with supportfor bothmultipart andurlencoded form submissions.

Features

  • Pure python single file module with no dependencies.

  • Optimized for both blocking and non-blocking applications.

  • 100% test coverage with test data from actual browsers and HTTP clients.

  • High throughput and low latency (seebenchmarks).

  • Predictable memory and disk resource consumption via fine grained limits.

  • Strict mode: Spent less time parsing malicious or broken inputs.

Scope and compatibility

All parsers in this module implementmultipart/form-data as defined byHTML5andRFC7578, supporting all modern browsers or HTTP clients in use today.Legacy browsers (e.g. IE6) are supported to some degree, but only if therequired workarounds do not impact performance or security. In detail this means:

  • Justmultipart/form-data, not suitable for email parsing.

  • Nomultipart/mixed support (deprecated inRFC7578).

  • Nobase64 orquoted-printable transfer encoding (deprecated inRFC7578).

  • Noencoded-word orname=_charset_ encoding markers (deprecated inHTML5).

  • No support for clearly broken clients (e.g. invalid line breaks or headers).

Installation

pip install multipart

Documentation

Examples and API documentation can be found at:https://multipart.readthedocs.io/

License

Code and documentation are available under MIT License (seeLICENSE).

Project details

Verified details

These details have beenverified by PyPI
Project links
Maintainers
Avatar for cjwatson from gravatar.comcjwatsonAvatar for defnull from gravatar.comdefnull

Download files

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

Source Distribution

multipart-1.3.0.tar.gz (38.8 kBview details)

UploadedSource

Built Distribution

Filter files by name, interpreter, ABI, and platform.

If you're not sure about the file name format, learn more aboutwheel file names.

Copy a direct link to the current filters

multipart-1.3.0-py3-none-any.whl (14.9 kBview details)

UploadedPython 3

File details

Details for the filemultipart-1.3.0.tar.gz.

File metadata

  • Download URL:multipart-1.3.0.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for multipart-1.3.0.tar.gz
AlgorithmHash digest
SHA256a46bd6b0eb4c1ba865beb88ddd886012a3da709b6e7b86084fc37e99087e5cf1
MD5ec16f14baa2132c6552e3f816717ebf4
BLAKE2b-2566dc9c6f5ab81bae667d4fe42a58df29f4c2db6ad8377cfd0e9baa729e4fa3ebb

See more details on using hashes here.

File details

Details for the filemultipart-1.3.0-py3-none-any.whl.

File metadata

  • Download URL:multipart-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for multipart-1.3.0-py3-none-any.whl
AlgorithmHash digest
SHA256439bf4b00fd7cb2dbff08ae13f49f4f49798931ecd8d496372c63537fa19f304
MD57d3a1b40db1bb68e34536a9d1fa08546
BLAKE2b-2569ad6d547a7004b81fa0b2aafa143b09196f6635e4105cd9d2c641fa8a4051c05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security SponsorDatadog MonitoringDepot Continuous IntegrationFastly CDNGoogle Download AnalyticsPingdom MonitoringSentry Error loggingStatusPage Status page

[8]ページ先頭

©2009-2026 Movatter.jp