BSD Ports

www/py-multipart 2.0.0 NetBSD

Parser for multipart/form-data

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
41c8598a3e
License
mit
Categories
www, python
Package size
32.3 KiB, 169.3 KiB installed

Description

This module 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.

In the other systems

SystemPortVersion
NetBSDwww/py-multipart2.0.0
OpenBSDwww/py-multipart2.0.1
DragonFlydevel/py-multipart1.2.1

Install

Binary package:

pkgin install py311-multipart

From pkgsrc:

cd /usr/pkgsrc/www/py-multipart && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.0.0
NetBSD 10.1 aarch641.3.1
SmartOS / illumos x86_642.0.1
macOS 15 arm642.0.1

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-multipart-2.0.0, py313-multipart-2.0.0, py314-multipart-2.0.0

Commit history 2

DateCommitCreditsLog message
41c8598a3e adam py-multipart: updated to 2.0.1
2.0.1 https://github.com/defnull/multipart/compare/v2.0.0...v2.0.1
745eb4d49c adam py-multipart: updated to 2.0.0
2.0 This release drops EOL python versions, improves error handling and includes multiple performance improvements that can result in up to 30% faster file uploads and 50% faster text field handling. * change: Dropped support for Python 3.8 and 3.9 (both EOL), added support for Python 3.14 * change: Accessing :attr:`MultipartSegment.size` before the segment is complete now raises :exc:`ParserStateError`. The new attribute :attr:`MultipartSegment.bytes_received` provides the in-progress segment body byte count previously exposed by :attr:`MultipartSegment.size`. * change: :class:`PushMultipartParser` now emits :class:`bytes` instead of :class:`bytearray` for part body chunks. Update your ``isinstance`` checks if you have any. …