Skip to main content

A fork of pygov focused on USDA nutritional database API

Project description

# python-usda

[![License](]( [![Python Package Format](]( [![Supported Python versions](]( [![Package status](]( [![Requirements Status](]( [![Maintainability](]( [![Code Health](]( [![Build Status](]( [![Coverage Status](]( ![GitHub last commit]( [![Gitter](]( ![Badge count](

python-usda is a fork of [pygov]( focused on [USDA's Food Composition Database API](

## Installation

pip install python-usda

## Usage

``` python
from usda.client import UsdaClient

client = UsdaClient("YOUR_API_KEY")
foods = client.list_foods(5)

for food in foods:


Abiyuch, raw
Acerola juice, raw
Acerola, (west indian cherry), raw
Acorn stew (Apache)
Agave, cooked (Southwest)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
python_usda-0.4-py3-none-any.whl (7.7 kB) Copy SHA256 hash SHA256 Wheel py3
python-usda-0.4.tar.gz (6.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page