BSD Ports

ai/py-llm 0.31_1 MidnightBSD

Interact with Large Language Models by API, or locally

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
dee1e47e52
License
Apache-2.0
Categories
ai, python

Description

A CLI utility and Python library for interacting with Large Language Models, including OpenAI, PaLM and local models installed on your own machine.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}llm

From mports:

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

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

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

Dependencies

As this port's Makefile names them.

Build 2

Runtime 10

Build dependencies 2
Run dependencies 10

No port depends on this one.

Configuration

Options name: ai_llm

OptionDefaultDescription
DOCSoff
USES
python shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
llm-0.31.tar.gz86505c7701408fdc53cbdf1db6a43f35c7dd410c291dda36cc38a14db4b482b274fa4
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, …