devel/py-multipart 2.0.0 FreeBSD
Parser for multipart/form-data
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d26bd9712a- License
- MIT
- Categories
- devel, python
- Package size
- 33.9 KiB, 161.5 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% test coverage.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-multipart | 2.0.0 |
| DragonFly | devel/py-multipart | 1.2.1 |
| MidnightBSD | devel/py-multipart | 0.2.4_1 |
Install
Binary package:
pkg install py312-multipart
From the ports tree:
cd /usr/ports/devel/py-multipart/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-multipart>0:devel/py-multipart
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.0.0 | 2.0.0 | - | 1.3.0 | 2.0.0 |
| FreeBSD:14:quarterly | 2.0.0 | 2.0.0 | n/a | 1.2.1 | 2.0.0 |
| FreeBSD:15:latest | 2.0.0 | 2.0.0 | n/a | 1.3.0 | 1.3.0 |
| FreeBSD:15:quarterly | 2.0.0 | 2.0.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.0 | 2.0.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}flit-core>=3.9<4: devel/py-flit-core
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 7
Required by 37
- databases/mysql-shell
- devel/oci-cli
- devel/py-oci
- finance/py-openbb
- finance/py-openbb-mcp-server
- finance/py-openbb-sec
- finance/py-openbb-us-eia
- finance/py-openbb-yfinance
- graphics/py-olmocr
- misc/openclaw
- misc/py-banks
- misc/py-claude-agent-sdk
- misc/py-crewai
- misc/py-crewai-tools
- misc/py-fastmcp
- misc/py-google-genai
- misc/py-langchain-google-genai
- misc/py-langchain-mcp-adapters
- misc/py-litellm
- misc/py-llama-index-core
- misc/py-llama-index-embeddings-huggingface
- misc/py-llama-index-llms-ibm
- misc/py-llama-index-llms-openai
- misc/py-llama-index-llms-openai-like
- misc/py-mcp
- misc/py-oterm
- misc/py-vllm
- textproc/nano-pdf
- textproc/pdf-form-filler-mcp
- textproc/py-docling-graph
- textproc/py-docling-litellm-picture-description
- textproc/py-docling-mcp
- textproc/py-docling-sdg
- textproc/py-docling-serve
- textproc/pymupdf4llm-mcp
- www/py-google-cloud-aiplatform
- www/py-litestar
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| multipart-2.0.0.tar.gz | 42606 | d6076567b489270271d9ec103d404745da1501ad5b70e3a7f1f07f5623d82850 |
Master sites 2
- PYPI
- https://github.com/defnull/multipart/releases/download/v2.0.0/