Date: Fri, 28 Apr 2023 11:38:33 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270750] [NEW PORT] archivers/py-zipstream-ng: Modern and easy to use streamable zip file generator Message-ID: <bug-270750-7788-q0s9qSKjZw@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-270750-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-270750-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270750 Jes=C3=BAs Daniel Colmenares Oviedo <DtxdF@disroot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #241406|0 |1 is obsolete| | Attachment #241819| |maintainer-approval+ Flags| | --- Comment #1 from Jes=C3=BAs Daniel Colmenares Oviedo <DtxdF@disroot.org>= --- Created attachment 241819 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D241819&action= =3Dedit py-zipstream-ng.1.5.0.patch 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 possibl= e. * 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. www: https://github.com/pR0Ps/zipstream-ng/ QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 13.1-RELEASE, amd64) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270750-7788-q0s9qSKjZw>