Skip to content

Commit 7351d5f

Browse files
committed
Import py-huggingface-hub-0.26.1 as wip/py-huggingface-hub
The huggingface_hub library allows you to interact with the Hugging Face Hub, a machine learning platform for creators and collaborators. Discover pre-trained models and datasets for your projects or play with the hundreds of machine learning apps hosted on the Hub. You can also create and share your own models and datasets with the community. The huggingface_hub library provides a simple way to do all these things with Python.
1 parent 49f0b6b commit 7351d5f

File tree

7 files changed

+392
-0
lines changed

7 files changed

+392
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3903,6 +3903,7 @@ SUBDIR+= py-htseq
39033903
SUBDIR+= py-http-prompt
39043904
SUBDIR+= py-httpie-jwt-auth
39053905
SUBDIR+= py-hug
3906+
SUBDIR+= py-huggingface-hub
39063907
SUBDIR+= py-hugo
39073908
SUBDIR+= py-hvac
39083909
SUBDIR+= py-hybridlfpy

py-huggingface-hub/ALTERNATIVES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin/huggingface-cli @PREFIX@/bin/huggingface-cli-@PYVERSSUFFIX@

py-huggingface-hub/COMMIT_MSG

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
net/py-huggingface-hub: Add py-huggingface-hub 0.26.1
2+
3+
The huggingface_hub library allows you to interact with the Hugging
4+
Face Hub, a machine learning platform for creators and collaborators.
5+
Discover pre-trained models and datasets for your projects or play with
6+
the hundreds of machine learning apps hosted on the Hub. You can also
7+
create and share your own models and datasets with the community. The
8+
huggingface_hub library provides a simple way to do all these things
9+
with Python.

py-huggingface-hub/DESCR

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
The huggingface_hub library allows you to interact with the Hugging
2+
Face Hub, a machine learning platform for creators and collaborators.
3+
Discover pre-trained models and datasets for your projects or play with
4+
the hundreds of machine learning apps hosted on the Hub. You can also
5+
create and share your own models and datasets with the community. The
6+
huggingface_hub library provides a simple way to do all these things
7+
with Python.

py-huggingface-hub/Makefile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# $NetBSD$
2+
3+
DISTNAME= huggingface_hub-0.26.1
4+
PKGNAME= ${PYPKGPREFIX:S/_/-/}-${DISTNAME}
5+
CATEGORIES= python
6+
MASTER_SITES= ${MASTER_SITE_PYPI:=h/huggingface-hub/}
7+
8+
MAINTAINER= [email protected]
9+
HOMEPAGE= https://huggingface.co/docs/huggingface_hub
10+
COMMENT= The official Python client for the Huggingface Hub
11+
LICENSE= apache-2.0
12+
13+
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
14+
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
15+
DEPENDS+= ${PYPKGPREFIX}-filelock-[0-9]*:../../devel/py-filelock
16+
DEPENDS+= ${PYPKGPREFIX}-fsspec>=2023.5.0:../../sysutils/py-fsspec
17+
DEPENDS+= ${PYPKGPREFIX}-packaging>=20.9:../../devel/py-packaging
18+
DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
19+
DEPENDS+= ${PYPKGPREFIX}-tqdm>=4.42.1:../../misc/py-tqdm
20+
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.4.3:../../devel/py-typing-extensions
21+
DEPENDS+= ${PYPKGPREFIX}-yaml>=5.1:../../textproc/py-yaml
22+
23+
USE_LANGUAGES= # none
24+
25+
INSTALLATION_DIRS= bin
26+
27+
post-install:
28+
cd ${DESTDIR}${PREFIX}/bin && ${MV} huggingface-cli huggingface-cli-${PYVERSSUFFIX}
29+
30+
.include "../../lang/python/application.mk"
31+
.include "../../lang/python/wheel.mk"
32+
.include "../../mk/bsd.pkg.mk"

py-huggingface-hub/PLIST

Lines changed: 337 additions & 0 deletions
Large diffs are not rendered by default.

py-huggingface-hub/distinfo

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
$NetBSD$
2+
3+
BLAKE2s (huggingface_hub-0.26.1.tar.gz) = 86c88859d228f1e56ac5784f86a9d09e1e99a3d654943bb5287481cce4d15ebd
4+
SHA512 (huggingface_hub-0.26.1.tar.gz) = b41818f7c9db0af3c237d76b548a62c0453be4159ab39502a8f676a4ee038466e0baaf467e2ec9861c1ec0ee61e40948b0a1386092a21c54c661e55dba95fdf7
5+
Size (huggingface_hub-0.26.1.tar.gz) = 375458 bytes

0 commit comments

Comments
 (0)