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
| System | Port | Version |
|---|---|---|
| FreeBSD | archivers/py-zipstream-ng | 1.9.3 |
| OpenBSD | archivers/py-zipstream-ng | 1.9.3 |
| NetBSD | archivers/py-zipstream-ng | 1.9.3 |
| DragonFly | archivers/py-zipstream-ng | 1.8.0_1 |
| HardenedBSD | archivers/py-zipstream-ng | 1.9.3 |
| GhostBSD | archivers/py-zipstream-ng | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.9.3 | 1.9.3 | - | 1.8.0_1 | 1.9.3 |
| FreeBSD:14:quarterly | 1.9.3 | 1.9.3 | n/a | 1.8.0_1 | 1.9.3 |
| FreeBSD:15:latest | 1.9.3 | 1.9.3 | n/a | 1.8.0_1 | 1.9.0 |
| FreeBSD:15:quarterly | 1.9.3 | 1.9.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.9.3 | 1.9.3 | 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}hatchling>=0: devel/py-hatchling
Test 1
${PYTHON_PKGNAMEPREFIX}pytest-cov>0: devel/py-pytest-cov
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 7
Configuration
No options to configure.
- USES
- python shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| zipstream_ng-1.9.3.tar.gz | 32729 | 6cebd055025699c0af594c76a9452cdf13f4be67ee005b6907f0d3c9c6f44ced |
Master sites 1
- PYPI