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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0112775eaab5818dbec26422e5b00c67b52c7ea6750e9a60a438f89138ebb3b |
|
MD5 | e3b09af3e5e459e33b5a76aadfde3cce |
|
BLAKE2b-256 | 4ec4a73ee9215a62afeb3c8e6621c3aa76768d167ece36ee1266bf982ac769b1 |
Close
Hashes for aiohttp_zip_response-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9faa357ae63baf3d24a2dd80dfac45bda20d5cfac6df654f368974d0f5f8dff6 |
|
MD5 | 04caa8866e55a0e11b8a4a81b90b6f4b |
|
BLAKE2b-256 | a76e97b2d1cbf4e3790718b86fa65f6d7c105a1ec7d835ada0e020d1b294ae89 |