A AIOHTTP response class streaming a directory as ZIP archive
Project description
AIOHTTP ZIP Response
A AIOHTTP response class streaming a directory as ZIP archive.
Installation
pip install aiohttp-zip-response
Usage
from aiohttp import web
from aiohttp_zip_response import ZipResponse
async def handle_zip(request):
return ZipResponse('path/to/directory')
app = web.Application()
app.router.add_get('/zip', handle_zip)
web.run_app(app)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aiohttp_zip_response-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7021fd71761f8bd1f9f5fae5f5740cfee5dc1c10a2e2ded33190d1ce95d0bfd4 |
|
MD5 | f1d1e5545311f63f429d518635b904fc |
|
BLAKE2b-256 | 2344ae9728ad482bd34adeec0d925535a16da692539687cf2a01bbc6f2939d49 |
Close
Hashes for aiohttp_zip_response-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c77e5dc3025870ebf1785cdc9590bd2c050b169492c72f3e19e894593c2902d |
|
MD5 | 7e27db48e82e985b58cb62a30ca1f8a8 |
|
BLAKE2b-256 | cfbe0069f26797fb4cb07c0c844a9252fde0647e436e4a994d34e8e5189bc484 |