The fips Module

US State FIPS codes, represented as Python dictionary

Source: https://www.nrcs.usda.gov/wps/portal/nrcs/detail/national/technical/nra/nri/results/?cid=nrcs143_013696

Can be also used from command line to create JSON array of state FIPS codes