Port details |
- py-multipart Parser for multipart/form-data
- 0.2.4_1 devel =0 0.2.4Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2023-11-02 07:42:08
- Last Update: 2024-04-08 20:17:13
- Commit Hash: 462673c
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/defnull/multipart
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}multipart>0:devel/py-multipart@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-multipart/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-multipart
- pkg install py39-multipart
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-multipart listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-multipart
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1698848686
SHA256 (multipart-0.2.4.tar.gz) = 06ba205360bc7096fefe618e4f1e9b2cdb890b4f2157053a81f386912a2522cb
SIZE (multipart-0.2.4.tar.gz) = 22300
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-multipart
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 2
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.2.4_1 08 Apr 2024 20:17:13 |
Po-Chuan Hsieh (sunpoet) |
devel/py-multipart: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change |
0.2.4 02 Nov 2023 07:37:17 |
Po-Chuan Hsieh (sunpoet) |
devel/py-multipart: Add py-multipart 0.2.4
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. |
Number of commits found: 2
|