python3-commons 0.12.2__tar.gz → 0.12.4__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.
Potentially problematic release.
This version of python3-commons might be problematic. Click here for more details.
- {python3_commons-0.12.2 → python3_commons-0.12.4}/.pre-commit-config.yaml +2 -2
- python3_commons-0.12.4/.python-version +1 -0
- {python3_commons-0.12.2/src/python3_commons.egg-info → python3_commons-0.12.4}/PKG-INFO +5 -5
- {python3_commons-0.12.2 → python3_commons-0.12.4}/pyproject.toml +4 -4
- {python3_commons-0.12.2 → python3_commons-0.12.4/src/python3_commons.egg-info}/PKG-INFO +5 -5
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons.egg-info/requires.txt +3 -3
- {python3_commons-0.12.2 → python3_commons-0.12.4}/tests/test_msgspec.py +8 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/uv.lock +344 -332
- python3_commons-0.12.2/.python-version +0 -1
- {python3_commons-0.12.2 → python3_commons-0.12.4}/.coveragerc +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/.github/workflows/checks.yml +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/.github/workflows/python-publish.yaml +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/.github/workflows/release-on-tag-push.yml +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/.gitignore +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/AUTHORS.rst +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/CHANGELOG.rst +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/LICENSE +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/README.md +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/README.rst +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/docs/Makefile +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/docs/_static/.gitignore +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/docs/authors.rst +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/docs/changelog.rst +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/docs/conf.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/docs/index.rst +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/docs/license.rst +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/setup.cfg +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/__init__.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/api_client.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/audit.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/auth.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/cache.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/conf.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/db/__init__.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/db/helpers.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/db/models/__init__.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/db/models/auth.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/db/models/common.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/db/models/rbac.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/fs.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/helpers.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/log/__init__.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/log/filters.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/log/formatters.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/object_storage.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/permissions.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/serializers/__init__.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/serializers/common.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/serializers/json.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/serializers/msgpack.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons/serializers/msgspec.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons.egg-info/SOURCES.txt +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons.egg-info/dependency_links.txt +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/src/python3_commons.egg-info/top_level.txt +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/tests/__init__.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/tests/conftest.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/tests/test_audit.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/tests/test_cache.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/tests/test_helpers.py +0 -0
- {python3_commons-0.12.2 → python3_commons-0.12.4}/tests/test_msgpack.py +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
repos:
|
|
2
2
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
3
|
-
rev: 0.9.
|
|
3
|
+
rev: 0.9.4
|
|
4
4
|
hooks:
|
|
5
5
|
- id: uv-lock
|
|
6
6
|
# - id: uv-export
|
|
7
7
|
|
|
8
8
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
9
|
-
rev: v0.14.
|
|
9
|
+
rev: v0.14.1
|
|
10
10
|
hooks:
|
|
11
11
|
# Run the linter.
|
|
12
12
|
- id: ruff-check
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
>=3.13.9,<3.15.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python3-commons
|
|
3
|
-
Version: 0.12.
|
|
3
|
+
Version: 0.12.4
|
|
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
|
|
@@ -8,11 +8,11 @@ Project-URL: Homepage, https://github.com/kamikaze/python3-commons
|
|
|
8
8
|
Project-URL: Documentation, https://github.com/kamikaze/python3-commons/wiki
|
|
9
9
|
Classifier: Development Status :: 4 - Beta
|
|
10
10
|
Classifier: Programming Language :: Python
|
|
11
|
-
Requires-Python: <3.15.0,>=3.13.
|
|
11
|
+
Requires-Python: <3.15.0,>=3.13.9
|
|
12
12
|
Description-Content-Type: text/x-rst
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
License-File: AUTHORS.rst
|
|
15
|
-
Requires-Dist: aiobotocore~=2.
|
|
15
|
+
Requires-Dist: aiobotocore~=2.25.0
|
|
16
16
|
Requires-Dist: aiohttp[speedups]<3.15.0,>=3.12.0
|
|
17
17
|
Requires-Dist: asyncpg~=0.30.0
|
|
18
18
|
Requires-Dist: fastapi-users-db-sqlalchemy~=7.0.0
|
|
@@ -20,10 +20,10 @@ Requires-Dist: fastapi-users[sqlalchemy]~=14.0.1
|
|
|
20
20
|
Requires-Dist: lxml~=6.0.2
|
|
21
21
|
Requires-Dist: msgpack~=1.1.2
|
|
22
22
|
Requires-Dist: msgspec~=0.19.0
|
|
23
|
-
Requires-Dist: pydantic[email]~=2.12.
|
|
23
|
+
Requires-Dist: pydantic[email]~=2.12.3
|
|
24
24
|
Requires-Dist: pydantic-settings~=2.11.0
|
|
25
25
|
Requires-Dist: python-jose==3.5.0
|
|
26
|
-
Requires-Dist: SQLAlchemy[asyncio]~=2.0.
|
|
26
|
+
Requires-Dist: SQLAlchemy[asyncio]~=2.0.44
|
|
27
27
|
Requires-Dist: valkey[libvalkey]~=6.1.1
|
|
28
28
|
Requires-Dist: zeep~=4.3.2
|
|
29
29
|
Dynamic: license-file
|
|
@@ -16,9 +16,9 @@ classifiers = [
|
|
|
16
16
|
"Programming Language :: Python"
|
|
17
17
|
]
|
|
18
18
|
keywords = []
|
|
19
|
-
requires-python = ">=3.13.
|
|
19
|
+
requires-python = ">=3.13.9,<3.15.0"
|
|
20
20
|
dependencies = [
|
|
21
|
-
"aiobotocore~=2.
|
|
21
|
+
"aiobotocore~=2.25.0",
|
|
22
22
|
"aiohttp[speedups]>=3.12.0,<3.15.0",
|
|
23
23
|
"asyncpg~=0.30.0",
|
|
24
24
|
"fastapi-users-db-sqlalchemy~=7.0.0",
|
|
@@ -26,10 +26,10 @@ dependencies = [
|
|
|
26
26
|
"lxml~=6.0.2",
|
|
27
27
|
"msgpack~=1.1.2",
|
|
28
28
|
"msgspec~=0.19.0",
|
|
29
|
-
"pydantic[email]~=2.12.
|
|
29
|
+
"pydantic[email]~=2.12.3",
|
|
30
30
|
"pydantic-settings~=2.11.0",
|
|
31
31
|
"python-jose==3.5.0",
|
|
32
|
-
"SQLAlchemy[asyncio]~=2.0.
|
|
32
|
+
"SQLAlchemy[asyncio]~=2.0.44",
|
|
33
33
|
"valkey[libvalkey]~=6.1.1",
|
|
34
34
|
"zeep~=4.3.2"
|
|
35
35
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python3-commons
|
|
3
|
-
Version: 0.12.
|
|
3
|
+
Version: 0.12.4
|
|
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
|
|
@@ -8,11 +8,11 @@ Project-URL: Homepage, https://github.com/kamikaze/python3-commons
|
|
|
8
8
|
Project-URL: Documentation, https://github.com/kamikaze/python3-commons/wiki
|
|
9
9
|
Classifier: Development Status :: 4 - Beta
|
|
10
10
|
Classifier: Programming Language :: Python
|
|
11
|
-
Requires-Python: <3.15.0,>=3.13.
|
|
11
|
+
Requires-Python: <3.15.0,>=3.13.9
|
|
12
12
|
Description-Content-Type: text/x-rst
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
License-File: AUTHORS.rst
|
|
15
|
-
Requires-Dist: aiobotocore~=2.
|
|
15
|
+
Requires-Dist: aiobotocore~=2.25.0
|
|
16
16
|
Requires-Dist: aiohttp[speedups]<3.15.0,>=3.12.0
|
|
17
17
|
Requires-Dist: asyncpg~=0.30.0
|
|
18
18
|
Requires-Dist: fastapi-users-db-sqlalchemy~=7.0.0
|
|
@@ -20,10 +20,10 @@ Requires-Dist: fastapi-users[sqlalchemy]~=14.0.1
|
|
|
20
20
|
Requires-Dist: lxml~=6.0.2
|
|
21
21
|
Requires-Dist: msgpack~=1.1.2
|
|
22
22
|
Requires-Dist: msgspec~=0.19.0
|
|
23
|
-
Requires-Dist: pydantic[email]~=2.12.
|
|
23
|
+
Requires-Dist: pydantic[email]~=2.12.3
|
|
24
24
|
Requires-Dist: pydantic-settings~=2.11.0
|
|
25
25
|
Requires-Dist: python-jose==3.5.0
|
|
26
|
-
Requires-Dist: SQLAlchemy[asyncio]~=2.0.
|
|
26
|
+
Requires-Dist: SQLAlchemy[asyncio]~=2.0.44
|
|
27
27
|
Requires-Dist: valkey[libvalkey]~=6.1.1
|
|
28
28
|
Requires-Dist: zeep~=4.3.2
|
|
29
29
|
Dynamic: license-file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
aiobotocore~=2.
|
|
1
|
+
aiobotocore~=2.25.0
|
|
2
2
|
aiohttp[speedups]<3.15.0,>=3.12.0
|
|
3
3
|
asyncpg~=0.30.0
|
|
4
4
|
fastapi-users-db-sqlalchemy~=7.0.0
|
|
@@ -6,9 +6,9 @@ fastapi-users[sqlalchemy]~=14.0.1
|
|
|
6
6
|
lxml~=6.0.2
|
|
7
7
|
msgpack~=1.1.2
|
|
8
8
|
msgspec~=0.19.0
|
|
9
|
-
pydantic[email]~=2.12.
|
|
9
|
+
pydantic[email]~=2.12.3
|
|
10
10
|
pydantic-settings~=2.11.0
|
|
11
11
|
python-jose==3.5.0
|
|
12
|
-
SQLAlchemy[asyncio]~=2.0.
|
|
12
|
+
SQLAlchemy[asyncio]~=2.0.44
|
|
13
13
|
valkey[libvalkey]~=6.1.1
|
|
14
14
|
zeep~=4.3.2
|
|
@@ -69,3 +69,11 @@ def test_encode_decode_pydantic_struct_to_msgpack_native(pydantic_struct):
|
|
|
69
69
|
decoded_struct = msgspec.deserialize_msgpack_native(binary_data, pydantic_struct.__class__)
|
|
70
70
|
|
|
71
71
|
assert decoded_struct == pydantic_struct
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
def test_encode_decode_struct_to_json(msgspec_struct):
|
|
75
|
+
import msgspec
|
|
76
|
+
data = msgspec.json.encode(msgspec_struct)
|
|
77
|
+
struct = msgspec.json.decode(data, type=msgspec_struct.__class__)
|
|
78
|
+
|
|
79
|
+
assert struct == msgspec_struct
|