RepoPilot

openbq-org / openbb

Search openbq-org/openbb

GitHub

Code

How openbq-org/openbb is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Likely public API
  3. Likely public API
  4. Likely start-up file
  5. Likely start-up file
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a New Data Provider

  • Create provider directory under openbb_platform/providers/{provider_name}/
  • Implement provider interface conforming to openbb_platform/providers/__init__.py base classes
  • Register provider in extensions.json asset to enable CLI discovery

Add a New CLI Command

  • Create command class in cli/openbb_cli/ following existing controller patterns
  • Register command in obbject_registry.py to map CLI arguments to platform methods
  • Add argparse argument definition in argparse_translator.py
  • Write integration test in cli/integration/ following existing test patterns

Add a Charting Extension

  • Create extension module under openbb_platform/obbject_extensions/charting/
  • Implement chart rendering functions following openbb_platform/obbject_extensions/charting/indicators.md specification
  • Register extension in router.json for CLI and platform discovery

Scaffold a New Extension Package

  • Run cookiecutter CLI from cookiecutter/openbb_cookiecutter/ to generate project structure
  • Define hooks for pre/post-generation in cookiecutter/openbb_cookiecutter/template/hooks/
  • Reference CONTRIBUTING.md for extension packaging standards

Change the public API

Trace runtime behavior

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.

Code quality and hotspots

Largest source files

  • Branch points114 per file on average
  • Code issues0 errors, 306 warnings
  • Largest file3,889 lines
  • Hotspot load0 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions77 workflows
  • Tests1,545 test filesPytest · 0.75 test files per source file (file count, not coverage)
  • Dependency updatesCodeQL

Test folders: cli/tests · cli/integration · cli/openbb_cli/codegen

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.