BSD Ports

ai/py-openai 2.34.0_2 MidnightBSD

Python client library for the OpenAI API

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
dee1e47e52
License
mit
Categories
ai

Description

The OpenAI Python library provides convenient access to the OpenAI API from applications written in the Python language.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}openai

From mports:

cd /usr/mports/ai/py-openai && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openai>0:ai/py-openai

Dependencies

As this port's Makefile names them.

Build 3

Runtime 10

Test 11

Build dependencies 3
Run dependencies 10

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
openai-2.34.0.tar.gz759556828b4efcbb126352c2b5eb97d33ae890c92a71ab72511aefc1b7fe64aeccb07b
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
dee1e47e52 Lucas Holt ai: add new category and move AI/ML ports from misc
Create the ai category (Artificial intelligence and machine learning) and relocate 42 AI/ML ports from misc into it. - Register ai in Mk/bsd.mport.mk VALID_CATEGORIES and the top-level Makefile - Add ai/Makefile; drop the moved entries from misc/Makefile (also removes the stale linux-claude SUBDIR left over from the claude-code rename) - git mv 42 ports and set their primary CATEGORIES to ai - Rewrite misc/<port> dependency origins to ai/<port> in external dependents (devel/py-beartype, math/py-faiss, multimedia/py-torchcodec, textproc/py-tokenizers) and among the moved ports themselves - Record the origin migrations in MOVED Ports moved: chatgpt-shell-cli, claude-code, claude-code-legacy, clawhub, codex, gemini-cli, github-copilot-cli, grok-cli, lean-ctx, llama-cpp, ollama, …