Skip to main content

Extensions template for the OpenBB Python Package.

Project description

OpenBB ODP Extensions Cookiecutter

Cookiecutter is a command-line utility that creates projects from templates.

This extension is a simple template for setting up new OpenBB Python Package extensions and projects.

Template Structure

The Cookiecutter template prompts the user for information to use in the pyproject.toml file, and then generates a project based on that information. All fields are optional.

  • Your Name
  • Your Email
  • Project Name
  • Project Tag (some-distributable-package)
  • Package Name ("include" code folder name - "some_package")
  • Provider Name - name of the provider for the entry point - i.e, 'fmp'
  • Router Name - name of the router path - i.e. obb.{some_package}
  • OBBject Name - name of the OBBject accessor namespace.

The template will generate all extension types as a single, installable Python project. You likely won't always use all in tandem, just delete the unwanted folders and entrypoints.

Usage

  1. Install in a Python environment from PyPI with:
pip install openbb-cookiecutter

Alternatively, with uvx:

uvx openbb-cookiecutter
  1. Navigate the current working directory to the desired output location and run:
openbb-cookiecutter

Enter values or press enter to continue with the default.

  1. Create a new Python environment for the project.

  2. Navigate into the generated folder and install with:

pip install -e .
  1. Python static files will be generated on first import, or trigger with openbb-build.

  2. Import the Python package or start the API and use like any other OpenBB application.

  3. Modify the business logic and get started building!

See the developer documentation here.

Contributing

We welcome contributions to this template! Please feel free to open an issue or submit a pull request with your improvements.

Contacts

If you have any questions about the cookiecutter or anything OpenBB, feel free to email us at support@openbb.co

If you want to say hi, or are interested in partnering with us, feel free to reach us at hello@openbb.co

Any of our social media platforms: openbb.co/links

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_cookiecutter-0.6.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openbb_cookiecutter-0.6.0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file openbb_cookiecutter-0.6.0.tar.gz.

File metadata

  • Download URL: openbb_cookiecutter-0.6.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.13.11 Darwin/25.4.0

File hashes

Hashes for openbb_cookiecutter-0.6.0.tar.gz
Algorithm Hash digest
SHA256 de85781c31fe1420c5ee3c801f7781e665d2fa781f39efd10772cb1262f9e472
MD5 82bb8bdc547c37dff232ec8a3f8f8c10
BLAKE2b-256 ae24a5b11bf2909d6a61b73cd606c54abcc19c35ee3bf8cb3f117515eecf00d5

See more details on using hashes here.

File details

Details for the file openbb_cookiecutter-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openbb_cookiecutter-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9272c82f02e8f1082cad348071d741ac065c45e2f55f20d9d204228f3f20f834
MD5 cfac09d971297da628b030459a87577a
BLAKE2b-256 be86c12e39bc5119acdf4755a84ad040d16940d4f6eb46cf3b9b04ddd74eb239

See more details on using hashes here.

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