Skip to main content
Sugra for OpenBB - 141 OpenBB data models from one Sugra key

openbb-sugra

Sugra data provider extension for the OpenBB Platform.

PyPI Python License OpenBB

One Sugra API key. 141 OpenBB data models. One provider.


One Sugra API key. 141 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, futures, 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 141 OpenBB standard data models across fourteen command groups - equity, economy, Fama-French, ETF, currency, fixed income, index, CFTC, commodity, crypto, news, US Congress, regulators, 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.


Sugra Systems, Inc.  ·  sugra.ai

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openbb_sugra-0.2.1.tar.gz (136.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openbb_sugra-0.2.1-py3-none-any.whl (255.6 kB view details)

Uploaded Python 3

File details

Details for the file openbb_sugra-0.2.1.tar.gz.

File metadata

  • Download URL: openbb_sugra-0.2.1.tar.gz
  • Upload date:
  • Size: 136.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openbb_sugra-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8dc10a365c35e9bf8dec9f8685f9fb7f9a79049e3de89406e41d66032f54b255
MD5 3eb96572b55653edeb92318a1dfb0311
BLAKE2b-256 14183a6024629d8fefde4411fecdfe74b442b5a479abc06ef5c967b887d3d8c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for openbb_sugra-0.2.1.tar.gz:

Publisher: publish-pypi.yml on Sugra-Systems/openbb-sugra

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openbb_sugra-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: openbb_sugra-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 255.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openbb_sugra-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a52718a07cf01e7ad68a7e51effc9b7302e514f73cdff5ff21a90a9c5cffdf6
MD5 30dcec10511bde961f17de572854e5f4
BLAKE2b-256 088bf8b906182ce41089e12d26c34400dfd0142372e80bfd1e3d8d98be7d7e5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for openbb_sugra-0.2.1-py3-none-any.whl:

Publisher: publish-pypi.yml on Sugra-Systems/openbb-sugra

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page