Files
OpenBB/openbb_platform/core
Danglewood 3160a84ad0 [Release] openbb-core: Pin Version of FastAPI to 0.136.3 (#7531)
* bump minimum version of fastapi to get starlette > 1

* fix test fixture broken by newer version of vitest

* another round of lock file syncs

* need to pin fastapi until breaking changes in 0.137 can be dealt with

* relock cli

* cli needs to run openbb-build before running test suite

* wrong solution, cli needs fastapi pin until handled. revert nox
2026-06-24 15:27:50 +00:00
..
2025-12-05 03:10:57 +00:00

Open Data Platform by OpenBB

Open Data Platform by OpenBB (ODP) is the open-source toolset that helps data engineers integrate proprietary, licensed, and public data sources into downstream applications like AI copilots and research dashboards.

ODP operates as the "connect once, consume everywhere" infrastructure layer that consolidates and exposes data to multiple surfaces at once: Python environments for quants, OpenBB Workspace and Excel for analysts, MCP servers for AI agents, and REST APIs for other applications.

Overview

The Core extension is used as the basis for building and integrating Open Data Platform Python packages. It provides the necessary classes and structures for standardizing and handling data. It is also responsible for generating a REST API and Python package static assets, which operate independently and interface with various consumption vehicles.

Typically, this library will be used as a project dependency, and extended.

Go to the documentation for information on getting started.

Prerequisites

  • Python >=3.10,<3.14
  • Familiarity with FastAPI and Pydantic.

Installation

Installing through pip:

pip install openbb-core

Note that, the openbb-core is an infrastructural component of the OpenBB Platform. It is not intended to be used as a standalone package.

Build

Build the Python application, with installed extensions, by running:

openbb-build

Key Features

  • Standardized Data Model (Data Class): A flexible and dynamic Pydantic model capable of handling various data structures.
  • Standardized Query Params (QueryParams Class): A Pydantic model for handling querying to different providers.
  • Dynamic Field Support: Enables handling of undefined fields, providing versatility in data processing.
  • Robust Data Validation: Utilizes Pydantic's validation features to ensure data integrity.
  • API Routing Mechanism (Router Class): Simplifies the process of defining API routes and endpoints - out of the box Python and Web endpoints.

Bugs

Report bugs on Github by opening a new issue, or commenting on an already open one, with all the details.

License

This project is licensed under the AGPL-3.0 License - see the LICENSE.md file for details.