-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
7 changed files
with
392 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin/huggingface-cli @PREFIX@/bin/huggingface-cli-@PYVERSSUFFIX@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
net/py-huggingface-hub: Add py-huggingface-hub 0.26.1 | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# $NetBSD$ | ||
|
||
DISTNAME= huggingface_hub-0.26.1 | ||
PKGNAME= ${PYPKGPREFIX:S/_/-/}-${DISTNAME} | ||
CATEGORIES= python | ||
MASTER_SITES= ${MASTER_SITE_PYPI:=h/huggingface-hub/} | ||
|
||
MAINTAINER= minskim@NetBSD.org | ||
HOMEPAGE= https://huggingface.co/docs/huggingface_hub | ||
COMMENT= The official Python client for the Huggingface Hub | ||
LICENSE= apache-2.0 | ||
|
||
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | ||
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel | ||
DEPENDS+= ${PYPKGPREFIX}-filelock-[0-9]*:../../devel/py-filelock | ||
DEPENDS+= ${PYPKGPREFIX}-fsspec>=2023.5.0:../../sysutils/py-fsspec | ||
DEPENDS+= ${PYPKGPREFIX}-packaging>=20.9:../../devel/py-packaging | ||
DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests | ||
DEPENDS+= ${PYPKGPREFIX}-tqdm>=4.42.1:../../misc/py-tqdm | ||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.4.3:../../devel/py-typing-extensions | ||
DEPENDS+= ${PYPKGPREFIX}-yaml>=5.1:../../textproc/py-yaml | ||
|
||
USE_LANGUAGES= # none | ||
|
||
INSTALLATION_DIRS= bin | ||
|
||
post-install: | ||
cd ${DESTDIR}${PREFIX}/bin && ${MV} huggingface-cli huggingface-cli-${PYVERSSUFFIX} | ||
|
||
.include "../../lang/python/application.mk" | ||
.include "../../lang/python/wheel.mk" | ||
.include "../../mk/bsd.pkg.mk" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$NetBSD$ | ||
|
||
BLAKE2s (huggingface_hub-0.26.1.tar.gz) = 86c88859d228f1e56ac5784f86a9d09e1e99a3d654943bb5287481cce4d15ebd | ||
SHA512 (huggingface_hub-0.26.1.tar.gz) = b41818f7c9db0af3c237d76b548a62c0453be4159ab39502a8f676a4ee038466e0baaf467e2ec9861c1ec0ee61e40948b0a1386092a21c54c661e55dba95fdf7 | ||
Size (huggingface_hub-0.26.1.tar.gz) = 375458 bytes |