mypy-boto3-timestream-write 1.19.9__py3-none-any.whl → 1.41.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.
@@ -1,4 +1,7 @@
1
1
  """
2
2
  Source of truth for version.
3
+
4
+ Copyright 2025 Vlad Emelianov
3
5
  """
4
- __version__ = "1.19.9"
6
+
7
+ __version__ = "1.41.0"
@@ -0,0 +1,452 @@
1
+ Metadata-Version: 2.4
2
+ Name: mypy-boto3-timestream-write
3
+ Version: 1.41.0
4
+ Summary: Type annotations for boto3 TimestreamWrite 1.41.0 service generated with mypy-boto3-builder 8.12.0
5
+ Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/youtype/mypy_boto3_builder
8
+ Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/
9
+ Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
10
+ Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
11
+ Keywords: boto3,timestream-write,boto3-stubs,type-annotations,mypy,typeshed,autocomplete
12
+ Platform: any
13
+ Classifier: Development Status :: 5 - Production/Stable
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Environment :: Console
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Programming Language :: Python :: 3 :: Only
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Typing :: Stubs Only
28
+ Requires-Python: >=3.9
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ Requires-Dist: typing-extensions; python_version < "3.12"
32
+ Dynamic: license-file
33
+
34
+ <a id="mypy-boto3-timestream-write"></a>
35
+
36
+ # mypy-boto3-timestream-write
37
+
38
+ [![PyPI - mypy-boto3-timestream-write](https://img.shields.io/pypi/v/mypy-boto3-timestream-write.svg?color=blue)](https://pypi.org/project/mypy-boto3-timestream-write/)
39
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-timestream-write.svg?color=blue)](https://pypi.org/project/mypy-boto3-timestream-write/)
40
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/)
41
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-timestream-write)](https://pypistats.org/packages/mypy-boto3-timestream-write)
42
+
43
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
+
45
+ Type annotations for
46
+ [boto3 TimestreamWrite 1.41.0](https://pypi.org/project/boto3/) compatible with
47
+ [VSCode](https://code.visualstudio.com/),
48
+ [PyCharm](https://www.jetbrains.com/pycharm/),
49
+ [Emacs](https://www.gnu.org/software/emacs/),
50
+ [Sublime Text](https://www.sublimetext.com/),
51
+ [mypy](https://github.com/python/mypy),
52
+ [pyright](https://github.com/microsoft/pyright) and other tools.
53
+
54
+ Generated with
55
+ [mypy-boto3-builder 8.12.0](https://github.com/youtype/mypy_boto3_builder).
56
+
57
+ More information can be found on
58
+ [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
59
+ [mypy-boto3-timestream-write docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/).
60
+
61
+ See how it helps you find and fix potential bugs:
62
+
63
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
64
+
65
+ - [mypy-boto3-timestream-write](#mypy-boto3-timestream-write)
66
+ - [How to install](#how-to-install)
67
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
68
+ - [VSCode extension](#vscode-extension)
69
+ - [From PyPI with pip](#from-pypi-with-pip)
70
+ - [How to uninstall](#how-to-uninstall)
71
+ - [Usage](#usage)
72
+ - [VSCode](#vscode)
73
+ - [PyCharm](#pycharm)
74
+ - [Emacs](#emacs)
75
+ - [Sublime Text](#sublime-text)
76
+ - [Other IDEs](#other-ides)
77
+ - [mypy](#mypy)
78
+ - [pyright](#pyright)
79
+ - [Pylint compatibility](#pylint-compatibility)
80
+ - [Explicit type annotations](#explicit-type-annotations)
81
+ - [Client annotations](#client-annotations)
82
+ - [Literals](#literals)
83
+ - [Type definitions](#type-definitions)
84
+ - [How it works](#how-it-works)
85
+ - [What's new](#what's-new)
86
+ - [Implemented features](#implemented-features)
87
+ - [Latest changes](#latest-changes)
88
+ - [Versioning](#versioning)
89
+ - [Thank you](#thank-you)
90
+ - [Documentation](#documentation)
91
+ - [Support and contributing](#support-and-contributing)
92
+
93
+ <a id="how-to-install"></a>
94
+
95
+ ## How to install
96
+
97
+ <a id="generate-locally-(recommended)"></a>
98
+
99
+ ### Generate locally (recommended)
100
+
101
+ You can generate type annotations for `boto3` package locally with
102
+ `mypy-boto3-builder`. Use
103
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
104
+ isolation.
105
+
106
+ 1. Run mypy-boto3-builder in your package root directory:
107
+ `uvx --with 'boto3==1.41.0' mypy-boto3-builder`
108
+ 2. Select `boto3-stubs` AWS SDK.
109
+ 3. Add `TimestreamWrite` service.
110
+ 4. Use provided commands to install generated packages.
111
+
112
+ <a id="vscode-extension"></a>
113
+
114
+ ### VSCode extension
115
+
116
+ Add
117
+ [AWS Boto3](https://marketplace.visualstudio.com/items?itemName=Boto3typed.boto3-ide)
118
+ extension to your VSCode and run `AWS boto3: Quick Start` command.
119
+
120
+ Click `Modify` and select `boto3 common` and `TimestreamWrite`.
121
+
122
+ <a id="from-pypi-with-pip"></a>
123
+
124
+ ### From PyPI with pip
125
+
126
+ Install `boto3-stubs` for `TimestreamWrite` service.
127
+
128
+ ```bash
129
+ # install with boto3 type annotations
130
+ python -m pip install 'boto3-stubs[timestream-write]'
131
+
132
+ # Lite version does not provide session.client/resource overloads
133
+ # it is more RAM-friendly, but requires explicit type annotations
134
+ python -m pip install 'boto3-stubs-lite[timestream-write]'
135
+
136
+ # standalone installation
137
+ python -m pip install mypy-boto3-timestream-write
138
+ ```
139
+
140
+ <a id="how-to-uninstall"></a>
141
+
142
+ ## How to uninstall
143
+
144
+ ```bash
145
+ python -m pip uninstall -y mypy-boto3-timestream-write
146
+ ```
147
+
148
+ <a id="usage"></a>
149
+
150
+ ## Usage
151
+
152
+ <a id="vscode"></a>
153
+
154
+ ### VSCode
155
+
156
+ - Install
157
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
158
+ - Install
159
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
160
+ - Set `Pylance` as your Python Language Server
161
+ - Install `boto3-stubs[timestream-write]` in your environment:
162
+
163
+ ```bash
164
+ python -m pip install 'boto3-stubs[timestream-write]'
165
+ ```
166
+
167
+ Both type checking and code completion should now work. No explicit type
168
+ annotations required, write your `boto3` code as usual.
169
+
170
+ <a id="pycharm"></a>
171
+
172
+ ### PyCharm
173
+
174
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
175
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
176
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
177
+ > the issue is resolved.
178
+
179
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
180
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
181
+ > [pyright](https://github.com/microsoft/pyright) instead.
182
+
183
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
184
+ > `boto3-stubs` with
185
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
186
+
187
+ ```bash
188
+ pip uninstall boto3-stubs
189
+ pip install boto3-stubs-lite
190
+ ```
191
+
192
+ Install `boto3-stubs[timestream-write]` in your environment:
193
+
194
+ ```bash
195
+ python -m pip install 'boto3-stubs[timestream-write]'
196
+ ```
197
+
198
+ Both type checking and code completion should now work.
199
+
200
+ <a id="emacs"></a>
201
+
202
+ ### Emacs
203
+
204
+ - Install `boto3-stubs` with services you use in your environment:
205
+
206
+ ```bash
207
+ python -m pip install 'boto3-stubs[timestream-write]'
208
+ ```
209
+
210
+ - Install [use-package](https://github.com/jwiegley/use-package),
211
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
212
+ [company](https://github.com/company-mode/company-mode) and
213
+ [flycheck](https://github.com/flycheck/flycheck) packages
214
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
215
+
216
+ ```elisp
217
+ (use-package lsp-pyright
218
+ :ensure t
219
+ :hook (python-mode . (lambda ()
220
+ (require 'lsp-pyright)
221
+ (lsp))) ; or lsp-deferred
222
+ :init (when (executable-find "python3")
223
+ (setq lsp-pyright-python-executable-cmd "python3"))
224
+ )
225
+ ```
226
+
227
+ - Make sure emacs uses the environment where you have installed `boto3-stubs`
228
+
229
+ Type checking should now work. No explicit type annotations required, write
230
+ your `boto3` code as usual.
231
+
232
+ <a id="sublime-text"></a>
233
+
234
+ ### Sublime Text
235
+
236
+ - Install `boto3-stubs[timestream-write]` with services you use in your
237
+ environment:
238
+
239
+ ```bash
240
+ python -m pip install 'boto3-stubs[timestream-write]'
241
+ ```
242
+
243
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
244
+
245
+ Type checking should now work. No explicit type annotations required, write
246
+ your `boto3` code as usual.
247
+
248
+ <a id="other-ides"></a>
249
+
250
+ ### Other IDEs
251
+
252
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
253
+ should work.
254
+
255
+ <a id="mypy"></a>
256
+
257
+ ### mypy
258
+
259
+ - Install `mypy`: `python -m pip install mypy`
260
+ - Install `boto3-stubs[timestream-write]` in your environment:
261
+
262
+ ```bash
263
+ python -m pip install 'boto3-stubs[timestream-write]'
264
+ ```
265
+
266
+ Type checking should now work. No explicit type annotations required, write
267
+ your `boto3` code as usual.
268
+
269
+ <a id="pyright"></a>
270
+
271
+ ### pyright
272
+
273
+ - Install `pyright`: `npm i -g pyright`
274
+ - Install `boto3-stubs[timestream-write]` in your environment:
275
+
276
+ ```bash
277
+ python -m pip install 'boto3-stubs[timestream-write]'
278
+ ```
279
+
280
+ Optionally, you can install `boto3-stubs` to `typings` directory.
281
+
282
+ Type checking should now work. No explicit type annotations required, write
283
+ your `boto3` code as usual.
284
+
285
+ <a id="pylint-compatibility"></a>
286
+
287
+ ### Pylint compatibility
288
+
289
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
290
+ `mypy-boto3-timestream-write` dependency in production. However, there is an
291
+ issue in `pylint` that it complains about undefined variables. To fix it, set
292
+ all types to `object` in non-`TYPE_CHECKING` mode.
293
+
294
+ ```python
295
+ from typing import TYPE_CHECKING
296
+
297
+ if TYPE_CHECKING:
298
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
299
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
300
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
301
+ else:
302
+ EC2Client = object
303
+ EC2ServiceResource = object
304
+ BundleTaskCompleteWaiter = object
305
+ DescribeVolumesPaginator = object
306
+
307
+ ...
308
+ ```
309
+
310
+ <a id="explicit-type-annotations"></a>
311
+
312
+ ## Explicit type annotations
313
+
314
+ <a id="client-annotations"></a>
315
+
316
+ ### Client annotations
317
+
318
+ `TimestreamWriteClient` provides annotations for
319
+ `boto3.client("timestream-write")`.
320
+
321
+ ```python
322
+ from boto3.session import Session
323
+
324
+ from mypy_boto3_timestream_write import TimestreamWriteClient
325
+
326
+ client: TimestreamWriteClient = Session().client("timestream-write")
327
+
328
+ # now client usage is checked by mypy and IDE should provide code completion
329
+ ```
330
+
331
+ <a id="literals"></a>
332
+
333
+ ### Literals
334
+
335
+ `mypy_boto3_timestream_write.literals` module contains literals extracted from
336
+ shapes that can be used in user code for type checking.
337
+
338
+ Full list of `TimestreamWrite` Literals can be found in
339
+ [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/literals/).
340
+
341
+ ```python
342
+ from mypy_boto3_timestream_write.literals import BatchLoadDataFormatType
343
+
344
+
345
+ def check_value(value: BatchLoadDataFormatType) -> bool: ...
346
+ ```
347
+
348
+ <a id="type-definitions"></a>
349
+
350
+ ### Type definitions
351
+
352
+ `mypy_boto3_timestream_write.type_defs` module contains structures and shapes
353
+ assembled to typed dictionaries and unions for additional type checking.
354
+
355
+ Full list of `TimestreamWrite` TypeDefs can be found in
356
+ [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/type_defs/).
357
+
358
+ ```python
359
+ # TypedDict usage example
360
+ from mypy_boto3_timestream_write.type_defs import BatchLoadProgressReportTypeDef
361
+
362
+
363
+ def get_value() -> BatchLoadProgressReportTypeDef:
364
+ return {
365
+ "RecordsProcessed": ...,
366
+ }
367
+ ```
368
+
369
+ <a id="how-it-works"></a>
370
+
371
+ ## How it works
372
+
373
+ Fully automated
374
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
375
+ generates type annotations for each service, patiently waiting for `boto3`
376
+ updates. It delivers drop-in type annotations for you and makes sure that:
377
+
378
+ - All available `boto3` services are covered.
379
+ - Each public class and method of every `boto3` service gets valid type
380
+ annotations extracted from `botocore` schemas.
381
+ - Type annotations include up-to-date documentation.
382
+ - Link to documentation is provided for every method.
383
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
384
+
385
+ <a id="what's-new"></a>
386
+
387
+ ## What's new
388
+
389
+ <a id="implemented-features"></a>
390
+
391
+ ### Implemented features
392
+
393
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
394
+ libraries
395
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
396
+ compatibility
397
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
398
+ annotations for each service
399
+ - Generated `TypeDefs` for each service
400
+ - Generated `Literals` for each service
401
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
402
+ - Auto discovery of types for `session.client` and `session.resource` calls
403
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
404
+ calls
405
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
406
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
407
+
408
+ <a id="latest-changes"></a>
409
+
410
+ ### Latest changes
411
+
412
+ Builder changelog can be found in
413
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
414
+
415
+ <a id="versioning"></a>
416
+
417
+ ## Versioning
418
+
419
+ `mypy-boto3-timestream-write` version is the same as related `boto3` version
420
+ and follows
421
+ [Python Packaging version specifiers](https://packaging.python.org/en/latest/specifications/version-specifiers/).
422
+
423
+ <a id="thank-you"></a>
424
+
425
+ ## Thank you
426
+
427
+ - [Allie Fitter](https://github.com/alliefitter) for
428
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
429
+ this package is based on top of his work
430
+ - [black](https://github.com/psf/black) developers for an awesome formatting
431
+ tool
432
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
433
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
434
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
435
+ for us
436
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
437
+ Python
438
+
439
+ <a id="documentation"></a>
440
+
441
+ ## Documentation
442
+
443
+ All services type annotations can be found in
444
+ [boto3 docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/)
445
+
446
+ <a id="support-and-contributing"></a>
447
+
448
+ ## Support and contributing
449
+
450
+ This package is auto-generated. Please reports any bugs or request new features
451
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
452
+ repository.
@@ -0,0 +1,16 @@
1
+ mypy_boto3_timestream_write/__init__.py,sha256=itINAm551a3pacnOWiv7V00V5Hbu6j4gOm_ti5EnhaE,562
2
+ mypy_boto3_timestream_write/__init__.pyi,sha256=--QQECTLY6KpnKl2BecjLSym0FuKdqcaczYKiG_GBtE,561
3
+ mypy_boto3_timestream_write/__main__.py,sha256=eBj7Sy-c98UNs4GSzoIk81D2dSzz-Mfu_TRtjcaws1U,1015
4
+ mypy_boto3_timestream_write/client.py,sha256=6KwQ1do8KikeLMZmo7t4_e-DiNqMyx3067N2QeGj8NQ,14166
5
+ mypy_boto3_timestream_write/client.pyi,sha256=UVv2J6NI1JgrJDi0ymQ8Elb9zR16um3ab7XM1ddDk_E,14163
6
+ mypy_boto3_timestream_write/literals.py,sha256=o2XGFnreZzlR3eC1q5zNnKNxhGJ4B4rpUiyhsNUanwY,10112
7
+ mypy_boto3_timestream_write/literals.pyi,sha256=7_RfJYoEcXF6BToYQjmt8v8rhnY6iDM4fsJXfZS7CUw,10110
8
+ mypy_boto3_timestream_write/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ mypy_boto3_timestream_write/type_defs.py,sha256=U2mB357A0owSECGV6xiEWraQrOdHS6JZ0plSLjmiQ0c,15495
10
+ mypy_boto3_timestream_write/type_defs.pyi,sha256=lHtfdWN57eixz7GefiPQUYiUjLA1vsD8t0nLoA2fFdM,15424
11
+ mypy_boto3_timestream_write/version.py,sha256=ZtEblsbAVbZWuGFYY23SYRu3T8sCoiDNfG49dV1XWUA,92
12
+ mypy_boto3_timestream_write-1.41.0.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
13
+ mypy_boto3_timestream_write-1.41.0.dist-info/METADATA,sha256=l2EgxcgPxkU0ZINJ-PNWAEXr_5h3hjHDCg_y4KUx2Ag,14438
14
+ mypy_boto3_timestream_write-1.41.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ mypy_boto3_timestream_write-1.41.0.dist-info/top_level.txt,sha256=g0nGBj3bO-9Vwwsr8V_FiQKyD6j_DiiQwWVAEYq4lR8,28
16
+ mypy_boto3_timestream_write-1.41.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.37.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Vlad Emelianov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.