Skip to main content

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

Sugra for OpenBB - 73 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. 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.


Sugra Systems, Inc.  ·  sugra.ai

Project details


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.1.1.tar.gz (53.1 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.1.1-py3-none-any.whl (114.1 kB view details)

Uploaded Python 3

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

Hashes for openbb_sugra-0.1.1.tar.gz
Algorithm Hash digest
SHA256 079744a85872edfa4c3786b12a896753f58a84ed990863c106eb29f7ec882c60
MD5 bf08cf537f4e9bef60e7820560459e6d
BLAKE2b-256 9380b44b6bdbb58d6a1f8099c4be885d1779e5b413909e6a6778d7bd1d82a8d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for openbb_sugra-0.1.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.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

Hashes for openbb_sugra-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9f332b07ff2976e5bfbeebb277180c282a36c742a919cf4ac71910dccdade682
MD5 fd95edf07c3d8d687bd80a9d0e4fbf46
BLAKE2b-256 257595c07d247e7dc968d1e7f9eb911cce82b7965e957c9d1f6196f2614f3902

See more details on using hashes here.

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

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 Pingdom Monitoring Sentry Error logging StatusPage Status page