BSD Ports

devel/py-multipart 1.2.1 DragonFly

Parser for multipart/form-data

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
27.5 KiB, 136.8 KiB installed

Description

Multipart 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 to work around its limitations.

Features:

  • Parses multipart/form-data and application/x-www-form-urlencoded.
  • Produces useful error messages in 'strict'-mode.
  • Gracefully handle uploads of unknown size (missing Content-Length header).
  • Fast memory mapped files (io.BytesIO) for small uploads.
  • Temporary files on disk for big uploads.
  • Memory and disk resource limits to prevent DOS attacks.
  • Fixes many shortcomings and bugs of cgi.FieldStorage.
  • 100%25 test coverage.

In the other systems

SystemPortVersion
DragonFlydevel/py-multipart1.2.1
FreeBSDdevel/py-multipart2.0.0
NetBSDwww/py-multipart2.0.0
MidnightBSDdevel/py-multipart0.2.4_1
HardenedBSDdevel/py-multipart2.0.0
GhostBSDdevel/py-multipart2.0.0

Install

Binary package:

pkg install py311-multipart

From DPorts:

cd /usr/dports/devel/py-multipart && make install clean

Dependencies

Run dependencies 1

No port depends on this one.