Examples¶
List of examples¶
Intro¶
Getting started — introduction to the package
Plot binned images — how to plot binned images
Merge datasets — how to merge datasets
Next step¶
Plot all groups — plotting all ISBN groups
Plot all ISBNs — plotting all merged datasets
Compare dumps — comparing two ISBN code dump files
Plot cover image — how is the cover image plotted
Find unique ISBNs — finding ISBNs unique to the dataset
Calculate percentage (Python, Julia) — scripts to calculate the percentage of ISBNs
How to run notebooks?¶
Download
aa_isbn13_codes_*.benc.zstfrom the torrent toexamples/data/Update
CURRENT_DUMP_PATHinexamples/common.pyInstall extra dependencies:
$ uv sync --extra examplesSome examples require codes to be stored in HDF5 files (why?):
$ cd examples/data/ $ uv run python ../../scripts/convert-bencoded-to-h5.py \ aa_isbn13_codes...Run Jupyter Notebook in
examples:$ uv run jupyter notebook