Files
OpenBB/cookiecutter
dlee-bq f9b667816a fix(deps): resolve Dependabot security alerts (#7838)
* fix(deps): bump tornado, opentelemetry-api, soupsieve, dnspython, joserfc in uv.lock files

- tornado 6.5.10 -> 6.6.1
- opentelemetry-api 1.45.1 -> 1.45.2
- soupsieve 3.0.3 -> 4.1 (Python >= 3.11.5)
- dnspython 2.9.0 -> 2.9.2
- joserfc 1.7.5 -> 1.7.6

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

* fix(desktop): bump glob, minimatch, seroval

- glob 13.0.6 -> 14.0.6
- minimatch 10.2.6 -> 11.0.8
- seroval 1.6.9 -> 1.8.1
- raise the package.json floors to the patched versions

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

* fix(desktop): bump zip to 9.5.1 via tauri-cli and tauri-plugin-updater

- tauri-cli 2.12.2 -> 2.12.4
- tauri-plugin-updater 2.14.0 -> 2.14.1
- zip 2.4.2, 4.6.1, 8.6.0 -> 9.5.1

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

* fix(deps): raise requires-python to >=3.11.5

- soupsieve 3.x and 4.x need Python >= 3.11.5; the 2.10 fork stayed vulnerable for 3.11.0-3.11.4
- 39 pyproject.toml files (38 projects + cookiecutter template)
- relock all 38 uv.lock files: soupsieve 2.10 fork gone, tomli and async-timeout dropped

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>

---------

Signed-off-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
Co-authored-by: dlee-bq <325002271+dlee-bq@users.noreply.github.com>
2026-11-28 20:39:03 +00:00
..
2026-09-29 14:45:53 +00:00

OpenBB Extensions Cookiecutter

A Cookiecutter template that generates a new OpenBB Platform extension as an installable Python project.

Extension types

Choose one or more types, or all:

Type Generates
router Commands under obb.<router_name>
provider A data provider with an example model and an EquityHistorical standard-model implementation
charting Chart views for the router's commands, used with openbb-charting
obbject Accessors added to every command result
on_command_output A plugin that runs after a command returns

The generated project follows the same conventions as the extensions in this repository: hatchling packaging, entry points in [project.entry-points], a dev dependency group, ruff and ty configuration in pyproject.toml, and tests for every generated module.

Usage

Run it with uv without installing:

uvx openbb-cookiecutter

Or install it and run the command:

pip install openbb-cookiecutter
openbb-cookiecutter

Enter a value at each prompt or press enter to accept the default. Pass the types directly to skip that prompt:

openbb-cookiecutter -e router provider

Generate without prompts, into another directory:

openbb-cookiecutter --no-input -o ./extensions -e all

Override any template value with --extra-context KEY=VALUE, for example --extra-context provider_name=my_source.

The provider and the OBBject extension each register a credentials namespace under their name, so they need different names.

Working on the generated project

The generated README.md covers setup. In short, from the project directory:

uv sync
uv run openbb-build
uv run pytest

Developing the template

From this directory:

uv sync
uv run pytest

The tests generate a project for each extension type and check its files, its entry points, and that it passes ruff and ty.

Contacts

Questions about the template or OpenBB: support@openbb.co. Partnerships: hello@openbb.co. Social links: openbb.co/links.