amsdal_storages 0.1.0__tar.gz → 0.1.1__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.
Files changed (23) hide show
  1. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/PKG-INFO +2 -2
  2. amsdal_storages-0.1.1/amsdal_storages/__about__.py +1 -0
  3. amsdal_storages-0.1.1/change-logs.md +12 -0
  4. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/pyproject.toml +5 -3
  5. amsdal_storages-0.1.1/scripts/tag_check.sh +50 -0
  6. amsdal_storages-0.1.1/tests/__init__.py +0 -0
  7. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/uv.lock +8 -10
  8. amsdal_storages-0.1.0/amsdal_storages/__about__.py +0 -1
  9. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/.amsdal-cli +0 -0
  10. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/.github/workflows/ci.yml +0 -0
  11. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/.github/workflows/release.yml +0 -0
  12. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/.github/workflows/tag_check.yml +0 -0
  13. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/.gitignore +0 -0
  14. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/README.md +0 -0
  15. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/amsdal_storages/Third-Party Materials - AMSDAL Dependencies - License Notices.md +0 -0
  16. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/amsdal_storages/__init__.py +0 -0
  17. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/amsdal_storages/py.typed +0 -0
  18. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/amsdal_storages/s3/__init__.py +0 -0
  19. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/amsdal_storages/s3/storage.py +0 -0
  20. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/config.yml +0 -0
  21. /amsdal_storages-0.1.0/tests/__init__.py → /amsdal_storages-0.1.1/latest-changelogs.md +0 -0
  22. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/license_check.py +0 -0
  23. {amsdal_storages-0.1.0 → amsdal_storages-0.1.1}/tests/test_s3_storage.py +0 -0
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amsdal_storages
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: amsdal_storages plugin for AMSDAL Framework
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: amsdal-models>=0.5.16
7
- Requires-Dist: amsdal[cli]==0.5.10
7
+ Requires-Dist: amsdal[cli]>=0.5.10
8
8
  Provides-Extra: s3
9
9
  Requires-Dist: aioboto3>=11.0.0; extra == 's3'
10
10
  Requires-Dist: boto3; extra == 's3'
@@ -0,0 +1 @@
1
+ __version__ = '0.1.1'
@@ -0,0 +1,12 @@
1
+ ## [vv0.1.1](https://pypi.org/project/amsdal_cli/v0.1.1/) - 2025-09-22
2
+
3
+ ### Fix amsdal deps
4
+
5
+ - Fixed amsdal>=vx.y.z
6
+ -
7
+
8
+ ## [v0.1.0](https://pypi.org/project/amsdal_storages/0.1.0/) - 2025-09-22
9
+
10
+ ### S3
11
+
12
+ - S3 storage implementation
@@ -7,13 +7,13 @@ packages = ["amsdal_storages"]
7
7
 
8
8
  [project]
9
9
  name = "amsdal_storages"
10
- version = "0.1.0"
10
+ dynamic = ["version"]
11
11
  description = "amsdal_storages plugin for AMSDAL Framework"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.11"
14
14
  dependencies = [
15
15
  "amsdal_models>=0.5.16",
16
- "amsdal[cli]==0.5.10",
16
+ "amsdal[cli]>=0.5.10",
17
17
  ]
18
18
 
19
19
  [project.optional-dependencies]
@@ -28,7 +28,6 @@ dev = [
28
28
  "amsdal_storages[s3]",
29
29
  "mypy>=1.17.0",
30
30
  "ruff>=0.12.4",
31
- "coverage[toml]>=7.9",
32
31
  "pytest==8.4.1",
33
32
  "pytest-mock==3.14.1",
34
33
  "pytest-asyncio==1.1.0",
@@ -41,6 +40,9 @@ dev = [
41
40
  "types-boto3",
42
41
  ]
43
42
 
43
+ [tool.hatch.version]
44
+ path = "amsdal_storages/__about__.py"
45
+
44
46
  [tool.hatch.envs.default]
45
47
  installer = "uv"
46
48
  path = ".venv"
@@ -0,0 +1,50 @@
1
+ #!/bin/bash
2
+
3
+ OWNER="amsdal"
4
+ REPO="amsdal_storages"
5
+ FOLDER="./amsdal_storages"
6
+ TAG_PREFIX="v"
7
+ FILE_NAME="__about__.py"
8
+ VERSION_REGEX="^__version__ = ['\"](.*)['\"]"
9
+
10
+
11
+ extract_version() {
12
+ local file_path="$FOLDER/$FILE_NAME"
13
+ local version=""
14
+
15
+ if [[ -f "$file_path" ]]; then
16
+ while IFS= read -r line; do
17
+ if [[ $line =~ $VERSION_REGEX ]]; then
18
+ version="${BASH_REMATCH[1]}"
19
+ break
20
+ fi
21
+ done < "$file_path"
22
+
23
+ if [[ -n $version ]]; then
24
+ echo "$TAG_PREFIX$version"
25
+ else
26
+ echo "Version not found in $FOLDER"
27
+ exit 1
28
+ fi
29
+ else
30
+ echo "File $file_path does not exist"
31
+ exit 1
32
+ fi
33
+ }
34
+
35
+
36
+ fetch_repo_tags() {
37
+ curl -s -H "Authorization: token $GITHUB_TOKEN" \
38
+ "https://api.github.com/repos/$OWNER/$REPO/tags?per_page=100" | jq -r '.[].name'
39
+ }
40
+
41
+ VERSION_TAG=$(extract_version)
42
+ REPO_TAGS=$(fetch_repo_tags)
43
+
44
+ if echo "$REPO_TAGS" | grep -q "^$VERSION_TAG$"; then
45
+ echo "Tag $VERSION_TAG already exists in the repository."
46
+ else
47
+ echo "Tag $VERSION_TAG does not exist in the repository. Creating and pushing tag."
48
+ git tag $VERSION_TAG
49
+ git push origin $VERSION_TAG
50
+ fi
File without changes
@@ -152,7 +152,7 @@ wheels = [
152
152
 
153
153
  [[package]]
154
154
  name = "amsdal"
155
- version = "0.5.10"
155
+ version = "0.5.11"
156
156
  source = { registry = "https://pypi.org/simple" }
157
157
  dependencies = [
158
158
  { name = "amsdal-data" },
@@ -168,12 +168,12 @@ dependencies = [
168
168
  { name = "pyjwt" },
169
169
  ]
170
170
  wheels = [
171
- { url = "https://files.pythonhosted.org/packages/cd/10/7c5b15ccf35a72886b040252e9b6917b365e32344004310527cf2326de21/amsdal-0.5.10-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ffc59417766ec359c3d019ca13430f85ac4e55c06cb55296c51a7fb1f1416d6c", size = 2526821, upload-time = "2025-09-08T15:35:59.581Z" },
172
- { url = "https://files.pythonhosted.org/packages/bf/67/5d656a144f06e11f843c8478f0d6715a20feeec174f866fb5cba7be29810/amsdal-0.5.10-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f8972416fe68980643a1780dce0f3ed63c1833f34dbb045c03df1ff41db90a25", size = 7103810, upload-time = "2025-09-08T15:35:51.698Z" },
173
- { url = "https://files.pythonhosted.org/packages/17/db/c646755b292f4becd4500e73653596dd2da8f38d267687c16aba1fbfec05/amsdal-0.5.10-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8fe705dd6395053e6668a94ddc8217abe867294eaad5cea976c4e73073124ec6", size = 6787637, upload-time = "2025-09-08T15:36:01.942Z" },
174
- { url = "https://files.pythonhosted.org/packages/a0/a0/3058d3b0e1101b1b9c35e338458ba27920de6b0a151bd8124c689491676c/amsdal-0.5.10-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:f1e20fa770aa35a52d9661c57222f00dff594d9d4fa1ddca02790e4238952d4b", size = 2518094, upload-time = "2025-09-08T15:35:57.79Z" },
175
- { url = "https://files.pythonhosted.org/packages/b2/be/d0183fefc5dbd9e716b4e1611f236dc701feb9e2de03b7025f8fdceb5f99/amsdal-0.5.10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b6f3f3f41a47770d518d42d0594d8259b7f4054e598a0f2a39d1f0f291b09a1a", size = 7409059, upload-time = "2025-09-08T15:35:54.229Z" },
176
- { url = "https://files.pythonhosted.org/packages/fd/d2/6a69d40d20f86d206b337c552924b85d15d4f6c9995c834f2335f0d41d72/amsdal-0.5.10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1010ca047c7ada762e79e46d2bd57748e42522da7cc6a0075b74e2634ccfa4a1", size = 7102438, upload-time = "2025-09-08T15:35:56.258Z" },
171
+ { url = "https://files.pythonhosted.org/packages/95/70/d747912ec4088974615278eb51fed52dc15190ad407a3e4c32930a07928d/amsdal-0.5.11-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a3057a3292ba8d320ee015ed796621d56e596d2e86da2c30a33dae408d8bf39e", size = 2529279, upload-time = "2025-09-19T20:14:32.915Z" },
172
+ { url = "https://files.pythonhosted.org/packages/ea/fb/8cac9a476758fde62c090f11f17b60e66a3652cbd17c3452b1ce6ac071e1/amsdal-0.5.11-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f692fd37d51d4d6da8eb75ba3c45d9e2505a572cf9267da089bc46e1e47c8d0e", size = 7106251, upload-time = "2025-09-19T20:14:30.955Z" },
173
+ { url = "https://files.pythonhosted.org/packages/17/16/a9439987bd50c9ffef0a089ecde741902349b415b658f27ae05d87d4f023/amsdal-0.5.11-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9f5ee602cb9e5d8286a0596cc763b98d4e4642d878a7cb0ee87deb150d4d64f5", size = 6790076, upload-time = "2025-09-19T20:14:34.629Z" },
174
+ { url = "https://files.pythonhosted.org/packages/3a/74/07033134f2871243c70062307d8455ce908e49afc50e83656537f32c0ed9/amsdal-0.5.11-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:b1f0e82245db24fd7542f77c7a8ec3a9a3df0e3c6180b2068eebf3d393fd9269", size = 2520586, upload-time = "2025-09-19T20:14:36.591Z" },
175
+ { url = "https://files.pythonhosted.org/packages/49/3f/a7e7beb6da836f75eb78f461a535d97ea3ca095e38ecb27531c7760c23c1/amsdal-0.5.11-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:695090394dd5af5d96083faa625e987cecc55aa0c628a82df4dbcf8622c21639", size = 7411499, upload-time = "2025-09-19T20:14:38.378Z" },
176
+ { url = "https://files.pythonhosted.org/packages/7b/b3/54fda4050ed7a07cc94a6902d47fae70cb2553b7f8b5291bc46035f69e28/amsdal-0.5.11-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:eff6aaff48b39ea1ff3c6acc5dfce1433d6ac4b42b793d14455f287d86479866", size = 7104877, upload-time = "2025-09-19T20:14:39.959Z" },
177
177
  ]
178
178
 
179
179
  [package.optional-dependencies]
@@ -304,7 +304,6 @@ wheels = [
304
304
 
305
305
  [[package]]
306
306
  name = "amsdal-storages"
307
- version = "0.1.0"
308
307
  source = { editable = "." }
309
308
  dependencies = [
310
309
  { name = "amsdal", extra = ["cli"] },
@@ -338,7 +337,7 @@ dev = [
338
337
  [package.metadata]
339
338
  requires-dist = [
340
339
  { name = "aioboto3", marker = "extra == 's3'", specifier = ">=11.0.0" },
341
- { name = "amsdal", extras = ["cli"], specifier = "==0.5.10" },
340
+ { name = "amsdal", extras = ["cli"], specifier = ">=0.5.10" },
342
341
  { name = "amsdal-models", specifier = ">=0.5.16" },
343
342
  { name = "boto3", marker = "extra == 's3'" },
344
343
  ]
@@ -347,7 +346,6 @@ provides-extras = ["s3"]
347
346
  [package.metadata.requires-dev]
348
347
  dev = [
349
348
  { name = "amsdal-storages", extras = ["s3"] },
350
- { name = "coverage", extras = ["toml"], specifier = ">=7.9" },
351
349
  { name = "coverage", extras = ["toml"], specifier = ">=7.10" },
352
350
  { name = "mypy", specifier = ">=1.17.0" },
353
351
  { name = "pandas-stubs" },
@@ -1 +0,0 @@
1
- __version__ = '0.1.0'