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.


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.0.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.0-py3-none-any.whl (114.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openbb_sugra-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 3f6d24ab74044e4271398eb8f9b848a38ab24a977427d5554387ad9b2d4f7dbd
MD5 acb0334d170eee94fad6baa5069b579a
BLAKE2b-256 c87dc208594349e2e9f58eeb79f4cc6735feb120f2f689b4cacbfa43273686f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for openbb_sugra-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: openbb_sugra-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0628a353faf6a6402354d9462f84bc3a0cc5ae11b06ad939066ea35b52c649a
MD5 399e4792f002dcebbc3961b5a384d84a
BLAKE2b-256 f082d869caef695a34e489fa3dddbb31a16fdd9cb467d4218d09f41baf68c74c

See more details on using hashes here.

Provenance

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