Metadata-Version: 2.1
Name: aiohttp-zip-response
Version: 1.0.0
Summary: A AIOHTTP response class streaming a directory as ZIP archive
Home-page: https://github.com/DoctorJohn/aiohttp-zip-response
License: MIT
Author: Jonathan Ehwald
Author-email: github@ehwald.info
Requires-Python: >=3.9,<4.0
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Dist: aiohttp (>=3.9.5,<4.0.0)
Requires-Dist: stream-zip (>=0.0.71,<0.0.72)
Project-URL: Documentation, https://github.com/DoctorJohn/aiohttp-zip-response
Project-URL: Repository, https://github.com/DoctorJohn/aiohttp-zip-response
Description-Content-Type: text/markdown

# AIOHTTP ZIP Response

A AIOHTTP response class streaming a directory as ZIP archive.

## Installation

```bash
pip install aiohttp-zip-response
```

## Usage

```python
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)
```

