Sugra data provider extension for the OpenBB Platform - one key across markets, fundamentals, macro, rates, crypto, currencies, news, ETFs, indices, and maritime data.
Project description
openbb-sugra
Sugra data provider extension for the OpenBB Platform.
One Sugra API key. 73 OpenBB data models. One provider.
One Sugra API key. 73 OpenBB data models. One provider.
Wire in one credential and pull equities and fundamentals, estimates, ownership, calendars, options, crypto, currencies, news, macro and rates, treasuries, ETFs and indices, commodities, and maritime data - the breadth that otherwise needs many separate provider keys. Every model is live-verified against the Sugra API and through the OpenBB obb.* layer.
1. Install
pip install openbb-sugra
The provider auto-registers with OpenBB through the openbb_provider_extension entry point. After install, import openbb rebuilds the static package and the sugra provider becomes available.
2. Get a key
Get a Sugra API key at sugra.ai, then set it once:
export OPENBB_SUGRA_API_KEY="your_key"
or add it to ~/.openbb_platform/user_settings.json:
{ "credentials": { "sugra_api_key": "your_key" } }
The key is sent as the x-api-key request header. Volume-only pricing, commercial use permitted on every tier.
3. Use
from openbb import obb
obb.equity.price.historical("AAPL", provider="sugra")
obb.economy.fred_series("GDP", provider="sugra")
obb.crypto.price.historical("BITCOIN", provider="sugra")
4. Coverage
A single Sugra key fulfils 73 OpenBB standard data models across eleven command groups - equity, economy, ETF, currency, fixed income, index, CFTC, commodity, crypto, news, and derivatives. The full matrix is generated from the shipped fetchers - see COVERAGE.md.
5. License
AGPL-3.0-only. This package links the AGPL-3.0 openbb-core library. The Sugra API itself is a separate hosted service reached over HTTPS. See LICENSE.
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
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
File details
Details for the file openbb_sugra-0.1.1.tar.gz.
File metadata
- Download URL: openbb_sugra-0.1.1.tar.gz
- Upload date:
- Size: 53.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
079744a85872edfa4c3786b12a896753f58a84ed990863c106eb29f7ec882c60
|
|
| MD5 |
bf08cf537f4e9bef60e7820560459e6d
|
|
| BLAKE2b-256 |
9380b44b6bdbb58d6a1f8099c4be885d1779e5b413909e6a6778d7bd1d82a8d6
|
Provenance
The following attestation bundles were made for openbb_sugra-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on Sugra-Systems/openbb-sugra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openbb_sugra-0.1.1.tar.gz -
Subject digest:
079744a85872edfa4c3786b12a896753f58a84ed990863c106eb29f7ec882c60 - Sigstore transparency entry: 1929193428
- Sigstore integration time:
-
Permalink:
Sugra-Systems/openbb-sugra@fdfe8d1778be5a37dcf91c07002eb7a98cdfc7e2 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Sugra-Systems
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@fdfe8d1778be5a37dcf91c07002eb7a98cdfc7e2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openbb_sugra-0.1.1-py3-none-any.whl.
File metadata
- Download URL: openbb_sugra-0.1.1-py3-none-any.whl
- Upload date:
- Size: 114.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f332b07ff2976e5bfbeebb277180c282a36c742a919cf4ac71910dccdade682
|
|
| MD5 |
fd95edf07c3d8d687bd80a9d0e4fbf46
|
|
| BLAKE2b-256 |
257595c07d247e7dc968d1e7f9eb911cce82b7965e957c9d1f6196f2614f3902
|
Provenance
The following attestation bundles were made for openbb_sugra-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on Sugra-Systems/openbb-sugra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openbb_sugra-0.1.1-py3-none-any.whl -
Subject digest:
9f332b07ff2976e5bfbeebb277180c282a36c742a919cf4ac71910dccdade682 - Sigstore transparency entry: 1929193749
- Sigstore integration time:
-
Permalink:
Sugra-Systems/openbb-sugra@fdfe8d1778be5a37dcf91c07002eb7a98cdfc7e2 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Sugra-Systems
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@fdfe8d1778be5a37dcf91c07002eb7a98cdfc7e2 -
Trigger Event:
push
-
Statement type: