BSD Ports

ai/py-headroom-ai 0.27.0_1 MidnightBSD

Context optimization layer for LLM applications

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

Description

Headroom compresses and optimizes LLM context before requests are sent to providers. It includes a CLI, Python library support, and a proxy mode for placing Headroom between LLM clients and upstream APIs.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}headroom-ai

From mports:

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

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

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

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Library 1

Runtime 8

Build dependencies 2
Run dependencies 9

No port depends on this one.

Configuration

Options name: ai_headroom-ai

OptionDefaultDescription
PROXYonInstall lightweight dependencies for headroom proxy service
USES
cargo python
Service scripts
headroom

Files

distinfo 540
FileSizeSHA256
headroom_ai-0.27.0.tar.gz1.859481e+061b133c7f9de9fbebd266df2d407fc4529d4d0f4276faedad838d39ed2bdc0af0
rust/crates/adler2-2.0.1.crate13366320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
rust/crates/ahash-0.8.12.crate434135a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75
rust/crates/aho-corasick-1.1.4.crate184015ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301
rust/crates/aligned-0.4.3.crate10452ee4508988c62edf04abd8d92897fca0c2995d907ce1dfeaf369dac3716a40685
rust/crates/aligned-vec-0.6.4.crate12609dc890384c8602f339876ded803c97ad529f3842aba97f6392b3dba0dd171769b
rust/crates/allocator-api2-0.2.21.crate63622683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923
rust/crates/android_system_properties-0.1.5.crate5243819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311
rust/crates/anes-0.1.6.crate238574b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299
rust/crates/anstream-1.0.0.crate28916824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d
rust/crates/anstyle-1.0.14.crate17787940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000
rust/crates/anstyle-parse-1.0.0.crate2204252ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e
rust/crates/anstyle-query-1.1.5.crate1026440c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc
rust/crates/anstyle-wincon-3.0.11.crate12638291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d
rust/crates/anyhow-1.0.102.crate486587f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c
rust/crates/arbitrary-1.4.2.crate38307c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1
rust/crates/arc-swap-1.9.1.crate813676a3a1fd6f75306b68087b831f025c712524bcb19aad54e557b1129cfa0a2b207
rust/crates/arg_enum_proc_macro-0.3.4.crate51020ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea
rust/crates/arrayref-0.3.9.crate918676a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb
rust/crates/arrayvec-0.7.6.crate312377c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50
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, …