
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
⚠️ Since October 1, 2019, the APIs this package relies on have been
deprecated. python-usda 1.x will remove those APIs and rely on the new
Food Data Central
_ APIs.
python-usda is a fork of pygov
_ focused on
USDA's Food Composition Database API <usda>
.
Have a look at the documentation
!
::
pip install python-usda
.. code:: python
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)
.. _Food Data Central: https://fdc.nal.usda.gov/api-guide.html .. _pygov: https://pypi.org/project/pygov/ .. _usda: http://ndb.nal.usda.gov/ndb/doc/ .. _documentation: https://lucidiot.gitlab.io/python-usda/
FAQs
A fork of pygov focused on USDA nutritional database API
We found that python-usda demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.