Reporters Database

raw JSON →
3.2.64 verified Sat May 09 auth: no python

A database of court reporters for legal research, providing abbreviations and full names for federal and state reporters. Current version 3.2.64, released regularly.

pip install reporters-db
error AttributeError: module 'reporters_db' has no attribute 'REPORTERS'
cause Importing the wrong module or incorrect package name.
fix
Install with 'pip install reporters-db' and import using 'from reporters_db import REPORTERS'
error TypeError: list indices must be integers or slices, not str
cause Trying to access REPORTERS as a dict (e.g., REPORTERS['F.2d']).
fix
REPORTERS is a list; use a dict comprehension: reporter_dict = {r['abbreviation']: r for r in REPORTERS}
gotcha The REPORTERS variable is a list, not a dict. Access elements by index or iterate.
fix Use REPORTERS[0] or for reporter in REPORTERS:
breaking In version 3.x, REPORTERS is a list of dicts; in older versions it may have been a dict.
fix Update your code to iterate over a list instead of accessing keys.
deprecated Some functions like get_reporter_by_abbreviation() are deprecated in favor of direct dict lookups.
fix Use a dict comprehension: {r['abbreviation']: r for r in REPORTERS}

Import the REPORTERS constant, which is a list of dictionaries.

from reporters_db import REPORTERS

# Print all reporters
print(REPORTERS[:5])