pygov is a Python library that enables easy access to the US Government’s data APIs. Read more about the available APIs here.
Currently the only (partially) supported API is for the USDA data (specifically the Nutrient Database). Read more about the USDA NDB API.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.