CoolFace
Datasetpublic

sayshara/openlibrary

📚 OpenLibrary Parquet Mirror An up‑to‑date, stream‑ready mirror of the official OpenLibrary public data dumps, converted to snappy‑compressed Parquet. Source: https://openlibrary.org/developers/dumps 💾 Repository organization openlibrary/ ├── authors/ # authors_0.parquet, authors_1.parquet, … (≈ 1-2 GB each) ├── editions/ # editions_0.parquet, editions_1.parquet, … └── works/ # works_0.parquet, works_1.parquet, … 🏃 Quick start… See the full description on the dataset page: https://huggingface.co/datasets/sayshara/openlibrary.

sourceHugging Facecc0-1.0updated 1y agoView on Hugging Face
0likes413downloads
Dataset Card

📚 OpenLibrary Parquet Mirror

An up‑to‑date, stream‑ready mirror of the official OpenLibrary public data dumps, converted to snappy‑compressed Parquet.

Source: https://openlibrary.org/developers/dumps

💾 Repository organization

openlibrary/
├── authors/   # authors_0.parquet, authors_1.parquet, … (≈ 1-2 GB each)
├── editions/  # editions_0.parquet, editions_1.parquet, …
└── works/     # works_0.parquet, works_1.parquet, …

🏃 Quick start

python
from datasets import load_dataset

# stream authors only
authors = load_dataset("sayshara/openlibrary", "authors", split="train", streaming=True)
for i, rec in enumerate(authors):
    if i == 5:
        break
    print(rec["name"], rec.get("birth_date"))

📝 Schema notes

  • —Missing columns for a given record are stored as NULL.
  • —Top‑level JSON objects from the dump are flattened; nested structures are preserved as JSON‑encoded strings.
  • —The raw JSON produced by OpenLibrary loosely follows per‑entity schemata maintained in the `openlibrary‑client` repo:
Field exampleTypeNotes
keystringe.g. /authors/OL23919A
latest_revisiondoublerevision id (via OL)
birth_datestringfree‑text date
remote_idsstringJSON string of {"wikidata": "Q42"}

📜 License

OpenLibrary dedicates its catalog data to the public domain under the CC0 1.0 Universal (Public‑Domain Dedication) license. 

For more information, see: https://openlibrary.org/help/faq/using

Because this Parquet mirror is a direct transformation of that catalog, all files in this dataset are likewise released under CC0 1.0. You may copy, modify, redistribute, and use them for any purpose without permission or attribution. (Attribution to OpenLibrary/Internet Archive is appreciated but not legally required.)


Maintainer • @sayshara