devel/py-multipart 0.2.4_1 MidnightBSD
Parser for multipart/form-data
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
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% test coverage.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-multipart | 0.2.4_1 |
| FreeBSD | devel/py-multipart | 2.0.0 |
| DragonFly | devel/py-multipart | 1.2.1 |
| HardenedBSD | devel/py-multipart | 2.0.0 |
| GhostBSD | devel/py-multipart | 2.0.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}multipart
From mports:
cd /usr/mports/devel/py-multipart && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}multipart>0:devel/py-multipart
Dependencies
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| multipart-0.2.4.tar.gz | 22300 | 06ba205360bc7096fefe618e4f1e9b2cdb890b4f2157053a81f386912a2522cb |
Master sites 1
- PYPI