mypy-boto3-dynamodb 1.35.60__py3-none-any.whl → 1.35.93__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.
- mypy_boto3_dynamodb/__init__.py +8 -1
- mypy_boto3_dynamodb/__init__.pyi +7 -1
- mypy_boto3_dynamodb/__main__.py +11 -8
- mypy_boto3_dynamodb/client.py +176 -181
- mypy_boto3_dynamodb/client.pyi +176 -180
- mypy_boto3_dynamodb/literals.py +19 -1
- mypy_boto3_dynamodb/literals.pyi +19 -1
- mypy_boto3_dynamodb/paginator.py +69 -45
- mypy_boto3_dynamodb/paginator.pyi +65 -44
- mypy_boto3_dynamodb/service_resource.py +100 -102
- mypy_boto3_dynamodb/service_resource.pyi +100 -102
- mypy_boto3_dynamodb/type_defs.py +70 -67
- mypy_boto3_dynamodb/type_defs.pyi +66 -61
- mypy_boto3_dynamodb/version.py +3 -1
- mypy_boto3_dynamodb/waiter.py +16 -11
- mypy_boto3_dynamodb/waiter.pyi +16 -11
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/LICENSE +1 -1
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/METADATA +79 -26
- mypy_boto3_dynamodb-1.35.93.dist-info/RECORD +22 -0
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/WHEEL +1 -1
- mypy_boto3_dynamodb-1.35.60.dist-info/RECORD +0 -22
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-dynamodb
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
3
|
+
Version: 1.35.93
|
|
4
|
+
Summary: Type annotations for boto3 DynamoDB 1.35.93 service generated with mypy-boto3-builder 8.8.0
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -9,7 +9,7 @@ License: MIT License
|
|
|
9
9
|
Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/
|
|
10
10
|
Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
|
|
11
11
|
Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
|
|
12
|
-
Keywords: boto3 dynamodb type-annotations
|
|
12
|
+
Keywords: boto3 dynamodb boto3-stubs type-annotations mypy typeshed autocomplete
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
15
|
Classifier: Environment :: Console
|
|
@@ -30,41 +30,41 @@ Classifier: Typing :: Stubs Only
|
|
|
30
30
|
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/markdown
|
|
32
32
|
License-File: LICENSE
|
|
33
|
-
Requires-Dist: typing-extensions
|
|
33
|
+
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
34
34
|
|
|
35
35
|
<a id="mypy-boto3-dynamodb"></a>
|
|
36
36
|
|
|
37
37
|
# mypy-boto3-dynamodb
|
|
38
38
|
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-dynamodb)
|
|
40
|
-
[](https://pypi.org/project/mypy-boto3-dynamodb)
|
|
41
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
42
|
-
[](https://
|
|
39
|
+
[](https://pypi.org/project/mypy-boto3-dynamodb/)
|
|
40
|
+
[](https://pypi.org/project/mypy-boto3-dynamodb/)
|
|
41
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
42
|
+
[](https://pypistats.org/packages/mypy-boto3-dynamodb)
|
|
43
43
|
|
|
44
44
|

|
|
45
45
|
|
|
46
|
-
Type annotations for
|
|
47
|
-
[
|
|
48
|
-
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
46
|
+
Type annotations for [boto3 DynamoDB 1.35.93](https://pypi.org/project/boto3/)
|
|
47
|
+
compatible with [VSCode](https://code.visualstudio.com/),
|
|
49
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
50
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
51
50
|
[Sublime Text](https://www.sublimetext.com/),
|
|
52
51
|
[mypy](https://github.com/python/mypy),
|
|
53
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
54
53
|
|
|
55
|
-
Generated
|
|
56
|
-
[mypy-boto3-builder 8.
|
|
54
|
+
Generated with
|
|
55
|
+
[mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
|
|
57
56
|
|
|
58
57
|
More information can be found on
|
|
59
58
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
60
59
|
[mypy-boto3-dynamodb docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/).
|
|
61
60
|
|
|
62
|
-
See how it helps
|
|
61
|
+
See how it helps you find and fix potential bugs:
|
|
63
62
|
|
|
64
|
-

|
|
65
64
|
|
|
66
65
|
- [mypy-boto3-dynamodb](#mypy-boto3-dynamodb)
|
|
67
66
|
- [How to install](#how-to-install)
|
|
67
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
68
68
|
- [VSCode extension](#vscode-extension)
|
|
69
69
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
70
70
|
- [From conda-forge](#from-conda-forge)
|
|
@@ -77,6 +77,7 @@ See how it helps to find and fix potential bugs:
|
|
|
77
77
|
- [Other IDEs](#other-ides)
|
|
78
78
|
- [mypy](#mypy)
|
|
79
79
|
- [pyright](#pyright)
|
|
80
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
80
81
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
81
82
|
- [Client annotations](#client-annotations)
|
|
82
83
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -99,6 +100,21 @@ See how it helps to find and fix potential bugs:
|
|
|
99
100
|
|
|
100
101
|
## How to install
|
|
101
102
|
|
|
103
|
+
<a id="generate-locally-(recommended)"></a>
|
|
104
|
+
|
|
105
|
+
### Generate locally (recommended)
|
|
106
|
+
|
|
107
|
+
You can generate type annotations for `boto3` package locally with
|
|
108
|
+
`mypy_boto3_builder`. Use
|
|
109
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
110
|
+
isolation.
|
|
111
|
+
|
|
112
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
113
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
114
|
+
2. Select `boto3-stubs` AWS SDK.
|
|
115
|
+
3. Add `DynamoDB` service.
|
|
116
|
+
4. Use provided commands to install generated packages.
|
|
117
|
+
|
|
102
118
|
<a id="vscode-extension"></a>
|
|
103
119
|
|
|
104
120
|
### VSCode extension
|
|
@@ -119,12 +135,10 @@ Install `boto3-stubs` for `DynamoDB` service.
|
|
|
119
135
|
# install with boto3 type annotations
|
|
120
136
|
python -m pip install 'boto3-stubs[dynamodb]'
|
|
121
137
|
|
|
122
|
-
|
|
123
138
|
# Lite version does not provide session.client/resource overloads
|
|
124
139
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
125
140
|
python -m pip install 'boto3-stubs-lite[dynamodb]'
|
|
126
141
|
|
|
127
|
-
|
|
128
142
|
# standalone installation
|
|
129
143
|
python -m pip install mypy-boto3-dynamodb
|
|
130
144
|
```
|
|
@@ -133,8 +147,7 @@ python -m pip install mypy-boto3-dynamodb
|
|
|
133
147
|
|
|
134
148
|
### From conda-forge
|
|
135
149
|
|
|
136
|
-
|
|
137
|
-
by adding `conda-forge` to your channels with:
|
|
150
|
+
Add `conda-forge` to your channels with:
|
|
138
151
|
|
|
139
152
|
```bash
|
|
140
153
|
conda config --add channels conda-forge
|
|
@@ -148,8 +161,8 @@ installed with:
|
|
|
148
161
|
conda install mypy-boto3-dynamodb
|
|
149
162
|
```
|
|
150
163
|
|
|
151
|
-
|
|
152
|
-
|
|
164
|
+
List all available versions of `mypy-boto3-dynamodb` available on your platform
|
|
165
|
+
with:
|
|
153
166
|
|
|
154
167
|
```bash
|
|
155
168
|
conda search mypy-boto3-dynamodb --channel conda-forge
|
|
@@ -189,16 +202,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
189
202
|
|
|
190
203
|
### PyCharm
|
|
191
204
|
|
|
192
|
-
|
|
205
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
206
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
207
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
208
|
+
> the issue is resolved.
|
|
209
|
+
|
|
210
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
211
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
212
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
213
|
+
|
|
214
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
215
|
+
> `boto3-stubs` with
|
|
216
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
193
217
|
|
|
194
218
|
```bash
|
|
195
|
-
|
|
219
|
+
pip uninstall boto3-stubs
|
|
220
|
+
pip install boto3-stubs-lite
|
|
196
221
|
```
|
|
197
222
|
|
|
198
|
-
|
|
199
|
-
annotations **are required**.
|
|
223
|
+
Install `boto3-stubs[dynamodb]` in your environment:
|
|
200
224
|
|
|
201
|
-
|
|
225
|
+
```bash
|
|
226
|
+
python -m pip install 'boto3-stubs[dynamodb]'
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
Both type checking and code completion should now work.
|
|
202
230
|
|
|
203
231
|
<a id="emacs"></a>
|
|
204
232
|
|
|
@@ -284,6 +312,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
284
312
|
Type checking should now work. No explicit type annotations required, write
|
|
285
313
|
your `boto3` code as usual.
|
|
286
314
|
|
|
315
|
+
<a id="pylint-compatibility"></a>
|
|
316
|
+
|
|
317
|
+
### Pylint compatibility
|
|
318
|
+
|
|
319
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
320
|
+
`mypy-boto3-dynamodb` dependency in production. However, there is an issue in
|
|
321
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
322
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
323
|
+
|
|
324
|
+
```python
|
|
325
|
+
from typing import TYPE_CHECKING
|
|
326
|
+
|
|
327
|
+
if TYPE_CHECKING:
|
|
328
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
329
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
330
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
331
|
+
else:
|
|
332
|
+
EC2Client = object
|
|
333
|
+
EC2ServiceResource = object
|
|
334
|
+
BundleTaskCompleteWaiter = object
|
|
335
|
+
DescribeVolumesPaginator = object
|
|
336
|
+
|
|
337
|
+
...
|
|
338
|
+
```
|
|
339
|
+
|
|
287
340
|
<a id="explicit-type-annotations"></a>
|
|
288
341
|
|
|
289
342
|
## Explicit type annotations
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
mypy_boto3_dynamodb/__init__.py,sha256=wI1CcdBYTVc0TrBU9JBlhaxZ22tw43EHGJhn3RibOSs,2008
|
|
2
|
+
mypy_boto3_dynamodb/__init__.pyi,sha256=N-7NsIihxnhtuNrVxIRB4A3cL8iNWkO_zmly0PlGe74,2005
|
|
3
|
+
mypy_boto3_dynamodb/__main__.py,sha256=KMvF9nyDPS-ovgZV-gpxPL85Tqpyb0Hqz4IHzIXe3QA,987
|
|
4
|
+
mypy_boto3_dynamodb/client.py,sha256=g3xD6uXNzezxHHWvMKkHiRAzzu4kuqcSMBj6itO7vVY,43531
|
|
5
|
+
mypy_boto3_dynamodb/client.pyi,sha256=C3jys5g8bCuJFCTDJP1Sf-TmkfW65cY0Moo_v0xQRnQ,43528
|
|
6
|
+
mypy_boto3_dynamodb/literals.py,sha256=alWG4uRBiwwjemBVd9mf4FMxmuC_58JsZJbgccbGfCs,14651
|
|
7
|
+
mypy_boto3_dynamodb/literals.pyi,sha256=aXnTJPEf0m4gztQO_uF2_KhoKTlmJakLmEbDngXud-M,14649
|
|
8
|
+
mypy_boto3_dynamodb/paginator.py,sha256=7mBPT4Ge7Dm4AbeKoTUV5oEPTmaRFExNragQDjmUFyo,6929
|
|
9
|
+
mypy_boto3_dynamodb/paginator.pyi,sha256=FTVg2RidIgqtlEA6cHkiUlkfbhkpXlPxv93QdTgay5c,6913
|
|
10
|
+
mypy_boto3_dynamodb/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
mypy_boto3_dynamodb/service_resource.py,sha256=CwlT0HViUUsWenSGuixpKySMjzvXcdAMvS_jSp61ep4,17233
|
|
12
|
+
mypy_boto3_dynamodb/service_resource.pyi,sha256=X5JwZDhpmkwc6nNrM9Z_EH_J8ImcY-tM5CzFj-JfpPU,17226
|
|
13
|
+
mypy_boto3_dynamodb/type_defs.py,sha256=YI2wh2CFjfzPZr5vS-vMTTyPL1dJnF65QXGMQDeLRJ4,84814
|
|
14
|
+
mypy_boto3_dynamodb/type_defs.pyi,sha256=Eb75Za6zFEDqgxci7MsQLA7Q_5eVXzzBjHGf9evQWmA,84538
|
|
15
|
+
mypy_boto3_dynamodb/version.py,sha256=n6wyMBvI3Tp0INYol4fUJ84y0BqM9ti-SkLRGfsif5s,93
|
|
16
|
+
mypy_boto3_dynamodb/waiter.py,sha256=aySjWmZL8NAvKyGrO7O_IZZeRfaZoqsGLcd4U9aPzds,2594
|
|
17
|
+
mypy_boto3_dynamodb/waiter.pyi,sha256=02L_bTGty7eIHGy7XdVGMFYYnTiEOd4S5msAHVxh1tc,2589
|
|
18
|
+
mypy_boto3_dynamodb-1.35.93.dist-info/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
19
|
+
mypy_boto3_dynamodb-1.35.93.dist-info/METADATA,sha256=TqebEW26Xh7LZcqpFq_ulWAvbcOfTHbGVm8VCM3TzI4,17998
|
|
20
|
+
mypy_boto3_dynamodb-1.35.93.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
|
|
21
|
+
mypy_boto3_dynamodb-1.35.93.dist-info/top_level.txt,sha256=QxApsWxKFAcW2cmcxwGGHYl6FlOK1EYbSYEknyOyFAY,20
|
|
22
|
+
mypy_boto3_dynamodb-1.35.93.dist-info/RECORD,,
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
mypy_boto3_dynamodb/__init__.py,sha256=4MPLwUMrXggGSAuIregEB9OPgK5lS38eH4VLQTv3RMk,1859
|
|
2
|
-
mypy_boto3_dynamodb/__init__.pyi,sha256=GMdsocJat-pPuRXyCmJcizZ1LKMSLPgLD7SYG-zOa14,1857
|
|
3
|
-
mypy_boto3_dynamodb/__main__.py,sha256=JSBvC6IiKmtiGP97b7DLJxxoSfhTXnmmEDutCKKliDo,922
|
|
4
|
-
mypy_boto3_dynamodb/client.py,sha256=7uJCyvnrXdbPYhaO7T09dHM6DNUuKwIDGga9_pQWCH4,43704
|
|
5
|
-
mypy_boto3_dynamodb/client.pyi,sha256=uFf_kU2QfKRMacM08sQbrQlb2nnxSsPLkTvlmdxQKV8,43700
|
|
6
|
-
mypy_boto3_dynamodb/literals.py,sha256=8r9njZ8uD6TKfZzgYDC13Q2OUdwdTkVmNe09QMv5Eo4,14190
|
|
7
|
-
mypy_boto3_dynamodb/literals.pyi,sha256=epnIbKNLIoT9fMzgjbOU7qjdSUYiPxc4QOGXX9dc68U,14188
|
|
8
|
-
mypy_boto3_dynamodb/paginator.py,sha256=uUrrQbFJY75Lint9Z51fNOS1heWMXFcIqZTN7VMxTN0,6000
|
|
9
|
-
mypy_boto3_dynamodb/paginator.pyi,sha256=ZgjpIdY4x9saGD9bHDfEmCbJiJU4zYbRgGxYPcB4IL0,5987
|
|
10
|
-
mypy_boto3_dynamodb/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
mypy_boto3_dynamodb/service_resource.py,sha256=wsnBhIE7_eaZxtcfKt09T2L1hKkyfms-VTz_OwVLPvw,17263
|
|
12
|
-
mypy_boto3_dynamodb/service_resource.pyi,sha256=ca8p85UU6DpKlOrHwAWQmXMB_KItX_kmKE8dfce33h4,17256
|
|
13
|
-
mypy_boto3_dynamodb/type_defs.py,sha256=KT73KlIkz9aBWIscwmZKRVBqHQ30S--08LCXWRqfh_s,84756
|
|
14
|
-
mypy_boto3_dynamodb/type_defs.pyi,sha256=EsSPlae8i_oUoT6yHFP7AyrMyjdhfFiDXNDb9bd3W-g,84478
|
|
15
|
-
mypy_boto3_dynamodb/version.py,sha256=RsJl0UaIDmzX1f0nt4_rE8PlMV8KttoqzSEycFcJR9E,62
|
|
16
|
-
mypy_boto3_dynamodb/waiter.py,sha256=_uH-T4GRopvRbawdqtQqjOrJvwzPJwR_VJVaCk7xAeQ,2464
|
|
17
|
-
mypy_boto3_dynamodb/waiter.pyi,sha256=f2ClcbRIbbDzCu4v6kRyEPOaj9-V4woG3DdO9lMxGfk,2459
|
|
18
|
-
mypy_boto3_dynamodb-1.35.60.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
|
19
|
-
mypy_boto3_dynamodb-1.35.60.dist-info/METADATA,sha256=7QJK6hh3FXQR_hebvjDgSVwlCG5_BTr2zDdfRZM3wkI,16271
|
|
20
|
-
mypy_boto3_dynamodb-1.35.60.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
|
21
|
-
mypy_boto3_dynamodb-1.35.60.dist-info/top_level.txt,sha256=QxApsWxKFAcW2cmcxwGGHYl6FlOK1EYbSYEknyOyFAY,20
|
|
22
|
-
mypy_boto3_dynamodb-1.35.60.dist-info/RECORD,,
|
{mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/top_level.txt
RENAMED
|
File without changes
|