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.
- {panpath-0.2.0 → panpath-0.4.0}/PKG-INFO +2 -2
- {panpath-0.2.0 → panpath-0.4.0}/README.md +1 -1
- {panpath-0.2.0 → panpath-0.4.0}/panpath/__init__.py +2 -2
- panpath-0.4.0/panpath/azure_async_client.py +816 -0
- panpath-0.4.0/panpath/azure_client.py +669 -0
- {panpath-0.2.0 → panpath-0.4.0}/panpath/azure_path.py +3 -2
- panpath-0.4.0/panpath/base.py +393 -0
- panpath-0.4.0/panpath/clients.py +1137 -0
- {panpath-0.2.0 → panpath-0.4.0}/panpath/cloud.py +166 -110
- {panpath-0.2.0 → panpath-0.4.0}/panpath/exceptions.py +2 -2
- panpath-0.4.0/panpath/gs_async_client.py +792 -0
- {panpath-0.2.0 → panpath-0.4.0}/panpath/gs_client.py +268 -161
- {panpath-0.2.0 → panpath-0.4.0}/panpath/gs_path.py +3 -1
- panpath-0.4.0/panpath/local_path.py +496 -0
- {panpath-0.2.0 → panpath-0.4.0}/panpath/registry.py +12 -2
- panpath-0.4.0/panpath/s3_async_client.py +791 -0
- {panpath-0.2.0 → panpath-0.4.0}/panpath/s3_client.py +264 -183
- {panpath-0.2.0 → panpath-0.4.0}/panpath/s3_path.py +3 -2
- {panpath-0.2.0 → panpath-0.4.0}/pyproject.toml +5 -2
- panpath-0.2.0/panpath/azure_async_client.py +0 -792
- panpath-0.2.0/panpath/azure_client.py +0 -542
- panpath-0.2.0/panpath/base.py +0 -125
- panpath-0.2.0/panpath/clients.py +0 -566
- panpath-0.2.0/panpath/gs_async_client.py +0 -857
- panpath-0.2.0/panpath/local_path.py +0 -228
- panpath-0.2.0/panpath/s3_async_client.py +0 -854
- {panpath-0.2.0 → panpath-0.4.0}/LICENSE +0 -0
- {panpath-0.2.0 → panpath-0.4.0}/panpath/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: panpath
|
|
3
|
-
Version: 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.
|
|
120
|
+
content = await f.read()
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
### 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
|
-
|
|
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.
|
|
59
|
+
__version__ = "0.4.0"
|
|
60
60
|
|
|
61
61
|
__all__ = [
|
|
62
62
|
"PanPath",
|