misc/py-huggingface-hub 2.2.0
Official Python client for the Huggingface Hub
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
562ffb528a- License
- APACHE20
- Categories
- misc, python
- Package size
- 1013.0 KiB, 8024.0 KiB installed
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
As a binary package — by origin, or by package name:
pkg install misc/py-huggingface-hub
pkg install py312-huggingface-hub
From the ports tree:
cd /usr/ports/misc/py-huggingface-hub/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-huggingface-hub>0:misc/py-huggingface-hub
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.16.1 | 2.2.0 | - | 0.34.4 | 2.2.0 |
| FreeBSD:14:quarterly | 1.16.1 | 1.16.1 | n/a | 0.33.1 | 1.16.1 |
| FreeBSD:15:latest | 2.2.0 | 2.2.0 | n/a | 0.34.4 | 0.34.4 |
| FreeBSD:15:quarterly | 1.16.1 | 1.16.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.16.1 | 2.2.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 8
${PYTHON_PKGNAMEPREFIX}click>=8.4.2<9.0.0: devel/py-click${PYTHON_PKGNAMEPREFIX}filelock>=3.10.0: sysutils/py-filelock${PYTHON_PKGNAMEPREFIX}fsspec>=2023.5.0: filesystems/py-fsspec${PYTHON_PKGNAMEPREFIX}httpx2>=2.0.0<3: www/py-httpx2${PYTHON_PKGNAMEPREFIX}packaging>=20.9: devel/py-packaging${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1: devel/py-pyyaml${PYTHON_PKGNAMEPREFIX}tqdm>=4.42.1: misc/py-tqdm${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.0: devel/py-typing-extensions
The full lists below include those, and their dependencies in turn.
All build dependencies 16
All run dependencies 37
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-aiosignal
- devel/py-anyio
- devel/py-attrs
- devel/py-click
- devel/py-frozenlist
- devel/py-packaging
- devel/py-propcache
- devel/py-pyyaml
- devel/py-typing-extensions
- devel/readline
- dns/py-idna
- filesystems/py-fsspec
- lang/python312
- lang/python315
- math/mpdecimal
- misc/py-tqdm
- net/py-aiohappyeyeballs
- net/py-h11
- net/py-socksio
- print/indexinfo
- security/py-truststore
- sysutils/py-filelock
- textproc/expat2
- textproc/libyaml
- www/llhttp
- www/py-aiohttp
- www/py-h2
- www/py-hpack
- www/py-httpcore2
- www/py-httpx2
- www/py-hyperframe
- www/py-multidict
- www/py-yarl
Required by 65
- databases/py-chromadb
- deskutils/py-qmd
- devel/py-cached-path
- graphics/py-olmocr
- misc/colibri
- misc/comfyui
- misc/py-accelerate
- misc/py-banks
- misc/py-cohere
- misc/py-compressed-tensors
- misc/py-crewai
- misc/py-crewai-tools
- misc/py-datasets
- misc/py-diffusers
- misc/py-evaluate
- misc/py-hf-doc-builder
- misc/py-kokoro
- misc/py-langchain-huggingface
- misc/py-litellm
- misc/py-llama-index-core
- misc/py-llama-index-embeddings-huggingface
- misc/py-llama-index-llms-ibm
- misc/py-llama-index-llms-openai
- misc/py-llama-index-llms-openai-like
- misc/py-mistral-common
- misc/py-optimum
- misc/py-peft
- misc/py-sentence-transformers
- misc/py-smolagents
- misc/py-smolagents-agentfolio
- misc/py-timm
- misc/py-transformers
- misc/py-vllm
- misc/py-xgrammar
- textproc/py-docling
- textproc/py-docling-agent
- textproc/py-docling-analysis-framework
- textproc/py-docling-core
- textproc/py-docling-cvat-tools
- textproc/py-docling-demo
- textproc/py-docling-enhanced
- textproc/py-docling-enhanced-onnx
- textproc/py-docling-eval
- textproc/py-docling-glm-ocr
- textproc/py-docling-google-ocr
- textproc/py-docling-graph
- textproc/py-docling-haystack
- textproc/py-docling-hierarchical-pdf
- textproc/py-docling-ibm-models
- textproc/py-docling-jobkit
- textproc/py-docling-langchain
- textproc/py-docling-litellm-picture-description
- textproc/py-docling-mcp
- textproc/py-docling-metrics-text
- textproc/py-docling-ocr
- textproc/py-docling-ocr-mistral
- textproc/py-docling-ocr-onnxtr
- textproc/py-docling-parse
- textproc/py-docling-sdg
- textproc/py-docling-serve
- textproc/py-docling-slim
- textproc/py-extended-docling
- textproc/py-langchain-docling
- textproc/py-tokenizers
- www/immich-ml
Configuration
Options name: misc_huggingface-hub
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| huggingface_hub-2.2.0.tar.gz | 1.041026e+06 | 5d1b47537394e4215cb858aa12fd493d0f7ef7f58990f5dcd24bc173107b2871 |
Master sites 1
- PYPI