python3-commons 0.23.1__py3-none-any.whl → 0.23.3__py3-none-any.whl

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.
@@ -45,16 +45,16 @@ class ObjectStorage(metaclass=SingletonMeta):
45
45
  self._session = aiobotocore.session.get_session()
46
46
  config = {
47
47
  'region_name': settings.s3_region,
48
- 'use_ssl': settings.s3_allow_http,
48
+ 'use_ssl': not settings.s3_allow_http,
49
49
  'verify': settings.s3_cert_verify,
50
50
  'config': Config(s3={'addressing_style': settings.s3_addressing_style}, signature_version='s3v4'),
51
51
  }
52
52
 
53
- if aws_access_key_id := settings.s3_access_key_id:
54
- config['aws_access_key_id'] = aws_access_key_id.get_secret_value()
53
+ if s3_access_key_id := settings.s3_access_key_id:
54
+ config['aws_access_key_id'] = s3_access_key_id.get_secret_value()
55
55
 
56
- if aws_secret_access_key := settings.s3_secret_access_key:
57
- config['aws_secret_access_key'] = aws_secret_access_key.get_secret_value()
56
+ if s3_secret_access_key := settings.s3_secret_access_key:
57
+ config['aws_secret_access_key'] = s3_secret_access_key.get_secret_value()
58
58
 
59
59
  self._config = config
60
60
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python3-commons
3
- Version: 0.23.1
3
+ Version: 0.23.3
4
4
  Summary: Re-usable Python3 code
5
5
  Author-email: Oleg Korsak <kamikaze.is.waiting.you@gmail.com>
6
6
  License-Expression: GPL-3.0
@@ -19,15 +19,15 @@ Provides-Extra: all
19
19
  Requires-Dist: python3_commons[api-client,audit,authn,authz,cache,database,object-storage,soap-client]; extra == "all"
20
20
  Provides-Extra: api-client
21
21
  Requires-Dist: aiohttp[speedups]<3.15.0,>=3.14.1; extra == "api-client"
22
- Requires-Dist: certifi~=2026.6.17; extra == "api-client"
22
+ Requires-Dist: certifi~=2026.7.22; extra == "api-client"
23
23
  Requires-Dist: python3_commons[audit,object-storage]; extra == "api-client"
24
24
  Provides-Extra: audit
25
25
  Requires-Dist: lxml~=6.1.1; extra == "audit"
26
26
  Requires-Dist: zeep[async]~=4.3.3; extra == "audit"
27
27
  Requires-Dist: python3_commons[object-storage]; extra == "audit"
28
28
  Provides-Extra: authn
29
- Requires-Dist: aiohttp[speedups]<3.15.0,>=3.14.1; extra == "authn"
30
- Requires-Dist: certifi~=2026.6.17; extra == "authn"
29
+ Requires-Dist: aiohttp[speedups]<3.15.0,>=3.14.3; extra == "authn"
30
+ Requires-Dist: certifi~=2026.7.22; extra == "authn"
31
31
  Requires-Dist: python3_commons[api-client]; extra == "authn"
32
32
  Provides-Extra: authz
33
33
  Requires-Dist: python3_commons[database]; extra == "authz"
@@ -39,10 +39,10 @@ Requires-Dist: asyncpg~=0.31.0; extra == "database"
39
39
  Requires-Dist: SQLAlchemy[asyncio]~=2.0.51; extra == "database"
40
40
  Provides-Extra: object-storage
41
41
  Requires-Dist: aiobotocore~=3.7.0; extra == "object-storage"
42
- Requires-Dist: object-storage-client~=0.1.0; extra == "object-storage"
42
+ Requires-Dist: object-storage-client~=0.1.1; extra == "object-storage"
43
43
  Provides-Extra: soap-client
44
- Requires-Dist: aiohttp[speedups]<3.15.0,>=3.14.1; extra == "soap-client"
45
- Requires-Dist: certifi~=2026.6.17; extra == "soap-client"
44
+ Requires-Dist: aiohttp[speedups]<3.15.0,>=3.14.3; extra == "soap-client"
45
+ Requires-Dist: certifi~=2026.7.22; extra == "soap-client"
46
46
  Requires-Dist: lxml~=6.1.1; extra == "soap-client"
47
47
  Requires-Dist: requests~=2.34.2; extra == "soap-client"
48
48
  Requires-Dist: zeep[async]~=4.3.3; extra == "soap-client"
@@ -9,7 +9,7 @@ python3_commons/exceptions.py,sha256=EGjHZVBnsM6CeBfPMqhL0IPMKjDJ_2-Z-aSPXwq91LE
9
9
  python3_commons/fs.py,sha256=dn8ZcwsQf9xcAEg6neoxLN6IzJbWpprfm8wV8S55BL0,337
10
10
  python3_commons/generators.py,sha256=P6sKdCFhHT79-DZgzPU-qmwZvHg3wU8a75UFIwrycOY,1163
11
11
  python3_commons/helpers.py,sha256=WTPu_jIOGYtxt1GYnH6sBMNDHry99AKv6ZaggGW2l1A,4986
12
- python3_commons/object_storage.py,sha256=jbV3-glo4gYrAdLNZ9EohFt8Ott5m7bP14OfWfsoXMk,7176
12
+ python3_commons/object_storage.py,sha256=EkDPTw373UdWp6h3klOYygizx-0uyXT8Sim-zRCbB3g,7176
13
13
  python3_commons/permissions.py,sha256=gaMKSWg0MgPQTdP1voll4ItXcblXku9BlD0Lq3Xv64U,1724
14
14
  python3_commons/soap_client.py,sha256=w2lOyhhtkhwiNnHjvir8DfjGBO51XVg5rlDHyuudU2A,7169
15
15
  python3_commons/db/__init__.py,sha256=GP_9GXZUUgNvehFUCsXTIWThIMFW60Hwve7sve2oPgM,10188
@@ -27,11 +27,9 @@ python3_commons/serializers/common.py,sha256=VkA7C6wODvHk0QBXVX_x2JieDstihx3U__U
27
27
  python3_commons/serializers/json.py,sha256=UPkC3ps13x2C_NxwVV-K7Ewp4VjkVHSSUkJVw5k7Wiw,712
28
28
  python3_commons/serializers/msgpack.py,sha256=zESFBX34GsZ8rDu6Zk5V6CLT6P0mPilU0r04Ka6TblI,1474
29
29
  python3_commons/serializers/msgspec.py,sha256=upy5CBmK66-8hYnK5bAM_sZvZY5CAqZmzCw9GIF346I,2988
30
- python3_commons-0.23.1.dist-info/licenses/AUTHORS.rst,sha256=3R9JnfjfjH5RoPWOeqKFJgxVShSSfzQPIrEr1nxIo9Q,90
31
- python3_commons-0.23.1.dist-info/licenses/LICENSE,sha256=xxILuojHm4fKQOrMHPSslbyy6WuKAN2RiG74HbrYfzM,34575
32
- python3_commons-0.23.1.dist-info/METADATA,sha256=SjRJ-GJdIiQ9iWOSKKRAd9smtr5bwqTc8ZQut-dtNgQ,9471
33
- python3_commons-0.23.1.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
34
- python3_commons-0.23.1.dist-info/scm_file_list.json,sha256=_VHernCbTfExHtROxsobMxaHoIS1TJJ6S-8WTB3Aqvs,2549
35
- python3_commons-0.23.1.dist-info/scm_version.json,sha256=TYBS0TA0hA2wmVOO8Hyheapwj3GkAkrvnqflhWUaXNU,161
36
- python3_commons-0.23.1.dist-info/top_level.txt,sha256=lJI6sCBf68eUHzupCnn2dzG10lH3jJKTWM_hrN1cQ7M,16
37
- python3_commons-0.23.1.dist-info/RECORD,,
30
+ python3_commons-0.23.3.dist-info/licenses/AUTHORS.rst,sha256=3R9JnfjfjH5RoPWOeqKFJgxVShSSfzQPIrEr1nxIo9Q,90
31
+ python3_commons-0.23.3.dist-info/licenses/LICENSE,sha256=xxILuojHm4fKQOrMHPSslbyy6WuKAN2RiG74HbrYfzM,34575
32
+ python3_commons-0.23.3.dist-info/METADATA,sha256=Qcr1VA1LSofR7noaIK0z2Un8uB1jR8wLOUyssKytqGQ,9471
33
+ python3_commons-0.23.3.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
34
+ python3_commons-0.23.3.dist-info/top_level.txt,sha256=lJI6sCBf68eUHzupCnn2dzG10lH3jJKTWM_hrN1cQ7M,16
35
+ python3_commons-0.23.3.dist-info/RECORD,,
@@ -1,76 +0,0 @@
1
- {
2
- "files": [
3
- ".gitignore",
4
- ".python-version",
5
- "README.md",
6
- "AUTHORS.rst",
7
- "CHANGELOG.rst",
8
- "pyproject.toml",
9
- ".env_template",
10
- ".coveragerc",
11
- ".pre-commit-config.yaml",
12
- "uv.lock",
13
- "LICENSE",
14
- "README.rst",
15
- "src/python3_commons/conf.py",
16
- "src/python3_commons/soap_client.py",
17
- "src/python3_commons/async_functools.py",
18
- "src/python3_commons/permissions.py",
19
- "src/python3_commons/fs.py",
20
- "src/python3_commons/api_client.py",
21
- "src/python3_commons/audit.py",
22
- "src/python3_commons/object_storage.py",
23
- "src/python3_commons/exceptions.py",
24
- "src/python3_commons/helpers.py",
25
- "src/python3_commons/generators.py",
26
- "src/python3_commons/cache.py",
27
- "src/python3_commons/auth.py",
28
- "src/python3_commons/__init__.py",
29
- "src/python3_commons/db/helpers.py",
30
- "src/python3_commons/db/__init__.py",
31
- "src/python3_commons/db/models/common.py",
32
- "src/python3_commons/db/models/rbac.py",
33
- "src/python3_commons/db/models/auth.py",
34
- "src/python3_commons/db/models/users.py",
35
- "src/python3_commons/db/models/__init__.py",
36
- "src/python3_commons/log/filters.py",
37
- "src/python3_commons/log/formatters.py",
38
- "src/python3_commons/log/__init__.py",
39
- "src/python3_commons/serializers/msgspec.py",
40
- "src/python3_commons/serializers/json.py",
41
- "src/python3_commons/serializers/common.py",
42
- "src/python3_commons/serializers/msgpack.py",
43
- "src/python3_commons/serializers/__init__.py",
44
- ".devcontainer/docker-compose.yml",
45
- ".devcontainer/Dockerfile",
46
- ".devcontainer/devcontainer.json",
47
- ".github/workflows/checks.yml",
48
- ".github/workflows/release-on-tag-push.yml",
49
- ".github/workflows/python-publish.yaml",
50
- "tests/__init__.py",
51
- "tests/integration/conftest.py",
52
- "tests/integration/test_osc.py",
53
- "tests/integration/test_cache.py",
54
- "tests/integration/test_auth.py",
55
- "tests/integration/__init__.py",
56
- "tests/unit/test_async_functools.py",
57
- "tests/unit/conftest.py",
58
- "tests/unit/test_msgspec.py",
59
- "tests/unit/test_audit.py",
60
- "tests/unit/test_auth.py",
61
- "tests/unit/test_msgpack.py",
62
- "tests/unit/test_helpers.py",
63
- "tests/unit/__init__.py",
64
- "tests/unit/db/test_async_session_manager.py",
65
- "tests/unit/db/__init__.py",
66
- "tests/unit/log/test_formatters.py",
67
- "tests/unit/log/__init__.py",
68
- "docs/conf.py",
69
- "docs/Makefile",
70
- "docs/index.rst",
71
- "docs/authors.rst",
72
- "docs/changelog.rst",
73
- "docs/license.rst",
74
- "docs/_static/.gitignore"
75
- ]
76
- }
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "0.23.1",
3
- "distance": 0,
4
- "node": "g344197eec15bc63aef35bfc2e7836851c94766a1",
5
- "dirty": false,
6
- "branch": "HEAD",
7
- "node_date": "2026-07-20"
8
- }