python3-commons 0.12.3__tar.gz → 0.12.5__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.3 → python3_commons-0.12.5}/.pre-commit-config.yaml +2 -2
- python3_commons-0.12.5/.python-version +1 -0
- {python3_commons-0.12.3/src/python3_commons.egg-info → python3_commons-0.12.5}/PKG-INFO +3 -3
- {python3_commons-0.12.3 → python3_commons-0.12.5}/pyproject.toml +2 -2
- {python3_commons-0.12.3 → python3_commons-0.12.5/src/python3_commons.egg-info}/PKG-INFO +3 -3
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons.egg-info/requires.txt +1 -1
- {python3_commons-0.12.3 → python3_commons-0.12.5}/tests/test_msgspec.py +7 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/uv.lock +318 -306
- python3_commons-0.12.3/.python-version +0 -1
- {python3_commons-0.12.3 → python3_commons-0.12.5}/.coveragerc +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/.github/workflows/checks.yml +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/.github/workflows/python-publish.yaml +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/.github/workflows/release-on-tag-push.yml +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/.gitignore +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/AUTHORS.rst +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/CHANGELOG.rst +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/LICENSE +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/README.md +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/README.rst +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/docs/Makefile +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/docs/_static/.gitignore +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/docs/authors.rst +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/docs/changelog.rst +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/docs/conf.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/docs/index.rst +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/docs/license.rst +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/setup.cfg +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/__init__.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/api_client.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/audit.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/auth.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/cache.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/conf.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/db/__init__.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/db/helpers.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/db/models/__init__.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/db/models/auth.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/db/models/common.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/db/models/rbac.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/fs.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/helpers.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/log/__init__.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/log/filters.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/log/formatters.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/object_storage.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/permissions.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/serializers/__init__.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/serializers/common.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/serializers/json.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/serializers/msgpack.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons/serializers/msgspec.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons.egg-info/SOURCES.txt +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons.egg-info/dependency_links.txt +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/src/python3_commons.egg-info/top_level.txt +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/tests/__init__.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/tests/conftest.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/tests/test_audit.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/tests/test_cache.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/tests/test_helpers.py +0 -0
- {python3_commons-0.12.3 → python3_commons-0.12.5}/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.5
|
|
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,7 +8,7 @@ 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
|
|
@@ -20,7 +20,7 @@ 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
26
|
Requires-Dist: SQLAlchemy[asyncio]~=2.0.44
|
|
@@ -16,7 +16,7 @@ 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
21
|
"aiobotocore~=2.25.0",
|
|
22
22
|
"aiohttp[speedups]>=3.12.0,<3.15.0",
|
|
@@ -26,7 +26,7 @@ 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
32
|
"SQLAlchemy[asyncio]~=2.0.44",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python3-commons
|
|
3
|
-
Version: 0.12.
|
|
3
|
+
Version: 0.12.5
|
|
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,7 +8,7 @@ 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
|
|
@@ -20,7 +20,7 @@ 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
26
|
Requires-Dist: SQLAlchemy[asyncio]~=2.0.44
|
|
@@ -69,3 +69,10 @@ 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
|
+
data = msgspec.json.encode(msgspec_struct)
|
|
76
|
+
struct = msgspec.json.decode(data, type=msgspec_struct.__class__)
|
|
77
|
+
|
|
78
|
+
assert struct == msgspec_struct
|