-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from anaconda-distribution/smartin_about_sect…
…ion_conversion Handles `/about` section transformations for new format
- Loading branch information
Showing
3 changed files
with
118 additions
and
2 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
75 changes: 75 additions & 0 deletions
75
percy/tests/test_aux_files/new_format_huggingface_hub.yaml
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,75 @@ | ||
schema_version: 1 | ||
|
||
context: | ||
name: huggingface_hub | ||
version: 0.15.1 | ||
|
||
package: | ||
name: ${{ name|lower }} | ||
version: ${{ version }} | ||
|
||
source: | ||
url: https://pypi.io/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ version }}.tar.gz | ||
sha256: a61b7d1a7769fe10119e730277c72ab99d95c48d86a3d6da3e9f3d0f632a4081 | ||
|
||
build: | ||
number: 0 | ||
skip: ${{ true if py<37 }} | ||
entry_points: | ||
- huggingface-cli=huggingface_hub.commands.huggingface_cli:main | ||
script: ${{ PYTHON }} -m pip install . --no-deps --no-build-isolation -vv | ||
|
||
requirements: | ||
host: | ||
- python | ||
- pip | ||
- setuptools | ||
- wheel | ||
run: | ||
- python | ||
- filelock | ||
- fsspec | ||
- if: py<38 | ||
then: importlib-metadata | ||
- packaging >=20.9 | ||
- pyyaml >=5.1 | ||
- requests | ||
- tqdm >=4.42.1 | ||
- typing-extensions >=3.7.4.3 | ||
run_constrained: | ||
- fastai >=2.4 | ||
- fastcore >=1.3.27 | ||
- InquirerPy ==0.3.4 | ||
|
||
test: | ||
imports: | ||
- huggingface_hub | ||
- huggingface_hub.commands | ||
requires: | ||
- pip | ||
commands: | ||
- pip check | ||
- huggingface-cli --help | ||
|
||
about: | ||
summary: Client library to download and publish models, datasets and other repos on the huggingface.co hub | ||
description: | | ||
The huggingface_hub is a client library to interact with the Hugging Face Hub. The Hugging Face Hub is a platform with over 35K models, 4K datasets, and 2K demos in which people can easily collaborate in their ML workflows. The Hub works as a central place where anyone can share, explore, discover, and experiment with open-source Machine Learning. | ||
With huggingface_hub, you can easily download and upload models, datasets, and Spaces. You can extract useful information from the Hub, and do much more. Some example use cases: | ||
- Downloading and caching files from a Hub repository. | ||
- Creating repositories and uploading an updated model every few epochs. | ||
- Extract metadata from all models that match certain criteria (e.g. models for text-classification). | ||
- List all files from a specific repository. | ||
license: Apache-2.0 | ||
license_file: LICENSE | ||
homepage: https://github.com/huggingface/huggingface_hub | ||
repository: https://github.com/huggingface/huggingface_hub | ||
documentation: https://huggingface.co/docs/hub/index | ||
|
||
extra: | ||
recipe-maintainers: | ||
- BastianZim | ||
skip-lints: | ||
- python_build_tool_in_run |