Python · Type hints · Retries · CLI

NRC nuclear documents, one function call away.

A typed, validated Python client for the NRC ADAMS API. NUREGs, letters, inspection reports and Part 21 notices — searched in minutes.

$ pip install adamsnrc
from adamsnrc.main import content_search

result = content_search(
    properties_search=[("DocumentType", "ends", "NUREG")],
    single_content_search="steam generator",
    sort="DocumentDate", order="DESC",
)
for doc in result.results:
    print(doc.get("title"))

Built to be dependable

Everything you need to query ADAMS without wrestling its XML API.

🔎

Content & advanced search

Full-text and property searches with operators, date ranges and sorting.

🛡️

Type-safe & validated

Full type hints and input validation catch bad queries before they hit the network.

🔁

Retries & errors

Automatic retry with backoff and custom exception types.

⚡

High-level helpers

find_nureg, find_letters, find_recent_docs and more.

☢️

Part 21 & reactor IRs

Dedicated searches for Part 21 notices and operating reactor inspection reports.

⌨️

Command line

An adamsnrc search CLI for quick lookups from the terminal.

Quick start

Install, import, search.

# high-level helpers
from adamsnrc.abstractions import find_nureg

docs = find_nureg("steam generator")
# configure via environment
export ADAMS_TIMEOUT=60
export ADAMS_MAX_RETRIES=3
export ADAMS_LOG_LEVEL=INFO