Skip to content
On this page

Get Started

libprocess is a collection of functions for processing the metadata and images in digital libraries retrieved with libquery. The classes in libprocess inherit the classes in libquery.

Installation

sh
pip install libprocess

Usage Example

python
from libprocess import DavidRumseyMapCollection

querier = DavidRumseyMapCollection(
    metadata_dir="./metadata",
    img_dir="./imgs",
)
querier.fetch_metadata(
    queries=[
        "https://www.davidrumsey.com/luna/servlet/as/search?q=type=chart",
    ]
)
querier.process_metadata(save_path="processedMetadata.json")

More examples can be found in the API Reference.