Skip to content

Commit 78825b6

Browse files
authored
Cut release 0.3.5 (#470)
* docs: add huggingface to docs * update changelog
1 parent 7e51c6a commit 78825b6

File tree

5 files changed

+32
-2
lines changed

5 files changed

+32
-2
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99
...
1010

11+
## [0.3.5] - 2025-11-09
12+
### Added
13+
- upath.implementations.cloud: add `HfPath` for Hugging Face Hub support (#457)
14+
- docs: MkDocs documentation on Read The Docs (#468, #469)
15+
16+
### Fixed
17+
- upath: fix `relative_to` for simplecache, smb, sftp and extensions (#458)
18+
19+
### Changed
20+
- ci: nox and ci updates (#466)
21+
- upath: update flavours (#467)
22+
1123
## [0.3.4] - 2025-10-16
1224
### Added
1325
- upath.implementations: add `SimpleCachePath` for simplecache protocol support (#453)
@@ -263,7 +275,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
263275
### Added
264276
- started a changelog to keep track of significant changes
265277

266-
[Unreleased]: https://github.com/fsspec/universal_pathlib/compare/v0.3.4...HEAD
278+
[Unreleased]: https://github.com/fsspec/universal_pathlib/compare/v0.3.5...HEAD
279+
[0.3.5]: https://github.com/fsspec/universal_pathlib/compare/v0.3.4...v0.3.5
267280
[0.3.4]: https://github.com/fsspec/universal_pathlib/compare/v0.3.3...v0.3.4
268281
[0.3.3]: https://github.com/fsspec/universal_pathlib/compare/v0.3.2...v0.3.3
269282
[0.3.2]: https://github.com/fsspec/universal_pathlib/compare/v0.3.1...v0.3.2

docs/api/implementations.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ Google Cloud Storage implementation.
4242

4343
Azure Blob Storage and Azure Data Lake implementation.
4444

45+
::: upath.implementations.cloud.HfPath
46+
options:
47+
heading_level: 3
48+
show_root_heading: true
49+
show_root_full_path: false
50+
members: []
51+
show_bases: true
52+
53+
**Protocols:** `hf://`
54+
55+
Hugging Face Hub implementation for accessing models, datasets, and spaces.
56+
4557
---
4658

4759
## upath.implementations.local

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ if http_path.exists():
131131
- :fontawesome-solid-globe: `http:` and `https:` HTTP(S)-based filesystem
132132
- :fontawesome-solid-server: `hdfs:` Hadoop distributed filesystem
133133
- :fontawesome-brands-google: `gs:` and `gcs:` Google Cloud Storage _(requires `gcsfs`)_
134+
- :simple-huggingface: `hf:` Hugging Face Hub _(requires `huggingface_hub`)_
134135
- :fontawesome-brands-aws: `s3:` and `s3a:` AWS S3 _(requires `s3fs`)_
135136
- :fontawesome-solid-network-wired: `sftp:` and `ssh:` SFTP and SSH filesystems _(requires `paramiko`)_
136137
- :fontawesome-solid-share-nodes: `smb:` SMB filesystems _(requires `smbprotocol`)_

docs/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ When adding `universal-pathlib` to your project, specify the filesystem extras y
5757
name = "myproject"
5858
requires-python = ">=3.9"
5959
dependencies = [
60-
"universal_pathlib>=0.3.4",
60+
"universal_pathlib>=0.3.5",
6161
"fsspec[s3,http]", # Add the filesystems you need
6262
]
6363
```

docs/usage.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ gcs_path = UPath("gs://my-bucket/data.csv")
5959
# Azure Blob Storage
6060
az_path = UPath("az://container/blob.parquet")
6161

62+
# Hugging Face Hub
63+
hf_path = UPath("hf://datasets/username/dataset-name/data.csv")
64+
6265
# GitHub repositories
6366
gh_path = UPath("github://fsspec:universal_pathlib@main/")
6467
```
@@ -253,6 +256,7 @@ Universal Pathlib works with any [fsspec](https://filesystem-spec.readthedocs.io
253256
| `s3://` | Amazon S3 | `s3fs` |
254257
| `gs://`, `gcs://` | Google Cloud Storage | `gcsfs` |
255258
| `az://`, `abfs://` | Azure Blob Storage | `adlfs` |
259+
| `hf://` | Hugging Face Hub | `huggingface_hub` |
256260
| `github://` | GitHub | _(built-in)_ |
257261
| `http://`, `https://` | HTTP(S) | _(built-in)_ |
258262
| `ssh://`, `sftp://` | SSH/SFTP | `paramiko` |

0 commit comments

Comments
 (0)