tracktolib 0.58.0__tar.gz → 0.59.0__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.
- {tracktolib-0.58.0 → tracktolib-0.59.0}/PKG-INFO +4 -2
- {tracktolib-0.58.0 → tracktolib-0.59.0}/pyproject.toml +2 -2
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/api.py +2 -1
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/pg_sync.py +3 -1
- {tracktolib-0.58.0 → tracktolib-0.59.0}/LICENSE +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/README.md +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/__init__.py +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/http_utils.py +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/logs.py +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/pg/__init__.py +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/pg/query.py +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/pg/utils.py +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/pg_utils.py +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/s3/__init__.py +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/s3/minio.py +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/s3/s3.py +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/tests.py +0 -0
- {tracktolib-0.58.0 → tracktolib-0.59.0}/tracktolib/utils.py +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: tracktolib
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.59.0
|
|
4
4
|
Summary: Utility library for python
|
|
5
5
|
License: MIT
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Keywords: utility
|
|
7
8
|
Author: Julien Brayere
|
|
8
9
|
Author-email: julien.brayere@tracktor.fr
|
|
@@ -12,6 +13,7 @@ Classifier: Operating System :: OS Independent
|
|
|
12
13
|
Classifier: Programming Language :: Python :: 3
|
|
13
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
15
|
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
17
|
Provides-Extra: api
|
|
16
18
|
Provides-Extra: http
|
|
17
19
|
Provides-Extra: logs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "tracktolib"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.59.0"
|
|
4
4
|
description = "Utility library for python"
|
|
5
5
|
authors = ["Julien Brayere <julien.brayere@tracktor.fr>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -83,7 +83,7 @@ pythonPlatform = "Linux"
|
|
|
83
83
|
|
|
84
84
|
[tool.commitizen]
|
|
85
85
|
name = "cz_conventional_commits"
|
|
86
|
-
version = "0.
|
|
86
|
+
version = "0.59.0"
|
|
87
87
|
tag_format = "$version"
|
|
88
88
|
version_files = [
|
|
89
89
|
"pyproject.toml:version"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import warnings
|
|
3
|
+
from collections.abc import Mapping
|
|
3
4
|
from dataclasses import field, dataclass
|
|
4
5
|
from inspect import getdoc
|
|
5
6
|
from typing import (
|
|
@@ -49,7 +50,7 @@ def Depends(
|
|
|
49
50
|
|
|
50
51
|
B = TypeVar("B", bound=BaseModel | None | Sequence[BaseModel])
|
|
51
52
|
|
|
52
|
-
Response =
|
|
53
|
+
Response = Mapping | Sequence[Mapping] | B
|
|
53
54
|
|
|
54
55
|
Method = Literal["GET", "POST", "DELETE", "PATCH", "PUT"]
|
|
55
56
|
|
|
@@ -94,7 +94,9 @@ def insert_many(engine: Connection | Cursor, table: LiteralString, data: Sequenc
|
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
@overload
|
|
97
|
-
def insert_one(
|
|
97
|
+
def insert_one(
|
|
98
|
+
engine: Connection | Cursor, table: LiteralString, data: Mapping[str, Any], returning: None = None
|
|
99
|
+
) -> None: ...
|
|
98
100
|
|
|
99
101
|
|
|
100
102
|
@overload
|
|
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
|