openbb-government-us
US Government Data Extension for OpenBB
Decision gist · record as of 2026-08-14
Yes, if you are already using OpenBB and need US Government commodity or Treasury data. The low install friction, active maintenance, and zero known vulnerabilities make it a safe addition. AGPL-3.0 licensing requires that any derivative work be open-source; if your project is proprietary, verify licensing compatibility first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; openbb-core must be installed and configured first.
- Low install friction with a pure-Python wheel.
- Actively maintained as of 80 days ago.
License · maintenance · safety
AGPL-3.0-only (agpl) — Licensed under AGPL-3.0-only. Any derivative work or modification must be distributed under the same license; proprietary use requires explicit permission or a separate commercial license.
last release 2026-05-26 (80 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 77,450 downloads/mo, #14,521 on PyPI
Alternatives
Verify before relying
pip install openbb-government-us
from openbb import obb
# Access commodity PSD data
data = obb.commodity.psd_data()
# Access treasury auction data
auctions = obb.fixed_income.government.treasury_auctions()- Whether openbb-core is freely available or requires registration/API keys for the government endpoints
- Data freshness and update frequency for commodity and treasury endpoints
- Whether all six covered endpoints are fully functional in version 1.6.1
What it is and what it does
This package is an extension for the OpenBB Platform that adds access to US Government data sources. It bridges OpenBB's unified API layer to commodity data (USDA PSD reports and weather bulletins) and fixed-income data (Treasury auctions and prices) from data.gov, all without requiring registration.
The extension works by registering six new endpoints within the OpenBB namespace, allowing developers to fetch government datasets through the same interface they use for other OpenBB providers. It depends on openbb-core for the platform framework and random-user-agent to handle HTTP requests to government sources.
Use it for
- Fetch USDA commodity production and supply data for agricultural market analysis
- Retrieve weather bulletins for crop forecasting and commodity trading
- Access Treasury auction results and historical pricing for fixed-income analysis
- Build a unified financial data pipeline that combines government and commercial sources via OpenBB
- Backtest trading strategies using government commodity and treasury data
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using OpenBB and need US Government commodity or Treasury data.
The low install friction, active maintenance, and zero known vulnerabilities make it a safe addition. AGPL-3.0 licensing requires that any derivative work be open-source; if your project is proprietary, verify licensing compatibility first.
Install
openbb-government-us on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of 80 days ago. Depends on openbb-core and random-user-agent, both standard runtime dependencies.
Requires Python 3.10 or later; openbb-core must be installed and configured first.
License in practice
Licensed under AGPL-3.0-only. Any derivative work or modification must be distributed under the same license; proprietary use requires explicit permission or a separate commercial license.
Quickstart
pip install openbb-government-us
from openbb import obb
# Access commodity PSD data
data = obb.commodity.psd_data()
# Access treasury auction data
auctions = obb.fixed_income.government.treasury_auctions()
Verify before relying
- Whether openbb-core is freely available or requires registration/API keys for the government endpoints
- Data freshness and update frequency for commodity and treasury endpoints
- Whether all six covered endpoints are fully functional in version 1.6.1
Package facts
| License | AGPL-3.0-only agpl |
| Python support | Supports the current Python release <4,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesopenbb-corerandom-user-agent |
| Maintenance | Actively maintained 80 days since the last release |
| First released | |
| Downloads | 77,450 / month, #14,521 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: GNU Affero General Public License v3Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: openbb_government_us-1.6.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “US government data provider”
- openbb-government-usIntegrates US Government data sources (commodity reports, weather,…
- random-addressGenerates random real US addresses with coordinates from…
- holidaysGenerates country- and subdivision-specific government holiday…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also openbb-fixedincome · openbb-econdb · openbb-oecd · openbb-tradingeconomics · openbb-benzinga · openbb-congress-gov · openbb-tiingo · openbb-commodity · openbb-fred · openbb-bls