Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

huggingface_hub

Code style: black Code coverage GitHub release Documentation

Welcome to the huggingface_hub library

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.

Read all about it in the library documentation.


Integrating to the Hub.

We're partnering with cool open source ML libraries to provide free model hosting and versioning. You can find the existing integrations here.

The advantages are:

  • Free model or dataset hosting for libraries and their users.
  • Built-in file versioning, even with very large files, thanks to a git-based approach.
  • Hosted inference API for all models publicly available.
  • In-browser widgets to play with the uploaded models.
  • Anyone can upload a new model for your library, they just need to add the corresponding tag for the model to be discoverable.
  • Fast downloads! We use Cloudfront (a CDN) to geo-replicate downloads so they're blazing fast from anywhere on the globe.
  • Usage stats and more features to come.

If you would like to integrate your library, feel free to open an issue to begin the discussion. We wrote a step-by-step guide with ❤️ showing how to do this integration.


Feedback (feature requests, bugs, etc.) is super welcome 💙💚💛💜♥️🧡

Metadata

Release files for huggingface-hub 0.9.0rc2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for huggingface-hub 0.9.0rc2
File Size Uploaded Provenance
huggingface_hub-0.9.0rc2.tar.gz 104.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for huggingface-hub 0.9.0rc2
File Interpreter ABI Platform
huggingface_hub-0.9.0rc2-py3-none-any.whl Python 3 none any Details

Total release size: 223.2 kB

Release files / huggingface_hub-0.9.0rc2.tar.gz

Download URL huggingface_hub-0.9.0rc2.tar.gz
Size 104.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eed4a51fffb0cc909bd477d0209c71a152c56e6c977113b8f5dd477fcb30da5c
BLAKE2b-256 checksum
How to use checksums
010ef66a6843dbab74f15446faafd22c75c89dd006fc715941e6c6fba089f034
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / huggingface_hub-0.9.0rc2-py3-none-any.whl

Download URL huggingface_hub-0.9.0rc2-py3-none-any.whl
Size 119.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87c3affb3a50140c32167cd15b0cb55fb199364443e4357f6912e7da6b521450
BLAKE2b-256 checksum
How to use checksums
d24851c034e181862514595bf8edf7c6ed23213f6a54672d6072d3a224843035
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for huggingface-hub 0.9.0rc2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page