Python library for interacting with the TIND ILS API.
- Python 3.13+
pip install python-tind-clientInstall with optional development dependencies:
pip install "python-tind-client[dev]" # test + lint + debug
pip install "python-tind-client[test]" # pytest + requests-mock
pip install "python-tind-client[lint]" # mypy + pydoclint + pylint
pip install "python-tind-client[debug]" # debugpyCreate a TINDClient with explicit configuration values:
api_key(required): Your TIND API tokenapi_url(required): Base URL of the TIND instance (e.g.https://tind.example.edu)default_storage_dir(optional): Default output directory for downloaded files
from tind_client import TINDClient
client = TINDClient(
api_key="your-token",
api_url="https://tind.example.edu",
default_storage_dir="/tmp",
)record = client.fetch_metadata("12345")
print(record["245"]["a"]) # titlemetadata = client.fetch_file_metadata("12345")
print(metadata[0]) # first file metadata dict
print(metadata[0]["url"]) # file download URL# use metadata from previous example
path_to_download = client.fetch_file(metadata[0].url)The functions in tind_client.fetch are available for direct use and now accept
explicit credentials instead of a client object.
from tind_client.fetch import fetch_metadata
record = fetch_metadata(
"12345",
api_key="your-token",
api_url="https://tind.example.edu",
)For most use cases, prefer TINDClient methods as the primary interface.
pytestMIT — © 2026 The Regents of the University of California