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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-multipart | 1.2.1 |
| FreeBSD | devel/py-multipart | 2.0.0 |
| NetBSD | www/py-multipart | 2.0.0 |
| MidnightBSD | devel/py-multipart | 0.2.4_1 |
| HardenedBSD | devel/py-multipart | 2.0.0 |
| GhostBSD | devel/py-multipart | 2.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.