pydol is a Python module that provides an interface for the U.S. Department of Labor API.
from pydol import DOLAPI
# Create an instance of the API
DOL = DOLAPI("d9c6c290-da4c-424e-a378-fb4bd027b58b",
# Get dataset metadata as a dictionary structure
# Multi-part dataset names are separated by a /
BLS = DOL.metadata("statistics/BLS_Numbers")
# Get table data as a list of dictionaries
UNEMPLOYMENT = DOL.table("statistics/BLS_Numbers", "unemploymentRate")
# detailed examples at docs/examples.txt
What's New in This Release: [ read full changelog ]
· Fixed mistakes in documentation.