BSD Ports

archivers/py-zipstream-ng 1.9.3 FreeBSD

Modern and easy to use streamable zip file generator

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
1f2f9d6241
License
LGPL3
Categories
archivers, python
Package size
41.4 KiB, 188.8 KiB installed

Description

zipstream-ng is a modern and easy to use streamable zip file generator. It can package and stream many files and folders on the fly without needing temporary files or excessive memory.

Includes the ability to calculate the total size of the stream before any data is actually added (provided no compression is used). This makes it ideal for use in web applications since the total size can be used to set the `Content-Length` header without having to generate the entire file first.

Features: * Generates zip data on the fly as it's requested. * Can calculate the total size of the resulting zip file before generation even begins. * Flexible API: Typical use cases are simple, complicated ones are possible. * Supports zipping data from files, bytes, strings, and any other iterable objects. * Threadsafe: Won't mangle data if multiple threads concurrently add/read data to/from the same stream. * Includes a clone of Python's `http.server` module with zip support added. Try `python -m zipstream.server`. * Automatically uses Zip64 extensions, but only if they are required. * No external dependencies.

In the other systems

SystemPortVersion
FreeBSDarchivers/py-zipstream-ng1.9.3
OpenBSDarchivers/py-zipstream-ng1.9.3
NetBSDarchivers/py-zipstream-ng1.9.3
DragonFlyarchivers/py-zipstream-ng1.8.0_1
HardenedBSDarchivers/py-zipstream-ng1.9.3
GhostBSDarchivers/py-zipstream-ng1.9.3

Install

Binary package:

pkg install py312-zipstream-ng

From the ports tree:

cd /usr/ports/archivers/py-zipstream-ng/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-zipstream-ng>0:archivers/py-zipstream-ng

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.9.31.9.3-1.8.0_11.9.3
FreeBSD:14:quarterly1.9.31.9.3n/a1.8.0_11.9.3
FreeBSD:15:latest1.9.31.9.3n/a1.8.0_11.9.0
FreeBSD:15:quarterly1.9.31.9.3n/an/an/a
FreeBSD:16:latest1.9.31.9.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 7

Configuration

No options to configure.

USES
python shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
zipstream_ng-1.9.3.tar.gz327296cebd055025699c0af594c76a9452cdf13f4be67ee005b6907f0d3c9c6f44ced
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
1f2f9d6241 Jesús Daniel Colmenares Oviedo archivers/py-zipstream-ng: Update to 1.9.3