mypy-boto3-s3tables 1.36.0__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.

Potentially problematic release.


This version of mypy-boto3-s3tables might be problematic. Click here for more details.

@@ -0,0 +1,485 @@
1
+ Metadata-Version: 2.2
2
+ Name: mypy-boto3-s3tables
3
+ Version: 1.36.0
4
+ Summary: Type annotations for boto3 S3Tables 1.36.0 service generated with mypy-boto3-builder 8.8.0
5
+ Home-page: https://github.com/youtype/mypy_boto3_builder
6
+ Author: Vlad Emelianov
7
+ Author-email: vlad.emelianov.nz@gmail.com
8
+ License: MIT License
9
+ Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/
10
+ Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
11
+ Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
12
+ Keywords: boto3 s3tables boto3-stubs type-annotations mypy typeshed autocomplete
13
+ Classifier: Development Status :: 5 - Production/Stable
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Environment :: Console
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Natural Language :: English
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3.8
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Classifier: Programming Language :: Python :: 3 :: Only
28
+ Classifier: Programming Language :: Python :: Implementation :: CPython
29
+ Classifier: Typing :: Stubs Only
30
+ Requires-Python: >=3.8
31
+ Description-Content-Type: text/markdown
32
+ License-File: LICENSE
33
+ Requires-Dist: typing-extensions; python_version < "3.12"
34
+ Dynamic: author
35
+ Dynamic: author-email
36
+ Dynamic: classifier
37
+ Dynamic: description
38
+ Dynamic: description-content-type
39
+ Dynamic: home-page
40
+ Dynamic: keywords
41
+ Dynamic: license
42
+ Dynamic: project-url
43
+ Dynamic: requires-dist
44
+ Dynamic: requires-python
45
+ Dynamic: summary
46
+
47
+ <a id="mypy-boto3-s3tables"></a>
48
+
49
+ # mypy-boto3-s3tables
50
+
51
+ [![PyPI - mypy-boto3-s3tables](https://img.shields.io/pypi/v/mypy-boto3-s3tables.svg?color=blue)](https://pypi.org/project/mypy-boto3-s3tables/)
52
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-s3tables.svg?color=blue)](https://pypi.org/project/mypy-boto3-s3tables/)
53
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/)
54
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-s3tables)](https://pypistats.org/packages/mypy-boto3-s3tables)
55
+
56
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
57
+
58
+ Type annotations for [boto3 S3Tables 1.36.0](https://pypi.org/project/boto3/)
59
+ compatible with [VSCode](https://code.visualstudio.com/),
60
+ [PyCharm](https://www.jetbrains.com/pycharm/),
61
+ [Emacs](https://www.gnu.org/software/emacs/),
62
+ [Sublime Text](https://www.sublimetext.com/),
63
+ [mypy](https://github.com/python/mypy),
64
+ [pyright](https://github.com/microsoft/pyright) and other tools.
65
+
66
+ Generated with
67
+ [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
68
+
69
+ More information can be found on
70
+ [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
71
+ [mypy-boto3-s3tables docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/).
72
+
73
+ See how it helps you find and fix potential bugs:
74
+
75
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
76
+
77
+ - [mypy-boto3-s3tables](#mypy-boto3-s3tables)
78
+ - [How to install](#how-to-install)
79
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
80
+ - [VSCode extension](#vscode-extension)
81
+ - [From PyPI with pip](#from-pypi-with-pip)
82
+ - [How to uninstall](#how-to-uninstall)
83
+ - [Usage](#usage)
84
+ - [VSCode](#vscode)
85
+ - [PyCharm](#pycharm)
86
+ - [Emacs](#emacs)
87
+ - [Sublime Text](#sublime-text)
88
+ - [Other IDEs](#other-ides)
89
+ - [mypy](#mypy)
90
+ - [pyright](#pyright)
91
+ - [Pylint compatibility](#pylint-compatibility)
92
+ - [Explicit type annotations](#explicit-type-annotations)
93
+ - [Client annotations](#client-annotations)
94
+ - [Paginators annotations](#paginators-annotations)
95
+ - [Literals](#literals)
96
+ - [Type definitions](#type-definitions)
97
+ - [How it works](#how-it-works)
98
+ - [What's new](#what's-new)
99
+ - [Implemented features](#implemented-features)
100
+ - [Latest changes](#latest-changes)
101
+ - [Versioning](#versioning)
102
+ - [Thank you](#thank-you)
103
+ - [Documentation](#documentation)
104
+ - [Support and contributing](#support-and-contributing)
105
+
106
+ <a id="how-to-install"></a>
107
+
108
+ ## How to install
109
+
110
+ <a id="generate-locally-(recommended)"></a>
111
+
112
+ ### Generate locally (recommended)
113
+
114
+ You can generate type annotations for `boto3` package locally with
115
+ `mypy_boto3_builder`. Use
116
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
117
+ isolation.
118
+
119
+ 1. Run mypy-boto3-builder in your package root directory:
120
+ `uvx --with 'boto3==1.36.0' mypy_boto3_builder`
121
+ 2. Select `boto3-stubs` AWS SDK.
122
+ 3. Add `S3Tables` service.
123
+ 4. Use provided commands to install generated packages.
124
+
125
+ <a id="vscode-extension"></a>
126
+
127
+ ### VSCode extension
128
+
129
+ Add
130
+ [AWS Boto3](https://marketplace.visualstudio.com/items?itemName=Boto3typed.boto3-ide)
131
+ extension to your VSCode and run `AWS boto3: Quick Start` command.
132
+
133
+ Click `Modify` and select `boto3 common` and `S3Tables`.
134
+
135
+ <a id="from-pypi-with-pip"></a>
136
+
137
+ ### From PyPI with pip
138
+
139
+ Install `boto3-stubs` for `S3Tables` service.
140
+
141
+ ```bash
142
+ # install with boto3 type annotations
143
+ python -m pip install 'boto3-stubs[s3tables]'
144
+
145
+ # Lite version does not provide session.client/resource overloads
146
+ # it is more RAM-friendly, but requires explicit type annotations
147
+ python -m pip install 'boto3-stubs-lite[s3tables]'
148
+
149
+ # standalone installation
150
+ python -m pip install mypy-boto3-s3tables
151
+ ```
152
+
153
+ <a id="how-to-uninstall"></a>
154
+
155
+ ## How to uninstall
156
+
157
+ ```bash
158
+ python -m pip uninstall -y mypy-boto3-s3tables
159
+ ```
160
+
161
+ <a id="usage"></a>
162
+
163
+ ## Usage
164
+
165
+ <a id="vscode"></a>
166
+
167
+ ### VSCode
168
+
169
+ - Install
170
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
171
+ - Install
172
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
173
+ - Set `Pylance` as your Python Language Server
174
+ - Install `boto3-stubs[s3tables]` in your environment:
175
+
176
+ ```bash
177
+ python -m pip install 'boto3-stubs[s3tables]'
178
+ ```
179
+
180
+ Both type checking and code completion should now work. No explicit type
181
+ annotations required, write your `boto3` code as usual.
182
+
183
+ <a id="pycharm"></a>
184
+
185
+ ### PyCharm
186
+
187
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
188
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
189
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
190
+ > the issue is resolved.
191
+
192
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
193
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
194
+ > [pyright](https://github.com/microsoft/pyright) instead.
195
+
196
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
197
+ > `boto3-stubs` with
198
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
199
+
200
+ ```bash
201
+ pip uninstall boto3-stubs
202
+ pip install boto3-stubs-lite
203
+ ```
204
+
205
+ Install `boto3-stubs[s3tables]` in your environment:
206
+
207
+ ```bash
208
+ python -m pip install 'boto3-stubs[s3tables]'
209
+ ```
210
+
211
+ Both type checking and code completion should now work.
212
+
213
+ <a id="emacs"></a>
214
+
215
+ ### Emacs
216
+
217
+ - Install `boto3-stubs` with services you use in your environment:
218
+
219
+ ```bash
220
+ python -m pip install 'boto3-stubs[s3tables]'
221
+ ```
222
+
223
+ - Install [use-package](https://github.com/jwiegley/use-package),
224
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
225
+ [company](https://github.com/company-mode/company-mode) and
226
+ [flycheck](https://github.com/flycheck/flycheck) packages
227
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
228
+
229
+ ```elisp
230
+ (use-package lsp-pyright
231
+ :ensure t
232
+ :hook (python-mode . (lambda ()
233
+ (require 'lsp-pyright)
234
+ (lsp))) ; or lsp-deferred
235
+ :init (when (executable-find "python3")
236
+ (setq lsp-pyright-python-executable-cmd "python3"))
237
+ )
238
+ ```
239
+
240
+ - Make sure emacs uses the environment where you have installed `boto3-stubs`
241
+
242
+ Type checking should now work. No explicit type annotations required, write
243
+ your `boto3` code as usual.
244
+
245
+ <a id="sublime-text"></a>
246
+
247
+ ### Sublime Text
248
+
249
+ - Install `boto3-stubs[s3tables]` with services you use in your environment:
250
+
251
+ ```bash
252
+ python -m pip install 'boto3-stubs[s3tables]'
253
+ ```
254
+
255
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
256
+
257
+ Type checking should now work. No explicit type annotations required, write
258
+ your `boto3` code as usual.
259
+
260
+ <a id="other-ides"></a>
261
+
262
+ ### Other IDEs
263
+
264
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
265
+ should work.
266
+
267
+ <a id="mypy"></a>
268
+
269
+ ### mypy
270
+
271
+ - Install `mypy`: `python -m pip install mypy`
272
+ - Install `boto3-stubs[s3tables]` in your environment:
273
+
274
+ ```bash
275
+ python -m pip install 'boto3-stubs[s3tables]'
276
+ ```
277
+
278
+ Type checking should now work. No explicit type annotations required, write
279
+ your `boto3` code as usual.
280
+
281
+ <a id="pyright"></a>
282
+
283
+ ### pyright
284
+
285
+ - Install `pyright`: `npm i -g pyright`
286
+ - Install `boto3-stubs[s3tables]` in your environment:
287
+
288
+ ```bash
289
+ python -m pip install 'boto3-stubs[s3tables]'
290
+ ```
291
+
292
+ Optionally, you can install `boto3-stubs` to `typings` directory.
293
+
294
+ Type checking should now work. No explicit type annotations required, write
295
+ your `boto3` code as usual.
296
+
297
+ <a id="pylint-compatibility"></a>
298
+
299
+ ### Pylint compatibility
300
+
301
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
302
+ `mypy-boto3-s3tables` dependency in production. However, there is an issue in
303
+ `pylint` that it complains about undefined variables. To fix it, set all types
304
+ to `object` in non-`TYPE_CHECKING` mode.
305
+
306
+ ```python
307
+ from typing import TYPE_CHECKING
308
+
309
+ if TYPE_CHECKING:
310
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
311
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
312
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
313
+ else:
314
+ EC2Client = object
315
+ EC2ServiceResource = object
316
+ BundleTaskCompleteWaiter = object
317
+ DescribeVolumesPaginator = object
318
+
319
+ ...
320
+ ```
321
+
322
+ <a id="explicit-type-annotations"></a>
323
+
324
+ ## Explicit type annotations
325
+
326
+ <a id="client-annotations"></a>
327
+
328
+ ### Client annotations
329
+
330
+ `S3TablesClient` provides annotations for `boto3.client("s3tables")`.
331
+
332
+ ```python
333
+ from boto3.session import Session
334
+
335
+ from mypy_boto3_s3tables import S3TablesClient
336
+
337
+ client: S3TablesClient = Session().client("s3tables")
338
+
339
+ # now client usage is checked by mypy and IDE should provide code completion
340
+ ```
341
+
342
+ <a id="paginators-annotations"></a>
343
+
344
+ ### Paginators annotations
345
+
346
+ `mypy_boto3_s3tables.paginator` module contains type annotations for all
347
+ paginators.
348
+
349
+ ```python
350
+ from boto3.session import Session
351
+
352
+ from mypy_boto3_s3tables import S3TablesClient
353
+ from mypy_boto3_s3tables.paginator import (
354
+ ListNamespacesPaginator,
355
+ ListTableBucketsPaginator,
356
+ ListTablesPaginator,
357
+ )
358
+
359
+ client: S3TablesClient = Session().client("s3tables")
360
+
361
+ # Explicit type annotations are optional here
362
+ # Types should be correctly discovered by mypy and IDEs
363
+ list_namespaces_paginator: ListNamespacesPaginator = client.get_paginator("list_namespaces")
364
+ list_table_buckets_paginator: ListTableBucketsPaginator = client.get_paginator("list_table_buckets")
365
+ list_tables_paginator: ListTablesPaginator = client.get_paginator("list_tables")
366
+ ```
367
+
368
+ <a id="literals"></a>
369
+
370
+ ### Literals
371
+
372
+ `mypy_boto3_s3tables.literals` module contains literals extracted from shapes
373
+ that can be used in user code for type checking.
374
+
375
+ Full list of `S3Tables` Literals can be found in
376
+ [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/literals/).
377
+
378
+ ```python
379
+ from mypy_boto3_s3tables.literals import JobStatusType
380
+
381
+
382
+ def check_value(value: JobStatusType) -> bool: ...
383
+ ```
384
+
385
+ <a id="type-definitions"></a>
386
+
387
+ ### Type definitions
388
+
389
+ `mypy_boto3_s3tables.type_defs` module contains structures and shapes assembled
390
+ to typed dictionaries and unions for additional type checking.
391
+
392
+ Full list of `S3Tables` TypeDefs can be found in
393
+ [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/type_defs/).
394
+
395
+ ```python
396
+ from mypy_boto3_s3tables.type_defs import CreateNamespaceRequestRequestTypeDef
397
+
398
+
399
+ def get_value() -> CreateNamespaceRequestRequestTypeDef:
400
+ return {...}
401
+ ```
402
+
403
+ <a id="how-it-works"></a>
404
+
405
+ ## How it works
406
+
407
+ Fully automated
408
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
409
+ generates type annotations for each service, patiently waiting for `boto3`
410
+ updates. It delivers drop-in type annotations for you and makes sure that:
411
+
412
+ - All available `boto3` services are covered.
413
+ - Each public class and method of every `boto3` service gets valid type
414
+ annotations extracted from `botocore` schemas.
415
+ - Type annotations include up-to-date documentation.
416
+ - Link to documentation is provided for every method.
417
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
418
+
419
+ <a id="what's-new"></a>
420
+
421
+ ## What's new
422
+
423
+ <a id="implemented-features"></a>
424
+
425
+ ### Implemented features
426
+
427
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
428
+ libraries
429
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
430
+ compatibility
431
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
432
+ annotations for each service
433
+ - Generated `TypeDefs` for each service
434
+ - Generated `Literals` for each service
435
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
436
+ - Auto discovery of types for `session.client` and `session.resource` calls
437
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
438
+ calls
439
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
440
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
441
+
442
+ <a id="latest-changes"></a>
443
+
444
+ ### Latest changes
445
+
446
+ Builder changelog can be found in
447
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
448
+
449
+ <a id="versioning"></a>
450
+
451
+ ## Versioning
452
+
453
+ `mypy-boto3-s3tables` version is the same as related `boto3` version and
454
+ follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
455
+
456
+ <a id="thank-you"></a>
457
+
458
+ ## Thank you
459
+
460
+ - [Allie Fitter](https://github.com/alliefitter) for
461
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
462
+ this package is based on top of his work
463
+ - [black](https://github.com/psf/black) developers for an awesome formatting
464
+ tool
465
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
466
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
467
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
468
+ for us
469
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
470
+ Python
471
+
472
+ <a id="documentation"></a>
473
+
474
+ ## Documentation
475
+
476
+ All services type annotations can be found in
477
+ [boto3 docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/)
478
+
479
+ <a id="support-and-contributing"></a>
480
+
481
+ ## Support and contributing
482
+
483
+ This package is auto-generated. Please reports any bugs or request new features
484
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
485
+ repository.
@@ -0,0 +1,18 @@
1
+ mypy_boto3_s3tables/__init__.py,sha256=PcDhCE_Zzs4IEpxnYUjWZCwp7i3uw55io7xtX1s2n5A,995
2
+ mypy_boto3_s3tables/__init__.pyi,sha256=GsyAL_s0OpTho6jY2o8nHd601mz-BGG0bfv9Ao-vCdE,994
3
+ mypy_boto3_s3tables/__main__.py,sha256=slhhSoxCt0Ari7Zqk53nl6BtS2msA_arYBy26YX9Ppc,984
4
+ mypy_boto3_s3tables/client.py,sha256=6ZYMPcXmSHnaYCWZyQqNGXFP-mIEJElXYdlgiCIPHJQ,20012
5
+ mypy_boto3_s3tables/client.pyi,sha256=zS180Xrm7c0Poyf11U04hX8ngdP0qbhmUDt2SwGc2nw,20009
6
+ mypy_boto3_s3tables/literals.py,sha256=2GerV3TD8dmB2mGNwG94TqaJhvIKvY9lp30qK3VrWdY,9805
7
+ mypy_boto3_s3tables/literals.pyi,sha256=dU1ulenb1g07sfQH8JNRfqO--yzLvemNc4ykMDj84SI,9803
8
+ mypy_boto3_s3tables/paginator.py,sha256=UnhqH4AqWbMLKFQGHWK72bfrmnxKuOfDy8K3yt1bsDU,4696
9
+ mypy_boto3_s3tables/paginator.pyi,sha256=pwWOVf0B5HBhTiqhb9FSGC-SJtHvgVKtbIuo3JbXUgQ,4686
10
+ mypy_boto3_s3tables/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ mypy_boto3_s3tables/type_defs.py,sha256=RzOE9v_eZIsHvQYl6ALSsbtS2quk-aYcKCWD8Tb8SK4,13141
12
+ mypy_boto3_s3tables/type_defs.pyi,sha256=b-lMleQi8lsRNhQl5vyhvhbuG1WZidDrJORW4LWbUko,13081
13
+ mypy_boto3_s3tables/version.py,sha256=XqBLww9Ajk9GRr5oc1Ak2757Fsir4zxoRCWswSKh8Ro,92
14
+ mypy_boto3_s3tables-1.36.0.dist-info/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
15
+ mypy_boto3_s3tables-1.36.0.dist-info/METADATA,sha256=TGtg9JQ0_Runav4wqwTsd8Z268TAkRC6G3T5dS9mC2s,15075
16
+ mypy_boto3_s3tables-1.36.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
17
+ mypy_boto3_s3tables-1.36.0.dist-info/top_level.txt,sha256=oAuE1209XLnkqMpCnFhvFNXfMFMSV_JABp2g57RZEdE,20
18
+ mypy_boto3_s3tables-1.36.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.8.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ mypy_boto3_s3tables