huggingface-hub 1.0.0rc7__tar.gz → 1.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of huggingface-hub might be problematic. Click here for more details.

Files changed (159) hide show
  1. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/PKG-INFO +1 -2
  2. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/setup.py +3 -8
  3. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/__init__.py +4 -1
  4. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/hf_api.py +31 -6
  5. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/hf_file_system.py +1 -1
  6. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_common.py +1 -10
  7. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/repocard_data.py +1 -1
  8. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub.egg-info/PKG-INFO +1 -2
  9. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub.egg-info/requires.txt +2 -9
  10. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/LICENSE +0 -0
  11. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/MANIFEST.in +0 -0
  12. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/README.md +0 -0
  13. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/pyproject.toml +0 -0
  14. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/setup.cfg +0 -0
  15. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_commit_api.py +0 -0
  16. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_commit_scheduler.py +0 -0
  17. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_inference_endpoints.py +0 -0
  18. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_jobs_api.py +0 -0
  19. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_local_folder.py +0 -0
  20. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_login.py +0 -0
  21. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_oauth.py +0 -0
  22. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_snapshot_download.py +0 -0
  23. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_space_api.py +0 -0
  24. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_tensorboard_logger.py +0 -0
  25. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_upload_large_folder.py +0 -0
  26. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_webhooks_payload.py +0 -0
  27. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/_webhooks_server.py +0 -0
  28. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/__init__.py +0 -0
  29. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/_cli_utils.py +0 -0
  30. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/auth.py +0 -0
  31. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/cache.py +0 -0
  32. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/download.py +0 -0
  33. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/hf.py +0 -0
  34. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/jobs.py +0 -0
  35. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/lfs.py +0 -0
  36. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/repo.py +0 -0
  37. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/repo_files.py +0 -0
  38. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/system.py +0 -0
  39. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/upload.py +0 -0
  40. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/cli/upload_large_folder.py +0 -0
  41. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/community.py +0 -0
  42. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/constants.py +0 -0
  43. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/dataclasses.py +0 -0
  44. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/errors.py +0 -0
  45. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/fastai_utils.py +0 -0
  46. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/file_download.py +0 -0
  47. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/hub_mixin.py +0 -0
  48. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/__init__.py +0 -0
  49. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_client.py +0 -0
  50. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/__init__.py +0 -0
  51. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/_async_client.py +0 -0
  52. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/__init__.py +0 -0
  53. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/audio_classification.py +0 -0
  54. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/audio_to_audio.py +0 -0
  55. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/automatic_speech_recognition.py +0 -0
  56. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/base.py +0 -0
  57. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/chat_completion.py +0 -0
  58. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/depth_estimation.py +0 -0
  59. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/document_question_answering.py +0 -0
  60. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/feature_extraction.py +0 -0
  61. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/fill_mask.py +0 -0
  62. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/image_classification.py +0 -0
  63. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/image_segmentation.py +0 -0
  64. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/image_to_image.py +0 -0
  65. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/image_to_text.py +0 -0
  66. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/image_to_video.py +0 -0
  67. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/object_detection.py +0 -0
  68. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/question_answering.py +0 -0
  69. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/sentence_similarity.py +0 -0
  70. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/summarization.py +0 -0
  71. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/table_question_answering.py +0 -0
  72. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/text2text_generation.py +0 -0
  73. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/text_classification.py +0 -0
  74. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/text_generation.py +0 -0
  75. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/text_to_audio.py +0 -0
  76. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/text_to_image.py +0 -0
  77. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/text_to_speech.py +0 -0
  78. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/text_to_video.py +0 -0
  79. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/token_classification.py +0 -0
  80. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/translation.py +0 -0
  81. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/video_classification.py +0 -0
  82. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/visual_question_answering.py +0 -0
  83. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/zero_shot_classification.py +0 -0
  84. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/zero_shot_image_classification.py +0 -0
  85. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_generated/types/zero_shot_object_detection.py +0 -0
  86. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_mcp/__init__.py +0 -0
  87. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_mcp/_cli_hacks.py +0 -0
  88. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_mcp/agent.py +0 -0
  89. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_mcp/cli.py +0 -0
  90. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_mcp/constants.py +0 -0
  91. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_mcp/mcp_client.py +0 -0
  92. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_mcp/types.py +0 -0
  93. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_mcp/utils.py +0 -0
  94. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/__init__.py +0 -0
  95. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/_common.py +0 -0
  96. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/black_forest_labs.py +0 -0
  97. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/cerebras.py +0 -0
  98. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/clarifai.py +0 -0
  99. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/cohere.py +0 -0
  100. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/fal_ai.py +0 -0
  101. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/featherless_ai.py +0 -0
  102. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/fireworks_ai.py +0 -0
  103. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/groq.py +0 -0
  104. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/hf_inference.py +0 -0
  105. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/hyperbolic.py +0 -0
  106. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/nebius.py +0 -0
  107. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/novita.py +0 -0
  108. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/nscale.py +0 -0
  109. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/openai.py +0 -0
  110. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/publicai.py +0 -0
  111. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/replicate.py +0 -0
  112. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/sambanova.py +0 -0
  113. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/scaleway.py +0 -0
  114. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/together.py +0 -0
  115. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/inference/_providers/zai_org.py +0 -0
  116. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/lfs.py +0 -0
  117. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/py.typed +0 -0
  118. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/repocard.py +0 -0
  119. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/serialization/__init__.py +0 -0
  120. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/serialization/_base.py +0 -0
  121. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/serialization/_dduf.py +0 -0
  122. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/serialization/_torch.py +0 -0
  123. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/templates/datasetcard_template.md +0 -0
  124. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/templates/modelcard_template.md +0 -0
  125. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/__init__.py +0 -0
  126. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_auth.py +0 -0
  127. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_cache_assets.py +0 -0
  128. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_cache_manager.py +0 -0
  129. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_chunk_utils.py +0 -0
  130. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_datetime.py +0 -0
  131. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_deprecation.py +0 -0
  132. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_dotenv.py +0 -0
  133. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_experimental.py +0 -0
  134. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_fixes.py +0 -0
  135. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_git_credential.py +0 -0
  136. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_headers.py +0 -0
  137. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_http.py +0 -0
  138. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_lfs.py +0 -0
  139. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_pagination.py +0 -0
  140. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_parsing.py +0 -0
  141. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_paths.py +0 -0
  142. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_runtime.py +0 -0
  143. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_safetensors.py +0 -0
  144. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_subprocess.py +0 -0
  145. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_telemetry.py +0 -0
  146. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_terminal.py +0 -0
  147. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_typing.py +0 -0
  148. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_validators.py +0 -0
  149. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_xet.py +0 -0
  150. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/_xet_progress_reporting.py +0 -0
  151. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/endpoint_helpers.py +0 -0
  152. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/insecure_hashlib.py +0 -0
  153. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/logging.py +0 -0
  154. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/sha.py +0 -0
  155. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub/utils/tqdm.py +0 -0
  156. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub.egg-info/SOURCES.txt +0 -0
  157. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub.egg-info/dependency_links.txt +0 -0
  158. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub.egg-info/entry_points.txt +0 -0
  159. {huggingface_hub-1.0.0rc7 → huggingface_hub-1.0.1}/src/huggingface_hub.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huggingface_hub
3
- Version: 1.0.0rc7
3
+ Version: 1.0.1
4
4
  Summary: Client library to download and publish models, datasets and other repos on the huggingface.co hub
5
5
  Home-page: https://github.com/huggingface/huggingface_hub
6
6
  Author: Hugging Face, Inc.
@@ -23,7 +23,6 @@ Classifier: Programming Language :: Python :: 3.13
23
23
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
24
24
  Requires-Python: >=3.9.0
25
25
  Description-Content-Type: text/markdown
26
- Provides-Extra: inference
27
26
  Provides-Extra: oauth
28
27
  Provides-Extra: torch
29
28
  Provides-Extra: fastai
@@ -16,7 +16,7 @@ def get_version() -> str:
16
16
  install_requires = [
17
17
  "filelock",
18
18
  "fsspec>=2023.5.0",
19
- "hf-xet>=1.1.3,<2.0.0; platform_machine=='x86_64' or platform_machine=='amd64' or platform_machine=='arm64' or platform_machine=='aarch64'",
19
+ "hf-xet>=1.2.0,<2.0.0; platform_machine=='x86_64' or platform_machine=='amd64' or platform_machine=='AMD64' or platform_machine=='arm64' or platform_machine=='aarch64'",
20
20
  "httpx>=0.23.0, <1",
21
21
  "packaging>=20.9",
22
22
  "pyyaml>=5.1",
@@ -28,10 +28,6 @@ install_requires = [
28
28
 
29
29
  extras = {}
30
30
 
31
- extras["inference"] = [
32
- "aiohttp", # for AsyncInferenceClient
33
- ]
34
-
35
31
  extras["oauth"] = [
36
32
  "authlib>=1.3.2", # minimum version to include https://github.com/lepture/authlib/pull/644
37
33
  "fastapi",
@@ -54,11 +50,10 @@ extras["hf_xet"] = ["hf-xet>=1.1.3,<2.0.0"]
54
50
  extras["mcp"] = [
55
51
  "mcp>=1.8.0",
56
52
  "typer",
57
- ] + extras["inference"]
53
+ ]
58
54
 
59
55
  extras["testing"] = (
60
- extras["inference"]
61
- + extras["oauth"]
56
+ extras["oauth"]
62
57
  + [
63
58
  "jedi",
64
59
  "Jinja2",
@@ -46,7 +46,7 @@ import sys
46
46
  from typing import TYPE_CHECKING
47
47
 
48
48
 
49
- __version__ = "1.0.0.rc7"
49
+ __version__ = "1.0.1"
50
50
 
51
51
  # Alphabetical order of definitions is ensured in tests
52
52
  # WARNING: any comment added in this dictionary definition will be lost when
@@ -237,6 +237,7 @@ _SUBMOD_ATTRS = {
237
237
  "list_lfs_files",
238
238
  "list_liked_repos",
239
239
  "list_models",
240
+ "list_organization_followers",
240
241
  "list_organization_members",
241
242
  "list_papers",
242
243
  "list_pending_access_requests",
@@ -893,6 +894,7 @@ __all__ = [
893
894
  "list_lfs_files",
894
895
  "list_liked_repos",
895
896
  "list_models",
897
+ "list_organization_followers",
896
898
  "list_organization_members",
897
899
  "list_papers",
898
900
  "list_pending_access_requests",
@@ -1249,6 +1251,7 @@ if TYPE_CHECKING: # pragma: no cover
1249
1251
  list_lfs_files, # noqa: F401
1250
1252
  list_liked_repos, # noqa: F401
1251
1253
  list_models, # noqa: F401
1254
+ list_organization_followers, # noqa: F401
1252
1255
  list_organization_members, # noqa: F401
1253
1256
  list_papers, # noqa: F401
1254
1257
  list_pending_access_requests, # noqa: F401
@@ -392,7 +392,7 @@ class CommitInfo(str):
392
392
 
393
393
  # Computed from `pr_url` in `__post_init__`
394
394
  pr_revision: Optional[str] = field(init=False)
395
- pr_num: Optional[str] = field(init=False)
395
+ pr_num: Optional[int] = field(init=False)
396
396
 
397
397
  def __new__(cls, *args, commit_url: str, **kwargs):
398
398
  return str.__new__(cls, commit_url)
@@ -3623,11 +3623,6 @@ class HfApi:
3623
3623
  if provided_space_args:
3624
3624
  warnings.warn(f"Ignoring provided {', '.join(provided_space_args)} because repo_type is not 'space'.")
3625
3625
 
3626
- if getattr(self, "_lfsmultipartthresh", None):
3627
- # Testing purposes only.
3628
- # See https://github.com/huggingface/huggingface_hub/pull/733/files#r820604472
3629
- json["lfsmultipartthresh"] = self._lfsmultipartthresh # type: ignore
3630
-
3631
3626
  if resource_group_id is not None:
3632
3627
  json["resourceGroupId"] = resource_group_id
3633
3628
 
@@ -9528,6 +9523,35 @@ class HfApi:
9528
9523
  hf_raise_for_status(r)
9529
9524
  return Organization(**r.json())
9530
9525
 
9526
+ @validate_hf_hub_args
9527
+ def list_organization_followers(self, organization: str, token: Union[bool, str, None] = None) -> Iterable[User]:
9528
+ """
9529
+ List followers of an organization on the Hub.
9530
+
9531
+ Args:
9532
+ organization (`str`):
9533
+ Name of the organization to get the followers of.
9534
+ token (`bool` or `str`, *optional*):
9535
+ A valid user access token (string). Defaults to the locally saved
9536
+ token, which is the recommended method for authentication (see
9537
+ https://huggingface.co/docs/huggingface_hub/quick-start#authentication).
9538
+ To disable authentication, pass `False`.
9539
+
9540
+ Returns:
9541
+ `Iterable[User]`: A list of [`User`] objects with the followers of the organization.
9542
+
9543
+ Raises:
9544
+ [`HfHubHTTPError`]:
9545
+ HTTP 404 If the organization does not exist on the Hub.
9546
+
9547
+ """
9548
+ for follower in paginate(
9549
+ path=f"{constants.ENDPOINT}/api/organizations/{organization}/followers",
9550
+ params={},
9551
+ headers=self._build_hf_headers(token=token),
9552
+ ):
9553
+ yield User(**follower)
9554
+
9531
9555
  def list_organization_members(self, organization: str, token: Union[bool, str, None] = None) -> Iterable[User]:
9532
9556
  """
9533
9557
  List of members of an organization on the Hub.
@@ -10819,6 +10843,7 @@ update_webhook = api.update_webhook
10819
10843
  # User API
10820
10844
  get_user_overview = api.get_user_overview
10821
10845
  get_organization_overview = api.get_organization_overview
10846
+ list_organization_followers = api.list_organization_followers
10822
10847
  list_organization_members = api.list_organization_members
10823
10848
  list_user_followers = api.list_user_followers
10824
10849
  list_user_following = api.list_user_following
@@ -660,7 +660,7 @@ class HfFileSystem(fsspec.AbstractFileSystem):
660
660
  Returns:
661
661
  `datetime`: Last commit date of the file.
662
662
  """
663
- info = self.info(path, **{**kwargs, "expand_info": True})
663
+ info = self.info(path, **{**kwargs, "expand_info": True}) # type: ignore
664
664
  return info["last_commit"]["date"]
665
665
 
666
666
  def info(self, path: str, refresh: bool = False, revision: Optional[str] = None, **kwargs) -> dict[str, Any]:
@@ -35,7 +35,7 @@ from huggingface_hub.errors import (
35
35
  ValidationError,
36
36
  )
37
37
 
38
- from ..utils import get_session, is_aiohttp_available, is_numpy_available, is_pillow_available
38
+ from ..utils import get_session, is_numpy_available, is_pillow_available
39
39
  from ._generated.types import ChatCompletionStreamOutput, TextGenerationStreamOutput
40
40
 
41
41
 
@@ -91,15 +91,6 @@ class MimeBytes(bytes):
91
91
  ## IMPORT UTILS
92
92
 
93
93
 
94
- def _import_aiohttp():
95
- # Make sure `aiohttp` is installed on the machine.
96
- if not is_aiohttp_available():
97
- raise ImportError("Please install aiohttp to use `AsyncInferenceClient` (`pip install aiohttp`).")
98
- import aiohttp
99
-
100
- return aiohttp
101
-
102
-
103
94
  def _import_numpy():
104
95
  """Make sure `numpy` is installed on the machine."""
105
96
  if not is_numpy_available():
@@ -387,7 +387,7 @@ class ModelCardData(CardData):
387
387
  def _to_dict(self, data_dict):
388
388
  """Format the internal data dict. In this case, we convert eval results to a valid model index"""
389
389
  if self.eval_results is not None:
390
- data_dict["model-index"] = eval_results_to_model_index(self.model_name, self.eval_results)
390
+ data_dict["model-index"] = eval_results_to_model_index(self.model_name, self.eval_results) # type: ignore
391
391
  del data_dict["eval_results"], data_dict["model_name"]
392
392
 
393
393
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huggingface-hub
3
- Version: 1.0.0rc7
3
+ Version: 1.0.1
4
4
  Summary: Client library to download and publish models, datasets and other repos on the huggingface.co hub
5
5
  Home-page: https://github.com/huggingface/huggingface_hub
6
6
  Author: Hugging Face, Inc.
@@ -23,7 +23,6 @@ Classifier: Programming Language :: Python :: 3.13
23
23
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
24
24
  Requires-Python: >=3.9.0
25
25
  Description-Content-Type: text/markdown
26
- Provides-Extra: inference
27
26
  Provides-Extra: oauth
28
27
  Provides-Extra: torch
29
28
  Provides-Extra: fastai
@@ -8,11 +8,10 @@ tqdm>=4.42.1
8
8
  typer-slim
9
9
  typing-extensions>=3.7.4.3
10
10
 
11
- [:platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "arm64" or platform_machine == "aarch64"]
12
- hf-xet<2.0.0,>=1.1.3
11
+ [:platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "arm64" or platform_machine == "aarch64"]
12
+ hf-xet<2.0.0,>=1.2.0
13
13
 
14
14
  [all]
15
- aiohttp
16
15
  authlib>=1.3.2
17
16
  fastapi
18
17
  httpx
@@ -45,7 +44,6 @@ types-tqdm
45
44
  types-urllib3
46
45
 
47
46
  [dev]
48
- aiohttp
49
47
  authlib>=1.3.2
50
48
  fastapi
51
49
  httpx
@@ -85,13 +83,9 @@ fastcore>=1.3.27
85
83
  [hf_xet]
86
84
  hf-xet<2.0.0,>=1.1.3
87
85
 
88
- [inference]
89
- aiohttp
90
-
91
86
  [mcp]
92
87
  mcp>=1.8.0
93
88
  typer
94
- aiohttp
95
89
 
96
90
  [oauth]
97
91
  authlib>=1.3.2
@@ -106,7 +100,6 @@ libcst>=1.4.0
106
100
  ty
107
101
 
108
102
  [testing]
109
- aiohttp
110
103
  authlib>=1.3.2
111
104
  fastapi
112
105
  httpx