METADATA 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Metadata-Version: 2.4
  2. Name: hf-xet
  3. Version: 1.4.3
  4. Classifier: Development Status :: 5 - Production/Stable
  5. Classifier: License :: OSI Approved :: Apache Software License
  6. Classifier: Programming Language :: Rust
  7. Classifier: Programming Language :: Python :: Implementation :: CPython
  8. Classifier: Programming Language :: Python :: Implementation :: PyPy
  9. Classifier: Programming Language :: Python :: 3
  10. Classifier: Programming Language :: Python :: 3 :: Only
  11. Classifier: Programming Language :: Python :: 3.8
  12. Classifier: Programming Language :: Python :: 3.9
  13. Classifier: Programming Language :: Python :: 3.10
  14. Classifier: Programming Language :: Python :: 3.11
  15. Classifier: Programming Language :: Python :: 3.12
  16. Classifier: Programming Language :: Python :: 3.13
  17. Classifier: Programming Language :: Python :: 3.14
  18. Classifier: Programming Language :: Python :: Free Threading
  19. Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
  20. Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
  21. Requires-Dist: pytest ; extra == 'tests'
  22. Provides-Extra: tests
  23. License-File: LICENSE
  24. Summary: Fast transfer of large files with the Hugging Face Hub.
  25. Maintainer-email: Rajat Arya <rajat@rajatarya.com>, Jared Sulzdorf <j.sulzdorf@gmail.com>, Di Xiao <di@huggingface.co>, Assaf Vayner <assaf@huggingface.co>, Hoyt Koepke <hoytak@gmail.com>
  26. License-Expression: Apache-2.0
  27. Requires-Python: >=3.8
  28. Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
  29. Project-URL: Documentation, https://huggingface.co/docs/hub/xet/index
  30. Project-URL: Homepage, https://github.com/huggingface/xet-core
  31. Project-URL: Issues, https://github.com/huggingface/xet-core/issues
  32. Project-URL: Repository, https://github.com/huggingface/xet-core.git
  33. <!---
  34. Copyright 2024 The HuggingFace Team. All rights reserved.
  35. Licensed under the Apache License, Version 2.0 (the "License");
  36. you may not use this file except in compliance with the License.
  37. You may obtain a copy of the License at
  38. http://www.apache.org/licenses/LICENSE-2.0
  39. Unless required by applicable law or agreed to in writing, software
  40. distributed under the License is distributed on an "AS IS" BASIS,
  41. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  42. See the License for the specific language governing permissions and
  43. limitations under the License.
  44. -->
  45. <p align="center">
  46. <a href="https://github.com/huggingface/xet-core/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/huggingface/xet-core.svg?color=blue"></a>
  47. <a href="https://github.com/huggingface/xet-core/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/huggingface/xet-core.svg"></a>
  48. <a href="https://github.com/huggingface/xet-core/blob/main/CODE_OF_CONDUCT.md"><img alt="Contributor Covenant" src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg"></a>
  49. </p>
  50. <h3 align="center">
  51. <p>🤗 hf-xet - xet client tech, used in <a target="_blank" href="https://github.com/huggingface/huggingface_hub/">huggingface_hub</a></p>
  52. </h3>
  53. ## Welcome
  54. `hf-xet` enables `huggingface_hub` to utilize xet storage for uploading and downloading to HF Hub. Xet storage provides chunk-based deduplication, efficient storage/retrieval with local disk caching, and backwards compatibility with Git LFS. This library is not meant to be used directly, and is instead intended to be used from [huggingface_hub](https://pypi.org/project/huggingface-hub).
  55. ## Key features
  56. ♻ **chunk-based deduplication implementation**: avoid transferring and storing chunks that are shared across binary files (models, datasets, etc).
  57. 🤗 **Python bindings**: bindings for [huggingface_hub](https://github.com/huggingface/huggingface_hub/) package.
  58. ↔ **network communications**: concurrent communication to HF Hub Xet backend services (CAS).
  59. 🔖 **local disk caching**: chunk-based cache that sits alongside the existing [huggingface_hub disk cache](https://huggingface.co/docs/huggingface_hub/guides/manage-cache).
  60. ## Installation
  61. Install the `hf_xet` package with [pip](https://pypi.org/project/hf-xet/):
  62. ```bash
  63. pip install hf_xet
  64. ```
  65. ## Quick Start
  66. `hf_xet` is not intended to be run independently as it is expected to be used from `huggingface_hub`, so to get started with `huggingface_hub` check out the documentation [here]("https://hf.co/docs/huggingface_hub").
  67. ## Contributions (feature requests, bugs, etc.) are encouraged & appreciated 💙💚💛💜🧡❤️
  68. Please join us in making hf-xet better. We value everyone's contributions. Code is not the only way to help. Answering questions, helping each other, improving documentation, filing issues all help immensely. If you are interested in contributing (please do!), check out the [contribution guide](https://github.com/huggingface/xet-core/blob/main/CONTRIBUTING.md) for this repository.