panpath 0.2.0__tar.gz → 0.4.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: panpath
3
- Version: 0.2.0
3
+ Version: 0.4.0
4
4
  Summary: Universal sync/async local/cloud path library with pathlib-compatible interface
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -117,7 +117,7 @@ content = await gs_path.a_read_text()
117
117
  # Async local files
118
118
  local_path = PanPath("/path/to/file.txt")
119
119
  async with local_path.a_open("r") as f:
120
- content = await f.a_read()
120
+ content = await f.read()
121
121
  ```
122
122
 
123
123
  ### Path Operations
@@ -75,7 +75,7 @@ content = await gs_path.a_read_text()
75
75
  # Async local files
76
76
  local_path = PanPath("/path/to/file.txt")
77
77
  async with local_path.a_open("r") as f:
78
- content = await f.a_read()
78
+ content = await f.read()
79
79
  ```
80
80
 
81
81
  ### Path Operations
@@ -35,7 +35,7 @@ try:
35
35
  register_path_class("s3", S3Path)
36
36
  except ImportError:
37
37
  # S3 dependencies not installed
38
- pass
38
+ raise
39
39
 
40
40
  # Register Google Cloud Storage
41
41
  try:
@@ -56,7 +56,7 @@ except ImportError:
56
56
  # Azure dependencies not installed
57
57
  pass
58
58
 
59
- __version__ = "0.2.0"
59
+ __version__ = "0.4.0"
60
60
 
61
61
  __all__ = [
62
62
  "PanPath",