BSD Ports

ai/py-huggingface-hub 1.4.1_1 MidnightBSD

Official Python client for the Huggingface Hub

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

Description

The huggingface_hub library allows you to interact with the Hugging Face Hub, a platform democratizing open-source Machine Learning for creators and collaborators. Discover pre-trained models and datasets for your projects or play with the thousands of machine learning apps hosted on the Hub. You can also create and share your own models, datasets and demos with the community. The huggingface_hub library provides a simple way to do all these things with Python.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}huggingface-hub

From mports:

cd /usr/mports/ai/py-huggingface-hub && make install clean

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

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

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.

Runtime 9

Run dependencies 9

Configuration

Options name: ai_huggingface-hub

OptionDefaultDescription
DOCSoff
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
huggingface_hub-1.4.1.tar.gz642156b41131ec35e631e7383ab26d6146b8d8972abc8b6309b963b306fbcca87f5ed5
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, …