git: 0ad859b76f01 - main - finance/py-openbb-cli: New port: OpenBB: Command Line Interface for the OpenBB Platform

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 10 Oct 2026 16:28:10 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0ad859b76f016540351ce14e7bc95005b4306ed8

commit 0ad859b76f016540351ce14e7bc95005b4306ed8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-10 08:33:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-10 16:28:02 +0000

    finance/py-openbb-cli: New port: OpenBB: Command Line Interface for the OpenBB Platform
    
    PR:             299041
    Approved by:    Baptiste Daroussin <bapt@FreeBSD.org> (on behalf of portmgr@)
---
 finance/Makefile                |  1 +
 finance/py-openbb-cli/Makefile  | 29 +++++++++++++++++++++++++++++
 finance/py-openbb-cli/distinfo  |  3 +++
 finance/py-openbb-cli/pkg-descr | 12 ++++++++++++
 4 files changed, 45 insertions(+)

diff --git a/finance/Makefile b/finance/Makefile
index 7d87c2bef7eb..7ba9a05729f7 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -132,6 +132,7 @@
     SUBDIR += py-openbb-cboe
     SUBDIR += py-openbb-cftc
     SUBDIR += py-openbb-charting
+    SUBDIR += py-openbb-cli
     SUBDIR += py-openbb-commodity
     SUBDIR += py-openbb-congress-gov
     SUBDIR += py-openbb-core
diff --git a/finance/py-openbb-cli/Makefile b/finance/py-openbb-cli/Makefile
new file mode 100644
index 000000000000..5c5fd02d1d3f
--- /dev/null
+++ b/finance/py-openbb-cli/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	openbb-cli
+DISTVERSION=	2.0.1
+CATEGORIES=	finance python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/g}-${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	OpenBB: Command Line Interface for the OpenBB Platform
+WWW=		https://github.com/openbq-org/OpenBB
+
+LICENSE=	AGPLv3
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0.28.0:www/py-httpx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openbb-core>=2.0.1:finance/py-openbb-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openpyxl>=3.1.5:textproc/py-openpyxl@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}prompt-toolkit>=3.0.50:devel/py-prompt-toolkit@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-dotenv>=1.0.1:www/py-python-dotenv@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rich>=14.0.0:textproc/py-rich@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tomli>=2.0.0:textproc/py-tomli@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/finance/py-openbb-cli/distinfo b/finance/py-openbb-cli/distinfo
new file mode 100644
index 000000000000..a84c80aff748
--- /dev/null
+++ b/finance/py-openbb-cli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1790695113
+SHA256 (openbb_cli-2.0.1.tar.gz) = 7336249bb2972decd1e7f8fbab2850c8d21de485871e38475e1109572cede202
+SIZE (openbb_cli-2.0.1.tar.gz) = 372273
diff --git a/finance/py-openbb-cli/pkg-descr b/finance/py-openbb-cli/pkg-descr
new file mode 100644
index 000000000000..99bc4efa8540
--- /dev/null
+++ b/finance/py-openbb-cli/pkg-descr
@@ -0,0 +1,12 @@
+OpenBB: Command Line Interface for the OpenBB Platform.
+
+The openbb-cli package provides the interactive command-line interface
+(CLI) client for the OpenBB Platform. It serves as an open-source data
+router and investment research terminal, offering structured access to
+multiple financial data providers under a single interface.
+
+Features include:
+- Standard single command mode for automation, scripts, and CI jobs.
+- Batch processing mode reading NDJSON requests from standard input.
+- Interactive REPL environment with tab-completion and custom menus.
+- Support for local environments as well as remote OpenAPI servers.