nerdstack-ark 1.0.0__tar.gz → 1.0.2__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.
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/PKG-INFO +1 -1
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/pyproject.toml +1 -1
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/src/ark_py/models.py +10 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/.gitignore +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/LICENSE +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/README.md +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/examples/django/apps.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/examples/django/views.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/examples/fastapi/app.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/examples/flask/app.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/src/ark_py/__init__.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/src/ark_py/_shared.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/src/ark_py/async_client.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/src/ark_py/errors.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/src/ark_py/py.typed +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/src/ark_py/s3.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/src/ark_py/sync.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/tests/conftest.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/tests/test_async.py +0 -0
- {nerdstack_ark-1.0.0 → nerdstack_ark-1.0.2}/tests/test_sync.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: nerdstack-ark
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Official Python SDK for Ark storage, with sync, async, and S3-compatible access.
|
|
5
5
|
Project-URL: Homepage, https://ark.nerdstackgrp.com
|
|
6
6
|
Project-URL: Documentation, https://github.com/joshhumphrey02/ark-sdk/tree/master/packages/ark-py#readme
|
|
@@ -15,7 +15,15 @@ class ArkFile:
|
|
|
15
15
|
folder_id: str | None
|
|
16
16
|
status: str
|
|
17
17
|
checksum: str | None
|
|
18
|
+
#: Permanent, unsigned CDN delivery URL. Safe to store; it does not expire.
|
|
19
|
+
#: Use this value as-is -- never build a URL from the id or name, and never
|
|
20
|
+
#: append a query parameter to reach a variant. ``thumbnail_url`` is the
|
|
21
|
+
#: thumbnail.
|
|
18
22
|
url: str
|
|
23
|
+
#: Permanent CDN URL for the generated thumbnail, or None if there is none.
|
|
24
|
+
thumbnail_url: str | None
|
|
25
|
+
#: Permanent CDN URL for the compressed variant, or None if there is none.
|
|
26
|
+
compressed_url: str | None
|
|
19
27
|
created_at: str | None
|
|
20
28
|
|
|
21
29
|
@classmethod
|
|
@@ -30,6 +38,8 @@ class ArkFile:
|
|
|
30
38
|
status=str(value.get("status") or "available"),
|
|
31
39
|
checksum=_optional_string(value.get("checksum")),
|
|
32
40
|
url=str(value.get("url") or ""),
|
|
41
|
+
thumbnail_url=_optional_string(value.get("thumbnailUrl")),
|
|
42
|
+
compressed_url=_optional_string(value.get("compressedUrl")),
|
|
33
43
|
created_at=_optional_string(value.get("createdAt")),
|
|
34
44
|
)
|
|
35
45
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|