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)

Metadata

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 Provenance Actions
python-usda-0.4.4.tar.gz 9.2 kB Without provenance Details for python-usda-0.4.4.tar.gz

Built distribution (wheel)

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

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

Security for python-usda 0.4.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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