mypy-boto3-codedeploy 1.35.0__tar.gz → 1.36.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.
Files changed (31) hide show
  1. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/LICENSE +1 -1
  2. {mypy_boto3_codedeploy-1.35.0/mypy_boto3_codedeploy.egg-info → mypy_boto3_codedeploy-1.36.0}/PKG-INFO +93 -27
  3. mypy_boto3_codedeploy-1.35.0/PKG-INFO → mypy_boto3_codedeploy-1.36.0/README.md +75 -55
  4. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy/__init__.py +3 -0
  5. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy/__init__.pyi +2 -0
  6. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy/__main__.py +11 -8
  7. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy/client.py +252 -310
  8. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy/client.pyi +251 -309
  9. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy/literals.py +35 -11
  10. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy/literals.pyi +33 -11
  11. mypy_boto3_codedeploy-1.36.0/mypy_boto3_codedeploy/paginator.py +274 -0
  12. mypy_boto3_codedeploy-1.36.0/mypy_boto3_codedeploy/paginator.pyi +246 -0
  13. mypy_boto3_codedeploy-1.36.0/mypy_boto3_codedeploy/type_defs.py +1277 -0
  14. mypy_boto3_codedeploy-1.36.0/mypy_boto3_codedeploy/type_defs.pyi +1112 -0
  15. mypy_boto3_codedeploy-1.36.0/mypy_boto3_codedeploy/version.py +7 -0
  16. mypy_boto3_codedeploy-1.35.0/mypy_boto3_codedeploy/waiter.pyi → mypy_boto3_codedeploy-1.36.0/mypy_boto3_codedeploy/waiter.py +20 -5
  17. mypy_boto3_codedeploy-1.35.0/mypy_boto3_codedeploy/waiter.py → mypy_boto3_codedeploy-1.36.0/mypy_boto3_codedeploy/waiter.pyi +18 -7
  18. mypy_boto3_codedeploy-1.35.0/README.md → mypy_boto3_codedeploy-1.36.0/mypy_boto3_codedeploy.egg-info/PKG-INFO +121 -22
  19. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy.egg-info/requires.txt +1 -1
  20. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/setup.py +7 -6
  21. mypy_boto3_codedeploy-1.35.0/mypy_boto3_codedeploy/paginator.py +0 -250
  22. mypy_boto3_codedeploy-1.35.0/mypy_boto3_codedeploy/paginator.pyi +0 -240
  23. mypy_boto3_codedeploy-1.35.0/mypy_boto3_codedeploy/type_defs.py +0 -1571
  24. mypy_boto3_codedeploy-1.35.0/mypy_boto3_codedeploy/type_defs.pyi +0 -1571
  25. mypy_boto3_codedeploy-1.35.0/mypy_boto3_codedeploy/version.py +0 -5
  26. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy/py.typed +0 -0
  27. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy.egg-info/SOURCES.txt +0 -0
  28. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy.egg-info/dependency_links.txt +0 -0
  29. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy.egg-info/not-zip-safe +0 -0
  30. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/mypy_boto3_codedeploy.egg-info/top_level.txt +0 -0
  31. {mypy_boto3_codedeploy-1.35.0 → mypy_boto3_codedeploy-1.36.0}/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
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: mypy-boto3-codedeploy
3
- Version: 1.35.0
4
- Summary: Type annotations for boto3.CodeDeploy 1.35.0 service generated with mypy-boto3-builder 7.26.0
3
+ Version: 1.36.0
4
+ Summary: Type annotations for boto3 CodeDeploy 1.36.0 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_codedeploy/
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 codedeploy type-annotations botocore mypy typeshed autocomplete
12
+ Keywords: boto3 codedeploy 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,60 @@ 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"
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
33
46
 
34
47
  <a id="mypy-boto3-codedeploy"></a>
35
48
 
36
49
  # mypy-boto3-codedeploy
37
50
 
38
- [![PyPI - mypy-boto3-codedeploy](https://img.shields.io/pypi/v/mypy-boto3-codedeploy.svg?color=blue)](https://pypi.org/project/mypy-boto3-codedeploy)
39
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-codedeploy.svg?color=blue)](https://pypi.org/project/mypy-boto3-codedeploy)
40
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_codedeploy/)
41
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-codedeploy)](https://pepy.tech/project/mypy-boto3-codedeploy)
51
+ [![PyPI - mypy-boto3-codedeploy](https://img.shields.io/pypi/v/mypy-boto3-codedeploy.svg?color=blue)](https://pypi.org/project/mypy-boto3-codedeploy/)
52
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-codedeploy.svg?color=blue)](https://pypi.org/project/mypy-boto3-codedeploy/)
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-codedeploy)](https://pypistats.org/packages/mypy-boto3-codedeploy)
42
55
 
43
56
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
57
 
45
- Type annotations for
46
- [boto3.CodeDeploy 1.35.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codedeploy.html#CodeDeploy)
47
- service compatible with [VSCode](https://code.visualstudio.com/),
58
+ Type annotations for [boto3 CodeDeploy 1.36.0](https://pypi.org/project/boto3/)
59
+ compatible with [VSCode](https://code.visualstudio.com/),
48
60
  [PyCharm](https://www.jetbrains.com/pycharm/),
49
61
  [Emacs](https://www.gnu.org/software/emacs/),
50
62
  [Sublime Text](https://www.sublimetext.com/),
51
63
  [mypy](https://github.com/python/mypy),
52
64
  [pyright](https://github.com/microsoft/pyright) and other tools.
53
65
 
54
- Generated by
55
- [mypy-boto3-builder 7.26.0](https://github.com/youtype/mypy_boto3_builder).
66
+ Generated with
67
+ [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
56
68
 
57
69
  More information can be found on
58
70
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
59
71
  [mypy-boto3-codedeploy docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_codedeploy/).
60
72
 
61
- See how it helps to find and fix potential bugs:
73
+ See how it helps you find and fix potential bugs:
62
74
 
63
- ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
75
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
64
76
 
65
77
  - [mypy-boto3-codedeploy](#mypy-boto3-codedeploy)
66
78
  - [How to install](#how-to-install)
79
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
67
80
  - [VSCode extension](#vscode-extension)
68
81
  - [From PyPI with pip](#from-pypi-with-pip)
69
82
  - [How to uninstall](#how-to-uninstall)
@@ -75,6 +88,7 @@ See how it helps to find and fix potential bugs:
75
88
  - [Other IDEs](#other-ides)
76
89
  - [mypy](#mypy)
77
90
  - [pyright](#pyright)
91
+ - [Pylint compatibility](#pylint-compatibility)
78
92
  - [Explicit type annotations](#explicit-type-annotations)
79
93
  - [Client annotations](#client-annotations)
80
94
  - [Paginators annotations](#paginators-annotations)
@@ -94,6 +108,21 @@ See how it helps to find and fix potential bugs:
94
108
 
95
109
  ## How to install
96
110
 
111
+ <a id="generate-locally-(recommended)"></a>
112
+
113
+ ### Generate locally (recommended)
114
+
115
+ You can generate type annotations for `boto3` package locally with
116
+ `mypy_boto3_builder`. Use
117
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
118
+ isolation.
119
+
120
+ 1. Run mypy-boto3-builder in your package root directory:
121
+ `uvx --with 'boto3==1.36.0' mypy_boto3_builder`
122
+ 2. Select `boto3-stubs` AWS SDK.
123
+ 3. Add `CodeDeploy` service.
124
+ 4. Use provided commands to install generated packages.
125
+
97
126
  <a id="vscode-extension"></a>
98
127
 
99
128
  ### VSCode extension
@@ -114,12 +143,10 @@ Install `boto3-stubs` for `CodeDeploy` service.
114
143
  # install with boto3 type annotations
115
144
  python -m pip install 'boto3-stubs[codedeploy]'
116
145
 
117
-
118
146
  # Lite version does not provide session.client/resource overloads
119
147
  # it is more RAM-friendly, but requires explicit type annotations
120
148
  python -m pip install 'boto3-stubs-lite[codedeploy]'
121
149
 
122
-
123
150
  # standalone installation
124
151
  python -m pip install mypy-boto3-codedeploy
125
152
  ```
@@ -158,16 +185,31 @@ annotations required, write your `boto3` code as usual.
158
185
 
159
186
  ### PyCharm
160
187
 
161
- Install `boto3-stubs-lite[codedeploy]` in your environment:
188
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
189
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
190
+ > to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
191
+ > the issue is resolved.
192
+
193
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
194
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
195
+ > [pyright](https://github.com/microsoft/pyright) instead.
196
+
197
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
198
+ > `boto3-stubs` with
199
+ > [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
162
200
 
163
201
  ```bash
164
- python -m pip install 'boto3-stubs-lite[codedeploy]'`
202
+ pip uninstall boto3-stubs
203
+ pip install boto3-stubs-lite
165
204
  ```
166
205
 
167
- Both type checking and code completion should now work. Explicit type
168
- annotations **are required**.
206
+ Install `boto3-stubs[codedeploy]` in your environment:
169
207
 
170
- Use `boto3-stubs` package instead for implicit type discovery.
208
+ ```bash
209
+ python -m pip install 'boto3-stubs[codedeploy]'
210
+ ```
211
+
212
+ Both type checking and code completion should now work.
171
213
 
172
214
  <a id="emacs"></a>
173
215
 
@@ -231,7 +273,7 @@ should work.
231
273
  - Install `boto3-stubs[codedeploy]` in your environment:
232
274
 
233
275
  ```bash
234
- python -m pip install 'boto3-stubs[codedeploy]'`
276
+ python -m pip install 'boto3-stubs[codedeploy]'
235
277
  ```
236
278
 
237
279
  Type checking should now work. No explicit type annotations required, write
@@ -248,11 +290,36 @@ your `boto3` code as usual.
248
290
  python -m pip install 'boto3-stubs[codedeploy]'
249
291
  ```
250
292
 
251
- Optionally, you can install `boto3-stubs` to `typings` folder.
293
+ Optionally, you can install `boto3-stubs` to `typings` directory.
252
294
 
253
295
  Type checking should now work. No explicit type annotations required, write
254
296
  your `boto3` code as usual.
255
297
 
298
+ <a id="pylint-compatibility"></a>
299
+
300
+ ### Pylint compatibility
301
+
302
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
303
+ `mypy-boto3-codedeploy` dependency in production. However, there is an issue in
304
+ `pylint` that it complains about undefined variables. To fix it, set all types
305
+ to `object` in non-`TYPE_CHECKING` mode.
306
+
307
+ ```python
308
+ from typing import TYPE_CHECKING
309
+
310
+ if TYPE_CHECKING:
311
+ from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
312
+ from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
313
+ from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
314
+ else:
315
+ EC2Client = object
316
+ EC2ServiceResource = object
317
+ BundleTaskCompleteWaiter = object
318
+ DescribeVolumesPaginator = object
319
+
320
+ ...
321
+ ```
322
+
256
323
  <a id="explicit-type-annotations"></a>
257
324
 
258
325
  ## Explicit type annotations
@@ -396,8 +463,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
396
463
  annotations extracted from `botocore` schemas.
397
464
  - Type annotations include up-to-date documentation.
398
465
  - Link to documentation is provided for every method.
399
- - Code is processed by [black](https://github.com/psf/black) and
400
- [isort](https://github.com/PyCQA/isort) for readability.
466
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
401
467
 
402
468
  <a id="what's-new"></a>
403
469
 
@@ -1,69 +1,36 @@
1
- Metadata-Version: 2.1
2
- Name: mypy-boto3-codedeploy
3
- Version: 1.35.0
4
- Summary: Type annotations for boto3.CodeDeploy 1.35.0 service generated with mypy-boto3-builder 7.26.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_codedeploy/
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 codedeploy type-annotations botocore 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 :: Only
27
- Classifier: Programming Language :: Python :: Implementation :: CPython
28
- Classifier: Typing :: Stubs Only
29
- Requires-Python: >=3.8
30
- Description-Content-Type: text/markdown
31
- License-File: LICENSE
32
- Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
33
-
34
1
  <a id="mypy-boto3-codedeploy"></a>
35
2
 
36
3
  # mypy-boto3-codedeploy
37
4
 
38
- [![PyPI - mypy-boto3-codedeploy](https://img.shields.io/pypi/v/mypy-boto3-codedeploy.svg?color=blue)](https://pypi.org/project/mypy-boto3-codedeploy)
39
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-codedeploy.svg?color=blue)](https://pypi.org/project/mypy-boto3-codedeploy)
40
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_codedeploy/)
41
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-codedeploy)](https://pepy.tech/project/mypy-boto3-codedeploy)
5
+ [![PyPI - mypy-boto3-codedeploy](https://img.shields.io/pypi/v/mypy-boto3-codedeploy.svg?color=blue)](https://pypi.org/project/mypy-boto3-codedeploy/)
6
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-codedeploy.svg?color=blue)](https://pypi.org/project/mypy-boto3-codedeploy/)
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-codedeploy)](https://pypistats.org/packages/mypy-boto3-codedeploy)
42
9
 
43
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
11
 
45
- Type annotations for
46
- [boto3.CodeDeploy 1.35.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codedeploy.html#CodeDeploy)
47
- service compatible with [VSCode](https://code.visualstudio.com/),
12
+ Type annotations for [boto3 CodeDeploy 1.36.0](https://pypi.org/project/boto3/)
13
+ compatible with [VSCode](https://code.visualstudio.com/),
48
14
  [PyCharm](https://www.jetbrains.com/pycharm/),
49
15
  [Emacs](https://www.gnu.org/software/emacs/),
50
16
  [Sublime Text](https://www.sublimetext.com/),
51
17
  [mypy](https://github.com/python/mypy),
52
18
  [pyright](https://github.com/microsoft/pyright) and other tools.
53
19
 
54
- Generated by
55
- [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).
56
22
 
57
23
  More information can be found on
58
24
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
59
25
  [mypy-boto3-codedeploy docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_codedeploy/).
60
26
 
61
- See how it helps to find and fix potential bugs:
27
+ See how it helps you find and fix potential bugs:
62
28
 
63
- ![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)
64
30
 
65
31
  - [mypy-boto3-codedeploy](#mypy-boto3-codedeploy)
66
32
  - [How to install](#how-to-install)
33
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
67
34
  - [VSCode extension](#vscode-extension)
68
35
  - [From PyPI with pip](#from-pypi-with-pip)
69
36
  - [How to uninstall](#how-to-uninstall)
@@ -75,6 +42,7 @@ See how it helps to find and fix potential bugs:
75
42
  - [Other IDEs](#other-ides)
76
43
  - [mypy](#mypy)
77
44
  - [pyright](#pyright)
45
+ - [Pylint compatibility](#pylint-compatibility)
78
46
  - [Explicit type annotations](#explicit-type-annotations)
79
47
  - [Client annotations](#client-annotations)
80
48
  - [Paginators annotations](#paginators-annotations)
@@ -94,6 +62,21 @@ See how it helps to find and fix potential bugs:
94
62
 
95
63
  ## How to install
96
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.36.0' mypy_boto3_builder`
76
+ 2. Select `boto3-stubs` AWS SDK.
77
+ 3. Add `CodeDeploy` service.
78
+ 4. Use provided commands to install generated packages.
79
+
97
80
  <a id="vscode-extension"></a>
98
81
 
99
82
  ### VSCode extension
@@ -114,12 +97,10 @@ Install `boto3-stubs` for `CodeDeploy` service.
114
97
  # install with boto3 type annotations
115
98
  python -m pip install 'boto3-stubs[codedeploy]'
116
99
 
117
-
118
100
  # Lite version does not provide session.client/resource overloads
119
101
  # it is more RAM-friendly, but requires explicit type annotations
120
102
  python -m pip install 'boto3-stubs-lite[codedeploy]'
121
103
 
122
-
123
104
  # standalone installation
124
105
  python -m pip install mypy-boto3-codedeploy
125
106
  ```
@@ -158,16 +139,31 @@ annotations required, write your `boto3` code as usual.
158
139
 
159
140
  ### PyCharm
160
141
 
161
- Install `boto3-stubs-lite[codedeploy]` 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/):
162
154
 
163
155
  ```bash
164
- python -m pip install 'boto3-stubs-lite[codedeploy]'`
156
+ pip uninstall boto3-stubs
157
+ pip install boto3-stubs-lite
165
158
  ```
166
159
 
167
- Both type checking and code completion should now work. Explicit type
168
- annotations **are required**.
160
+ Install `boto3-stubs[codedeploy]` in your environment:
161
+
162
+ ```bash
163
+ python -m pip install 'boto3-stubs[codedeploy]'
164
+ ```
169
165
 
170
- Use `boto3-stubs` package instead for implicit type discovery.
166
+ Both type checking and code completion should now work.
171
167
 
172
168
  <a id="emacs"></a>
173
169
 
@@ -231,7 +227,7 @@ should work.
231
227
  - Install `boto3-stubs[codedeploy]` in your environment:
232
228
 
233
229
  ```bash
234
- python -m pip install 'boto3-stubs[codedeploy]'`
230
+ python -m pip install 'boto3-stubs[codedeploy]'
235
231
  ```
236
232
 
237
233
  Type checking should now work. No explicit type annotations required, write
@@ -248,11 +244,36 @@ your `boto3` code as usual.
248
244
  python -m pip install 'boto3-stubs[codedeploy]'
249
245
  ```
250
246
 
251
- Optionally, you can install `boto3-stubs` to `typings` folder.
247
+ Optionally, you can install `boto3-stubs` to `typings` directory.
252
248
 
253
249
  Type checking should now work. No explicit type annotations required, write
254
250
  your `boto3` code as usual.
255
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-codedeploy` 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
+
256
277
  <a id="explicit-type-annotations"></a>
257
278
 
258
279
  ## Explicit type annotations
@@ -396,8 +417,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
396
417
  annotations extracted from `botocore` schemas.
397
418
  - Type annotations include up-to-date documentation.
398
419
  - Link to documentation is provided for every method.
399
- - Code is processed by [black](https://github.com/psf/black) and
400
- [isort](https://github.com/PyCQA/isort) for readability.
420
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
401
421
 
402
422
  <a id="what's-new"></a>
403
423
 
@@ -35,6 +35,8 @@ Usage::
35
35
  list_git_hub_account_token_names_paginator: ListGitHubAccountTokenNamesPaginator = client.get_paginator("list_git_hub_account_token_names")
36
36
  list_on_premises_instances_paginator: ListOnPremisesInstancesPaginator = client.get_paginator("list_on_premises_instances")
37
37
  ```
38
+
39
+ Copyright 2025 Vlad Emelianov
38
40
  """
39
41
 
40
42
  from .client import CodeDeployClient
@@ -53,6 +55,7 @@ from .waiter import DeploymentSuccessfulWaiter
53
55
 
54
56
  Client = CodeDeployClient
55
57
 
58
+
56
59
  __all__ = (
57
60
  "Client",
58
61
  "CodeDeployClient",
@@ -35,6 +35,8 @@ Usage::
35
35
  list_git_hub_account_token_names_paginator: ListGitHubAccountTokenNamesPaginator = client.get_paginator("list_git_hub_account_token_names")
36
36
  list_on_premises_instances_paginator: ListOnPremisesInstancesPaginator = client.get_paginator("list_on_premises_instances")
37
37
  ```
38
+
39
+ Copyright 2025 Vlad Emelianov
38
40
  """
39
41
 
40
42
  from .client import CodeDeployClient
@@ -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.CodeDeploy 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 CodeDeploy 1.36.0\n"
16
+ "Version: 1.36.0\n"
17
+ "Builder version: 8.8.0\n"
16
18
  "Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_codedeploy//\n"
17
- "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codedeploy.html#CodeDeploy\n"
19
+ "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codedeploy.html#codedeploy\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.36.0\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