Interface for accessing USDA's FDC API
Project description
pyUsda
pyUsda provides an interface for interacting with USDA's Food Data Central API .
Installation
pip install pyUsda
Usage
from pyUsda.client import UsdaClient
client = UsdaClient("YOUR_API_KEY")
foods = client.list_foods(page_size=5)
for food in foods:
print(food)
Result:
Abiyuch, raw
Acerola juice, raw
Acerola, (west indian cherry), raw
Acorn stew (Apache)
Agave, cooked (Southwest)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyUsda-1.0.3.tar.gz
(26.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyUsda-1.0.3-py3-none-any.whl
(27.5 kB
view details)
File details
Details for the file pyUsda-1.0.3.tar.gz.
File metadata
- Download URL: pyUsda-1.0.3.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88778b99b34b730e9b35aec3224ac62df4934e24644dc1bf48253252c48319b1
|
|
| MD5 |
05f758231c24c41ce5a80f74f2466d81
|
|
| BLAKE2b-256 |
6399a3450a5f28311da28f8f21786ecf3b2549ede1ea28d6aad30ace8ca2c681
|
File details
Details for the file pyUsda-1.0.3-py3-none-any.whl.
File metadata
- Download URL: pyUsda-1.0.3-py3-none-any.whl
- Upload date:
- Size: 27.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa8eeeb7beaac1107fcbc5327070f0fc0995da22a0466f4b63f5dcc823a26341
|
|
| MD5 |
e9f242e71aea8a9907b0230bc1b58378
|
|
| BLAKE2b-256 |
8b7e3ea0f4e7664208e5ea2a305f380a33a41db6550303f570f29b3e41e8aca8
|