Buckets API #3673

Wauplin merged 139 commits into main from buckets-api
Wauplin
Wauplin [draft] Basic bucket API - subject to evolve
e527fa39
bot-ci-comment
Wauplin Wauplin changed the title [dev] Basic bucket API - not meant to be merged [dev 🤫] Basic bucket API - not meant to be merged 318 days ago
Wauplin xet download not working because local
f641f0bf
Wauplin batch upload
086af05a
Wauplin Merge branch 'main' into buckets-api
439b626d
Wauplin Merge branch 'main' into buckets-api
e42cea15
Wauplin download resolved
863227f0
Wauplin style
263ae04a
Wauplin slight update
07e7ba95
Wauplin download files in parallel
d6f45eb6
Wauplin add hf sync and hf bucket ls CLI
f499c0ca
Wauplin CLI first implem
2641eba1
Wauplin
Wauplin move to hf bucket sync
8bcfac3a
Wauplin Merge branch 'main' into buckets-api
92a182b0
Wauplin Merge branch 'main' into buckets-api
29b2d7f7
Wauplin alias hf sync
9c193635
Wauplin --delete instead of --mirror
07084dfe
Wauplin apply instead of execute
fac4d8ed
Wauplin add --ignore-times --ignore-sizes --existing --ignore-existing / remo…
3c92bf77
Wauplin Merge branch 'main' into buckets-api
17bec0ad
Wauplin cli ref
283eed95
Wauplin more examples
19da4b83
Wauplin get_bucket_file_metadata
be3f43d9
Wauplin
Wauplin fix typing
f91976cb
Wauplin Merge branch 'main' into buckets-api
76fae535
Wauplin Merge branch 'main' into buckets-api
da2e8a56
Wauplin create bucket revisited
2bee470e
Wauplin better delete repo
da4e37a1
Wauplin repo url parsed
fc01de61
Wauplin Merge branch 'main' into buckets-api
cbbf33d9
Wauplin create empty files
07127de9
Wauplin Merge branch 'main' into buckets-api
3e19af60
Wauplin pass self.endpoint to RepoUrl
e76d1ad3
Wauplin no need for size in batch upload
70c5fa9c
Wauplin Merge branch 'main' into buckets-api
6cc76067
Wauplin Merge branch 'main' into buckets-api
d31d4e27
Wauplin expose bucket api
36931265
Wauplin Merge branch 'main' into buckets-api
8411ab4e
Wauplin Start adding tests
cd5f4217
Wauplin better batch API ?
828f8a3a
Wauplin docstrings
d86c78cf
Wauplin first tests
b40f0a8f
Wauplin remove /latest prefix in tree and resolve endpoints
18d70c5f
Wauplin Remove /latest from xet-write-token route
4ee094ee
Wauplin list buckets lists only under namespace
0e1c56ba
Wauplin update test list_buckets
400f575a
Wauplin list_bucket_tree returns BucketFile dataclass
5693e329
Wauplin adapt to BucketFile
14439d7e
Wauplin more optimized hf sync
d3935dd2
Wauplin fix get_bucket_paths_info
afaf9cb5
Wauplin batched /paths-info
1575f52c
Wauplin BucketUrl instead of RepoUrl
3e963ee0
Wauplin BucketUrl in CLI
948680f5
Wauplin Warn on missing files in download_bucket_files
d1807ac0
Wauplin chunked upload
4efad566
Wauplin global add-progress in batch_bucket_files
0dc11d7f
Wauplin better progress in CLI sync
46fe171e
Wauplin print nb files in list buckets and bucket info
e44fa3f7
Wauplin dedicated BucketNotFoundError error
209e6ebc
Wauplin add backoff in main bucket methods
2dfedd83
Wauplin Merge branch 'main' into buckets-api
9e3b3674
Wauplin quiet mode in CLI
908490e0
Wauplin stop passing token if not needed
0e7c84a0
Wauplin alignment in table
af51205d
Wauplin cannot hf bucket list files
328b1597
Wauplin hf bucket cp
f31f2579
Wauplin fix bucket head /resolve
5ea04ffa
Wauplin fix mypy
804c24d0
Wauplin fix tests
5cc3dfc1
Wauplin Merge branch 'main' into buckets-api
1276e721
Wauplin fix test
34b6cb9b
Wauplin remove some stuff
28bd6c99
Wauplin review HfApi methods
31fa4fd2
Wauplin more tests
e46eafe8
Wauplin more tests
05bf7c1d
Wauplin some CLI tests
3dcbb4b3
Wauplin migrate to 'hf buckets' CLI
5014c58e
Wauplin little refacto cli tests
603810a5
Wauplin add tests for hf buckets cp
b1e919d6
Wauplin Add hf buckets sync tests
a2a46507
Wauplin test hf sync alias
103fed0b
Wauplin tree recursive
426802b4
Wauplin test hf buckets tree
f3de2c76
Wauplin draft bucket guide
b44b7820
Wauplin CLI guide
fdef30a9
Wauplin export as root
14caf1b3
Wauplin better documentation
9d485f8c
Wauplin CLI guide
865a6859
Wauplin Merge branch 'main' into buckets-api
b81a36eb
Wauplin fix mtime comparison subsecnd
6a838ca7
Wauplin add dry run
5c09a29f
Wauplin fix format
af097321
Wauplin hf buckets list
17215f7d
Wauplin not satisfying alias
01860ef2
Wauplin better alias
1566491d
Wauplin better docs
ec345066
Wauplin Wauplin changed the title [dev 🤫] Basic bucket API - not meant to be merged Buckets API 278 days ago
Wauplin Merge branch 'main' into buckets-api
04f162af
Wauplin Wauplin marked this pull request as ready for review 278 days ago
cursor
cursor commented on 2026-02-18
cursoragent Fix two Bugbot-reported issues in bucket download and sync
2aa39a02
cursoragent Add tests for download_bucket_files with missing first file
bdb0d40c
cursor
cursor commented on 2026-02-18
cursoragent Fix: Use BucketNotFoundError instead of RepositoryNotFoundError in sync
82a05657
Wauplin Wauplin requested a review from hanouticelina hanouticelina 278 days ago
Wauplin Wauplin requested a review from julien-c julien-c 278 days ago
Wauplin Wauplin requested a review from gary149 gary149 278 days ago
Wauplin Merge branch 'main' into buckets-api
7ebcb2d7
Wauplin Merge branch 'buckets-api' of github.com:huggingface/huggingface_hub …
0790cf2b
cursoragent Add test for sync to non-existent bucket
aca6fae0
cursor
cursor commented on 2026-02-18
cursoragent Fix: Validate file path in cp download path
a885b199
cursoragent Fix: Strip trailing slashes from prefix to avoid double slashes in re…
1c313390
cursoragent Fix: Filter zero-size files before calling xet download
cf0a5027
cursor
cursor commented on 2026-02-18
lhoestq
lhoestq commented on 2026-02-19
Wauplin Merge branch 'main' into buckets-api
68c4f8e0
Wauplin BucketFolder instead of BucketDirectory
f8a39830
Wauplin move buckets tests to xet only
1750b882
Wauplin fix hot reload reference
70ab7559
Wauplin Merge branch 'main' into buckets-api
10b5358e
cursor
cursor commented on 2026-02-19
Wauplin finally fix tests
765c54d8
Wauplin explain
96c547ab
Wauplin Merge branch 'main' into buckets-api
a72f2706
cursor
cursor commented on 2026-02-19
cursoragent Fix: Unsafe prefix stripping that could corrupt sync relative paths
51d281f0
cursoragent Fix: Preserve progress bar state when downloading to stdout
06ad6f6f
cursoragent Fix: Sync skip reason accurately reports dest newer instead of same m…
82c298ce
cursoragent Refactor: Extract shared sync comparison logic into helper function
73940b3f
cursoragent Fix: Use Literal type for action parameter in _compare_files_for_sync
0c7c54f6
cursoragent Fix: Skip files that don't properly match prefix in _list_remote_files
28c9d2c7
cursor
cursor commented on 2026-02-19
cursor
cursor commented on 2026-02-19
hanouticelina
hanouticelina commented on 2026-02-23
Wauplin Merge branch 'main' into buckets-api
894f0589
Wauplin make style
02d61985
Wauplin Update src/huggingface_hub/cli/buckets.py
9eb7c7d8
Wauplin Update src/huggingface_hub/hf_api.py
354cacac
Wauplin Update docs/source/en/guides/buckets.md
bff00c28
Wauplin Update src/huggingface_hub/hf_api.py
ac70b234
Wauplin Update src/huggingface_hub/hf_api.py
acafe010
Wauplin Merge branch 'buckets-api' of github.com:huggingface/huggingface_hub …
afd501df
Wauplin docstring
5fd4260e
Wauplin constant
fb740479
Wauplin regenerate hf --help in cli.md
d41f0a70
Wauplin Add test for content_type resolution
2c06a238
cursor
cursor commented on 2026-02-24
Wauplin refacto _split_bucket_id_and_prefix + add test$
152584a2
Wauplin export BucketFolder
9528a011
Wauplin fix bucket_files_by_path not defined
48c900cb
cursor
cursor commented on 2026-02-24
Wauplin fix hf spaces examples
72242e26
cursor
cursor commented on 2026-02-24
cursor
cursor commented on 2026-02-24
Wauplin Merge branch 'main' into buckets-api
9717ac58
Wauplin fix mypy
e35d9948
cursor
cursor commented on 2026-02-24
Wauplin Wauplin requested a review from hanouticelina hanouticelina 272 days ago
hanouticelina
hanouticelina approved these changes on 2026-02-24
Wauplin Update docs/source/en/guides/buckets.md
43d9cc7f
Wauplin Update src/huggingface_hub/cli/_cli_utils.py
3c11f8d9
Wauplin Wauplin merged eaac6fee into main 272 days ago
Wauplin Wauplin deleted the buckets-api branch 272 days ago
julien-c
Wauplin

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone