Skip to main content

python-usda

python-usda is a fork of pygov focused on USDA's Food Composition Database API. Browse full documentation on Read the Docs

Installation

pip install python-usda

Usage

from usda.client import UsdaClient

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

for food in foods:
    print(food.name)

Result:

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

Release files for python-usda 0.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-usda 0.4.4
File Size Uploaded
python-usda-0.4.4.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-usda 0.4.4
File Interpreter ABI Platform
python_usda-0.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 32.8 kB

Release files / python-usda-0.4.4.tar.gz

Download URL python-usda-0.4.4.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4e31d48c2e6d917f3d53af914620ad6329b1ee19cd621f446e7750bcf480a323
BLAKE2b-256 checksum
How to use checksums
64aeb1b9c480f0ba25bd48740fa7f06b18d696cca60b7cfb5dc10a3bee63ef0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / python_usda-0.4.4-py3-none-any.whl

Download URL python_usda-0.4.4-py3-none-any.whl
Size 23.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b7cd8de03fc184ae22e8cb8e1589a15f338bcec59e9186dc047a794d9c351e2
BLAKE2b-256 checksum
How to use checksums
00972aa75a2b4e9135067a6ac5ee299029d775a15f01eefd20209bd8db9a30b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release history Release notifications | RSS feed

0.4.6

2 release files

0.4.5

2 release files

This release

0.4.4 This release

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page