View live: https://observablehq.observablehq.cloud/framework-example-loader-python-to-zip/
This Observable Framework example demonstrates how to write a Python data loader that outputs a ZIP file. The data loader accesses USGS earthquake data, then returns metadata as a JSON and earthquake records as a CSV in the ZIP archive. The data loader lives in src/data/earthquakes.zip.py
.