mypy-boto3-kinesis 1.35.0__tar.gz → 1.35.93__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.
Files changed (31) hide show
  1. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/LICENSE +1 -1
  2. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/PKG-INFO +80 -26
  3. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/README.md +75 -22
  4. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis/__init__.py +3 -0
  5. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis/__init__.pyi +2 -0
  6. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis/__main__.py +11 -8
  7. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis/client.py +185 -230
  8. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis/client.pyi +184 -229
  9. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis/literals.py +33 -9
  10. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis/literals.pyi +31 -9
  11. mypy_boto3_kinesis-1.35.93/mypy_boto3_kinesis/paginator.py +144 -0
  12. mypy_boto3_kinesis-1.35.93/mypy_boto3_kinesis/paginator.pyi +131 -0
  13. mypy_boto3_kinesis-1.35.93/mypy_boto3_kinesis/type_defs.py +686 -0
  14. mypy_boto3_kinesis-1.35.93/mypy_boto3_kinesis/type_defs.pyi +599 -0
  15. mypy_boto3_kinesis-1.35.93/mypy_boto3_kinesis/version.py +7 -0
  16. mypy_boto3_kinesis-1.35.0/mypy_boto3_kinesis/waiter.pyi → mypy_boto3_kinesis-1.35.93/mypy_boto3_kinesis/waiter.py +24 -22
  17. mypy_boto3_kinesis-1.35.0/mypy_boto3_kinesis/waiter.py → mypy_boto3_kinesis-1.35.93/mypy_boto3_kinesis/waiter.pyi +21 -26
  18. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis.egg-info/PKG-INFO +80 -26
  19. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis.egg-info/requires.txt +1 -1
  20. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/setup.py +7 -6
  21. mypy_boto3_kinesis-1.35.0/mypy_boto3_kinesis/paginator.py +0 -132
  22. mypy_boto3_kinesis-1.35.0/mypy_boto3_kinesis/paginator.pyi +0 -127
  23. mypy_boto3_kinesis-1.35.0/mypy_boto3_kinesis/type_defs.py +0 -854
  24. mypy_boto3_kinesis-1.35.0/mypy_boto3_kinesis/type_defs.pyi +0 -854
  25. mypy_boto3_kinesis-1.35.0/mypy_boto3_kinesis/version.py +0 -5
  26. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis/py.typed +0 -0
  27. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis.egg-info/SOURCES.txt +0 -0
  28. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis.egg-info/dependency_links.txt +0 -0
  29. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis.egg-info/not-zip-safe +0 -0
  30. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/mypy_boto3_kinesis.egg-info/top_level.txt +0 -0
  31. {mypy_boto3_kinesis-1.35.0 → mypy_boto3_kinesis-1.35.93}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Vlad Emelianov
3
+ Copyright (c) 2025 Vlad Emelianov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-kinesis
3
- Version: 1.35.0
4
- Summary: Type annotations for boto3.Kinesis 1.35.0 service generated with mypy-boto3-builder 7.26.0
3
+ Version: 1.35.93
4
+ Summary: Type annotations for boto3 Kinesis 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_kinesis/
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 kinesis type-annotations botocore mypy typeshed autocomplete
12
+ Keywords: boto3 kinesis 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
@@ -23,47 +23,48 @@ Classifier: Programming Language :: Python :: 3.10
23
23
  Classifier: Programming Language :: Python :: 3.11
24
24
  Classifier: Programming Language :: Python :: 3.12
25
25
  Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
26
27
  Classifier: Programming Language :: Python :: 3 :: Only
27
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
29
  Classifier: Typing :: Stubs Only
29
30
  Requires-Python: >=3.8
30
31
  Description-Content-Type: text/markdown
31
32
  License-File: LICENSE
32
- Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
33
+ Requires-Dist: typing-extensions; python_version < "3.12"
33
34
 
34
35
  <a id="mypy-boto3-kinesis"></a>
35
36
 
36
37
  # mypy-boto3-kinesis
37
38
 
38
- [![PyPI - mypy-boto3-kinesis](https://img.shields.io/pypi/v/mypy-boto3-kinesis.svg?color=blue)](https://pypi.org/project/mypy-boto3-kinesis)
39
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-kinesis.svg?color=blue)](https://pypi.org/project/mypy-boto3-kinesis)
40
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/)
41
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-kinesis)](https://pepy.tech/project/mypy-boto3-kinesis)
39
+ [![PyPI - mypy-boto3-kinesis](https://img.shields.io/pypi/v/mypy-boto3-kinesis.svg?color=blue)](https://pypi.org/project/mypy-boto3-kinesis/)
40
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-kinesis.svg?color=blue)](https://pypi.org/project/mypy-boto3-kinesis/)
41
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/)
42
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-kinesis)](https://pypistats.org/packages/mypy-boto3-kinesis)
42
43
 
43
44
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
45
 
45
- Type annotations for
46
- [boto3.Kinesis 1.35.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#Kinesis)
47
- service compatible with [VSCode](https://code.visualstudio.com/),
46
+ Type annotations for [boto3 Kinesis 1.35.93](https://pypi.org/project/boto3/)
47
+ compatible with [VSCode](https://code.visualstudio.com/),
48
48
  [PyCharm](https://www.jetbrains.com/pycharm/),
49
49
  [Emacs](https://www.gnu.org/software/emacs/),
50
50
  [Sublime Text](https://www.sublimetext.com/),
51
51
  [mypy](https://github.com/python/mypy),
52
52
  [pyright](https://github.com/microsoft/pyright) and other tools.
53
53
 
54
- Generated by
55
- [mypy-boto3-builder 7.26.0](https://github.com/youtype/mypy_boto3_builder).
54
+ Generated with
55
+ [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
56
56
 
57
57
  More information can be found on
58
58
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
59
59
  [mypy-boto3-kinesis docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/).
60
60
 
61
- See how it helps to find and fix potential bugs:
61
+ See how it helps you find and fix potential bugs:
62
62
 
63
- ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
63
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
64
64
 
65
65
  - [mypy-boto3-kinesis](#mypy-boto3-kinesis)
66
66
  - [How to install](#how-to-install)
67
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
67
68
  - [VSCode extension](#vscode-extension)
68
69
  - [From PyPI with pip](#from-pypi-with-pip)
69
70
  - [How to uninstall](#how-to-uninstall)
@@ -75,6 +76,7 @@ See how it helps to find and fix potential bugs:
75
76
  - [Other IDEs](#other-ides)
76
77
  - [mypy](#mypy)
77
78
  - [pyright](#pyright)
79
+ - [Pylint compatibility](#pylint-compatibility)
78
80
  - [Explicit type annotations](#explicit-type-annotations)
79
81
  - [Client annotations](#client-annotations)
80
82
  - [Paginators annotations](#paginators-annotations)
@@ -94,6 +96,21 @@ See how it helps to find and fix potential bugs:
94
96
 
95
97
  ## How to install
96
98
 
99
+ <a id="generate-locally-(recommended)"></a>
100
+
101
+ ### Generate locally (recommended)
102
+
103
+ You can generate type annotations for `boto3` package locally with
104
+ `mypy_boto3_builder`. Use
105
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
106
+ isolation.
107
+
108
+ 1. Run mypy-boto3-builder in your package root directory:
109
+ `uvx --with 'boto3==1.35.93' mypy_boto3_builder`
110
+ 2. Select `boto3-stubs` AWS SDK.
111
+ 3. Add `Kinesis` service.
112
+ 4. Use provided commands to install generated packages.
113
+
97
114
  <a id="vscode-extension"></a>
98
115
 
99
116
  ### VSCode extension
@@ -114,12 +131,10 @@ Install `boto3-stubs` for `Kinesis` service.
114
131
  # install with boto3 type annotations
115
132
  python -m pip install 'boto3-stubs[kinesis]'
116
133
 
117
-
118
134
  # Lite version does not provide session.client/resource overloads
119
135
  # it is more RAM-friendly, but requires explicit type annotations
120
136
  python -m pip install 'boto3-stubs-lite[kinesis]'
121
137
 
122
-
123
138
  # standalone installation
124
139
  python -m pip install mypy-boto3-kinesis
125
140
  ```
@@ -158,16 +173,31 @@ annotations required, write your `boto3` code as usual.
158
173
 
159
174
  ### PyCharm
160
175
 
161
- Install `boto3-stubs-lite[kinesis]` in your environment:
176
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
177
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
178
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
179
+ > the issue is resolved.
180
+
181
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
182
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
183
+ > [pyright](https://github.com/microsoft/pyright) instead.
184
+
185
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
186
+ > `boto3-stubs` with
187
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
162
188
 
163
189
  ```bash
164
- python -m pip install 'boto3-stubs-lite[kinesis]'`
190
+ pip uninstall boto3-stubs
191
+ pip install boto3-stubs-lite
165
192
  ```
166
193
 
167
- Both type checking and code completion should now work. Explicit type
168
- annotations **are required**.
194
+ Install `boto3-stubs[kinesis]` in your environment:
169
195
 
170
- Use `boto3-stubs` package instead for implicit type discovery.
196
+ ```bash
197
+ python -m pip install 'boto3-stubs[kinesis]'
198
+ ```
199
+
200
+ Both type checking and code completion should now work.
171
201
 
172
202
  <a id="emacs"></a>
173
203
 
@@ -231,7 +261,7 @@ should work.
231
261
  - Install `boto3-stubs[kinesis]` in your environment:
232
262
 
233
263
  ```bash
234
- python -m pip install 'boto3-stubs[kinesis]'`
264
+ python -m pip install 'boto3-stubs[kinesis]'
235
265
  ```
236
266
 
237
267
  Type checking should now work. No explicit type annotations required, write
@@ -248,11 +278,36 @@ your `boto3` code as usual.
248
278
  python -m pip install 'boto3-stubs[kinesis]'
249
279
  ```
250
280
 
251
- Optionally, you can install `boto3-stubs` to `typings` folder.
281
+ Optionally, you can install `boto3-stubs` to `typings` directory.
252
282
 
253
283
  Type checking should now work. No explicit type annotations required, write
254
284
  your `boto3` code as usual.
255
285
 
286
+ <a id="pylint-compatibility"></a>
287
+
288
+ ### Pylint compatibility
289
+
290
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
291
+ `mypy-boto3-kinesis` dependency in production. However, there is an issue in
292
+ `pylint` that it complains about undefined variables. To fix it, set all types
293
+ to `object` in non-`TYPE_CHECKING` mode.
294
+
295
+ ```python
296
+ from typing import TYPE_CHECKING
297
+
298
+ if TYPE_CHECKING:
299
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
300
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
301
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
302
+ else:
303
+ EC2Client = object
304
+ EC2ServiceResource = object
305
+ BundleTaskCompleteWaiter = object
306
+ DescribeVolumesPaginator = object
307
+
308
+ ...
309
+ ```
310
+
256
311
  <a id="explicit-type-annotations"></a>
257
312
 
258
313
  ## Explicit type annotations
@@ -372,8 +427,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
372
427
  annotations extracted from `botocore` schemas.
373
428
  - Type annotations include up-to-date documentation.
374
429
  - Link to documentation is provided for every method.
375
- - Code is processed by [black](https://github.com/psf/black) and
376
- [isort](https://github.com/PyCQA/isort) for readability.
430
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
377
431
 
378
432
  <a id="what's-new"></a>
379
433
 
@@ -2,35 +2,35 @@
2
2
 
3
3
  # mypy-boto3-kinesis
4
4
 
5
- [![PyPI - mypy-boto3-kinesis](https://img.shields.io/pypi/v/mypy-boto3-kinesis.svg?color=blue)](https://pypi.org/project/mypy-boto3-kinesis)
6
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-kinesis.svg?color=blue)](https://pypi.org/project/mypy-boto3-kinesis)
7
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/)
8
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-kinesis)](https://pepy.tech/project/mypy-boto3-kinesis)
5
+ [![PyPI - mypy-boto3-kinesis](https://img.shields.io/pypi/v/mypy-boto3-kinesis.svg?color=blue)](https://pypi.org/project/mypy-boto3-kinesis/)
6
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-kinesis.svg?color=blue)](https://pypi.org/project/mypy-boto3-kinesis/)
7
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/)
8
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-kinesis)](https://pypistats.org/packages/mypy-boto3-kinesis)
9
9
 
10
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
11
11
 
12
- Type annotations for
13
- [boto3.Kinesis 1.35.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#Kinesis)
14
- service compatible with [VSCode](https://code.visualstudio.com/),
12
+ Type annotations for [boto3 Kinesis 1.35.93](https://pypi.org/project/boto3/)
13
+ compatible with [VSCode](https://code.visualstudio.com/),
15
14
  [PyCharm](https://www.jetbrains.com/pycharm/),
16
15
  [Emacs](https://www.gnu.org/software/emacs/),
17
16
  [Sublime Text](https://www.sublimetext.com/),
18
17
  [mypy](https://github.com/python/mypy),
19
18
  [pyright](https://github.com/microsoft/pyright) and other tools.
20
19
 
21
- Generated by
22
- [mypy-boto3-builder 7.26.0](https://github.com/youtype/mypy_boto3_builder).
20
+ Generated with
21
+ [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
23
22
 
24
23
  More information can be found on
25
24
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
26
25
  [mypy-boto3-kinesis docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis/).
27
26
 
28
- See how it helps to find and fix potential bugs:
27
+ See how it helps you find and fix potential bugs:
29
28
 
30
- ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
29
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
31
30
 
32
31
  - [mypy-boto3-kinesis](#mypy-boto3-kinesis)
33
32
  - [How to install](#how-to-install)
33
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
34
34
  - [VSCode extension](#vscode-extension)
35
35
  - [From PyPI with pip](#from-pypi-with-pip)
36
36
  - [How to uninstall](#how-to-uninstall)
@@ -42,6 +42,7 @@ See how it helps to find and fix potential bugs:
42
42
  - [Other IDEs](#other-ides)
43
43
  - [mypy](#mypy)
44
44
  - [pyright](#pyright)
45
+ - [Pylint compatibility](#pylint-compatibility)
45
46
  - [Explicit type annotations](#explicit-type-annotations)
46
47
  - [Client annotations](#client-annotations)
47
48
  - [Paginators annotations](#paginators-annotations)
@@ -61,6 +62,21 @@ See how it helps to find and fix potential bugs:
61
62
 
62
63
  ## How to install
63
64
 
65
+ <a id="generate-locally-(recommended)"></a>
66
+
67
+ ### Generate locally (recommended)
68
+
69
+ You can generate type annotations for `boto3` package locally with
70
+ `mypy_boto3_builder`. Use
71
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
72
+ isolation.
73
+
74
+ 1. Run mypy-boto3-builder in your package root directory:
75
+ `uvx --with 'boto3==1.35.93' mypy_boto3_builder`
76
+ 2. Select `boto3-stubs` AWS SDK.
77
+ 3. Add `Kinesis` service.
78
+ 4. Use provided commands to install generated packages.
79
+
64
80
  <a id="vscode-extension"></a>
65
81
 
66
82
  ### VSCode extension
@@ -81,12 +97,10 @@ Install `boto3-stubs` for `Kinesis` service.
81
97
  # install with boto3 type annotations
82
98
  python -m pip install 'boto3-stubs[kinesis]'
83
99
 
84
-
85
100
  # Lite version does not provide session.client/resource overloads
86
101
  # it is more RAM-friendly, but requires explicit type annotations
87
102
  python -m pip install 'boto3-stubs-lite[kinesis]'
88
103
 
89
-
90
104
  # standalone installation
91
105
  python -m pip install mypy-boto3-kinesis
92
106
  ```
@@ -125,16 +139,31 @@ annotations required, write your `boto3` code as usual.
125
139
 
126
140
  ### PyCharm
127
141
 
128
- Install `boto3-stubs-lite[kinesis]` in your environment:
142
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
143
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
144
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
145
+ > the issue is resolved.
146
+
147
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
148
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
149
+ > [pyright](https://github.com/microsoft/pyright) instead.
150
+
151
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
152
+ > `boto3-stubs` with
153
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
129
154
 
130
155
  ```bash
131
- python -m pip install 'boto3-stubs-lite[kinesis]'`
156
+ pip uninstall boto3-stubs
157
+ pip install boto3-stubs-lite
132
158
  ```
133
159
 
134
- Both type checking and code completion should now work. Explicit type
135
- annotations **are required**.
160
+ Install `boto3-stubs[kinesis]` in your environment:
136
161
 
137
- Use `boto3-stubs` package instead for implicit type discovery.
162
+ ```bash
163
+ python -m pip install 'boto3-stubs[kinesis]'
164
+ ```
165
+
166
+ Both type checking and code completion should now work.
138
167
 
139
168
  <a id="emacs"></a>
140
169
 
@@ -198,7 +227,7 @@ should work.
198
227
  - Install `boto3-stubs[kinesis]` in your environment:
199
228
 
200
229
  ```bash
201
- python -m pip install 'boto3-stubs[kinesis]'`
230
+ python -m pip install 'boto3-stubs[kinesis]'
202
231
  ```
203
232
 
204
233
  Type checking should now work. No explicit type annotations required, write
@@ -215,11 +244,36 @@ your `boto3` code as usual.
215
244
  python -m pip install 'boto3-stubs[kinesis]'
216
245
  ```
217
246
 
218
- Optionally, you can install `boto3-stubs` to `typings` folder.
247
+ Optionally, you can install `boto3-stubs` to `typings` directory.
219
248
 
220
249
  Type checking should now work. No explicit type annotations required, write
221
250
  your `boto3` code as usual.
222
251
 
252
+ <a id="pylint-compatibility"></a>
253
+
254
+ ### Pylint compatibility
255
+
256
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
257
+ `mypy-boto3-kinesis` dependency in production. However, there is an issue in
258
+ `pylint` that it complains about undefined variables. To fix it, set all types
259
+ to `object` in non-`TYPE_CHECKING` mode.
260
+
261
+ ```python
262
+ from typing import TYPE_CHECKING
263
+
264
+ if TYPE_CHECKING:
265
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
266
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
267
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
268
+ else:
269
+ EC2Client = object
270
+ EC2ServiceResource = object
271
+ BundleTaskCompleteWaiter = object
272
+ DescribeVolumesPaginator = object
273
+
274
+ ...
275
+ ```
276
+
223
277
  <a id="explicit-type-annotations"></a>
224
278
 
225
279
  ## Explicit type annotations
@@ -339,8 +393,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
339
393
  annotations extracted from `botocore` schemas.
340
394
  - Type annotations include up-to-date documentation.
341
395
  - Link to documentation is provided for every method.
342
- - Code is processed by [black](https://github.com/psf/black) and
343
- [isort](https://github.com/PyCQA/isort) for readability.
396
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
344
397
 
345
398
  <a id="what's-new"></a>
346
399
 
@@ -27,6 +27,8 @@ Usage::
27
27
  list_stream_consumers_paginator: ListStreamConsumersPaginator = client.get_paginator("list_stream_consumers")
28
28
  list_streams_paginator: ListStreamsPaginator = client.get_paginator("list_streams")
29
29
  ```
30
+
31
+ Copyright 2025 Vlad Emelianov
30
32
  """
31
33
 
32
34
  from .client import KinesisClient
@@ -40,6 +42,7 @@ from .waiter import StreamExistsWaiter, StreamNotExistsWaiter
40
42
 
41
43
  Client = KinesisClient
42
44
 
45
+
43
46
  __all__ = (
44
47
  "Client",
45
48
  "DescribeStreamPaginator",
@@ -27,6 +27,8 @@ Usage::
27
27
  list_stream_consumers_paginator: ListStreamConsumersPaginator = client.get_paginator("list_stream_consumers")
28
28
  list_streams_paginator: ListStreamsPaginator = client.get_paginator("list_streams")
29
29
  ```
30
+
31
+ Copyright 2025 Vlad Emelianov
30
32
  """
31
33
 
32
34
  from .client import KinesisClient
@@ -1,5 +1,7 @@
1
1
  """
2
2
  Main CLI entrypoint.
3
+
4
+ Copyright 2025 Vlad Emelianov
3
5
  """
4
6
 
5
7
  import sys
@@ -9,14 +11,14 @@ def print_info() -> None:
9
11
  """
10
12
  Print package info to stdout.
11
13
  """
12
- print(
13
- "Type annotations for boto3.Kinesis 1.35.0\n"
14
- "Version: 1.35.0\n"
15
- "Builder version: 7.26.0\n"
14
+ sys.stdout.write(
15
+ "Type annotations for boto3 Kinesis 1.35.93\n"
16
+ "Version: 1.35.93\n"
17
+ "Builder version: 8.8.0\n"
16
18
  "Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_kinesis//\n"
17
- "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#Kinesis\n"
19
+ "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#kinesis\n"
18
20
  "Other services: https://pypi.org/project/boto3-stubs/\n"
19
- "Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
21
+ "Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
20
22
  )
21
23
 
22
24
 
@@ -24,7 +26,7 @@ def print_version() -> None:
24
26
  """
25
27
  Print package version to stdout.
26
28
  """
27
- print("1.35.0")
29
+ sys.stdout.write("1.35.93\n")
28
30
 
29
31
 
30
32
  def main() -> None:
@@ -32,7 +34,8 @@ def main() -> None:
32
34
  Main CLI entrypoint.
33
35
  """
34
36
  if "--version" in sys.argv:
35
- return print_version()
37
+ print_version()
38
+ return
36
39
  print_info()
37
40
 
38
41