Install and set up
bibliofabric is one Python package with one client per scholarly metadata API, among them OpenAlex, Crossref, DataCite, ORCID, and Zenodo. You install the package once and import the client for each API you need.
Install the package
You need Python 3.12 or newer. Install from PyPI with uv:
uv add bibliofabric
Or with pip:
pip install bibliofabric
The package ships every client, so there is nothing extra to install per API.
It pulls in four libraries: httpx for HTTP, pydantic and
pydantic-settings for the result models and settings, and tenacity for
the retries.
Check the install
Run this check:
from importlib.metadata import version
print(version("bibliofabric"))
0.9.1
The printed number is the version you have installed; it may be newer than the one shown here.
Types and models
The package ships a py.typed marker, so mypy, pyright, and your editor see
the type of every client, method, and result model. Calls return typed
models, for example Author or Work, and every search returns a typed
Page. See Page through results and
Typed results for what the models carry.
Where to go next
Pick a client under Clients in the navigation and follow its quick start, for example OpenAlex or Crossref. To call an API that needs a key, read Settings and credentials first.