Skip to content

Downloader

oldvis_dataset is a Python package that downloads the processed OldVis catalog (see Dataset) and can fetch the corresponding image files. Use it when you want that data on your machine rather than only in the gallery.

You need Python 3 and pip.

Installation

bash
pip install oldvis_dataset

Download the catalog

python
from oldvis_dataset import visualizations

visualizations.download(path="./visualizations.json")

You now have visualizations.json: a list of metadata entries. Field names and an example record are on the Dataset page.

Download images

fetch_images reads download URLs from that JSON file and saves the files locally. This can take a long time.

python
from oldvis_dataset import fetch_images

fetch_images(metadata_path="./visualizations.json", img_dir="./images/")

OldVis does not hold copyright to those images. See the notice on What is the OldVis project.

You can also load metadata in memory without writing a file, download author metadata, and export BibTeX. The full API and further examples are in the oldvis_dataset repository.