mypy-boto3-codeconnections 1.34.74__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.

Potentially problematic release.


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

Files changed (22) hide show
  1. mypy-boto3-codeconnections-1.34.74/LICENSE +21 -0
  2. mypy-boto3-codeconnections-1.34.74/PKG-INFO +394 -0
  3. mypy-boto3-codeconnections-1.34.74/README.md +361 -0
  4. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections/__init__.py +22 -0
  5. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections/__init__.pyi +22 -0
  6. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections/__main__.py +40 -0
  7. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections/client.py +451 -0
  8. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections/client.pyi +448 -0
  9. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections/literals.py +442 -0
  10. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections/literals.pyi +442 -0
  11. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections/py.typed +0 -0
  12. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections/type_defs.py +635 -0
  13. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections/type_defs.pyi +635 -0
  14. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections/version.py +5 -0
  15. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections.egg-info/PKG-INFO +394 -0
  16. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections.egg-info/SOURCES.txt +20 -0
  17. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections.egg-info/dependency_links.txt +1 -0
  18. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections.egg-info/not-zip-safe +1 -0
  19. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections.egg-info/requires.txt +3 -0
  20. mypy-boto3-codeconnections-1.34.74/mypy_boto3_codeconnections.egg-info/top_level.txt +1 -0
  21. mypy-boto3-codeconnections-1.34.74/setup.cfg +4 -0
  22. mypy-boto3-codeconnections-1.34.74/setup.py +53 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 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.
@@ -0,0 +1,394 @@
1
+ Metadata-Version: 2.1
2
+ Name: mypy-boto3-codeconnections
3
+ Version: 1.34.74
4
+ Summary: Type annotations for boto3.CodeConnections 1.34.74 service generated with mypy-boto3-builder 7.23.2
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_codeconnections/
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 codeconnections 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
+ <a id="mypy-boto3-codeconnections"></a>
35
+
36
+ # mypy-boto3-codeconnections
37
+
38
+ [![PyPI - mypy-boto3-codeconnections](https://img.shields.io/pypi/v/mypy-boto3-codeconnections.svg?color=blue)](https://pypi.org/project/mypy-boto3-codeconnections)
39
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-codeconnections.svg?color=blue)](https://pypi.org/project/mypy-boto3-codeconnections)
40
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_codeconnections/)
41
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-codeconnections)](https://pepy.tech/project/mypy-boto3-codeconnections)
42
+
43
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
+
45
+ Type annotations for
46
+ [boto3.CodeConnections 1.34.74](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codeconnections.html#CodeConnections)
47
+ service compatible with [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 by
55
+ [mypy-boto3-builder 7.23.2](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-codeconnections docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_codeconnections/).
60
+
61
+ See how it helps to find and fix potential bugs:
62
+
63
+ ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
64
+
65
+ - [mypy-boto3-codeconnections](#mypy-boto3-codeconnections)
66
+ - [How to install](#how-to-install)
67
+ - [VSCode extension](#vscode-extension)
68
+ - [From PyPI with pip](#from-pypi-with-pip)
69
+ - [How to uninstall](#how-to-uninstall)
70
+ - [Usage](#usage)
71
+ - [VSCode](#vscode)
72
+ - [PyCharm](#pycharm)
73
+ - [Emacs](#emacs)
74
+ - [Sublime Text](#sublime-text)
75
+ - [Other IDEs](#other-ides)
76
+ - [mypy](#mypy)
77
+ - [pyright](#pyright)
78
+ - [Explicit type annotations](#explicit-type-annotations)
79
+ - [Client annotations](#client-annotations)
80
+ - [Literals](#literals)
81
+ - [Type definitions](#type-definitions)
82
+ - [How it works](#how-it-works)
83
+ - [What's new](#what's-new)
84
+ - [Implemented features](#implemented-features)
85
+ - [Latest changes](#latest-changes)
86
+ - [Versioning](#versioning)
87
+ - [Thank you](#thank-you)
88
+ - [Documentation](#documentation)
89
+ - [Support and contributing](#support-and-contributing)
90
+
91
+ <a id="how-to-install"></a>
92
+
93
+ ## How to install
94
+
95
+ <a id="vscode-extension"></a>
96
+
97
+ ### VSCode extension
98
+
99
+ Add
100
+ [AWS Boto3](https://marketplace.visualstudio.com/items?itemName=Boto3typed.boto3-ide)
101
+ extension to your VSCode and run `AWS boto3: Quick Start` command.
102
+
103
+ Click `Modify` and select `boto3 common` and `CodeConnections`.
104
+
105
+ <a id="from-pypi-with-pip"></a>
106
+
107
+ ### From PyPI with pip
108
+
109
+ Install `boto3-stubs` for `CodeConnections` service.
110
+
111
+ ```bash
112
+ # install with boto3 type annotations
113
+ python -m pip install 'boto3-stubs[codeconnections]'
114
+
115
+
116
+ # Lite version does not provide session.client/resource overloads
117
+ # it is more RAM-friendly, but requires explicit type annotations
118
+ python -m pip install 'boto3-stubs-lite[codeconnections]'
119
+
120
+
121
+ # standalone installation
122
+ python -m pip install mypy-boto3-codeconnections
123
+ ```
124
+
125
+ <a id="how-to-uninstall"></a>
126
+
127
+ ## How to uninstall
128
+
129
+ ```bash
130
+ python -m pip uninstall -y mypy-boto3-codeconnections
131
+ ```
132
+
133
+ <a id="usage"></a>
134
+
135
+ ## Usage
136
+
137
+ <a id="vscode"></a>
138
+
139
+ ### VSCode
140
+
141
+ - Install
142
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
143
+ - Install
144
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
145
+ - Set `Pylance` as your Python Language Server
146
+ - Install `boto3-stubs[codeconnections]` in your environment:
147
+
148
+ ```bash
149
+ python -m pip install 'boto3-stubs[codeconnections]'
150
+ ```
151
+
152
+ Both type checking and code completion should now work. No explicit type
153
+ annotations required, write your `boto3` code as usual.
154
+
155
+ <a id="pycharm"></a>
156
+
157
+ ### PyCharm
158
+
159
+ Install `boto3-stubs-lite[codeconnections]` in your environment:
160
+
161
+ ```bash
162
+ python -m pip install 'boto3-stubs-lite[codeconnections]'`
163
+ ```
164
+
165
+ Both type checking and code completion should now work. Explicit type
166
+ annotations **are required**.
167
+
168
+ Use `boto3-stubs` package instead for implicit type discovery.
169
+
170
+ <a id="emacs"></a>
171
+
172
+ ### Emacs
173
+
174
+ - Install `boto3-stubs` with services you use in your environment:
175
+
176
+ ```bash
177
+ python -m pip install 'boto3-stubs[codeconnections]'
178
+ ```
179
+
180
+ - Install [use-package](https://github.com/jwiegley/use-package),
181
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
182
+ [company](https://github.com/company-mode/company-mode) and
183
+ [flycheck](https://github.com/flycheck/flycheck) packages
184
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
185
+
186
+ ```elisp
187
+ (use-package lsp-pyright
188
+ :ensure t
189
+ :hook (python-mode . (lambda ()
190
+ (require 'lsp-pyright)
191
+ (lsp))) ; or lsp-deferred
192
+ :init (when (executable-find "python3")
193
+ (setq lsp-pyright-python-executable-cmd "python3"))
194
+ )
195
+ ```
196
+
197
+ - Make sure emacs uses the environment where you have installed `boto3-stubs`
198
+
199
+ Type checking should now work. No explicit type annotations required, write
200
+ your `boto3` code as usual.
201
+
202
+ <a id="sublime-text"></a>
203
+
204
+ ### Sublime Text
205
+
206
+ - Install `boto3-stubs[codeconnections]` with services you use in your
207
+ environment:
208
+
209
+ ```bash
210
+ python -m pip install 'boto3-stubs[codeconnections]'
211
+ ```
212
+
213
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
214
+
215
+ Type checking should now work. No explicit type annotations required, write
216
+ your `boto3` code as usual.
217
+
218
+ <a id="other-ides"></a>
219
+
220
+ ### Other IDEs
221
+
222
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
223
+ should work.
224
+
225
+ <a id="mypy"></a>
226
+
227
+ ### mypy
228
+
229
+ - Install `mypy`: `python -m pip install mypy`
230
+ - Install `boto3-stubs[codeconnections]` in your environment:
231
+
232
+ ```bash
233
+ python -m pip install 'boto3-stubs[codeconnections]'`
234
+ ```
235
+
236
+ Type checking should now work. No explicit type annotations required, write
237
+ your `boto3` code as usual.
238
+
239
+ <a id="pyright"></a>
240
+
241
+ ### pyright
242
+
243
+ - Install `pyright`: `npm i -g pyright`
244
+ - Install `boto3-stubs[codeconnections]` in your environment:
245
+
246
+ ```bash
247
+ python -m pip install 'boto3-stubs[codeconnections]'
248
+ ```
249
+
250
+ Optionally, you can install `boto3-stubs` to `typings` folder.
251
+
252
+ Type checking should now work. No explicit type annotations required, write
253
+ your `boto3` code as usual.
254
+
255
+ <a id="explicit-type-annotations"></a>
256
+
257
+ ## Explicit type annotations
258
+
259
+ <a id="client-annotations"></a>
260
+
261
+ ### Client annotations
262
+
263
+ `CodeConnectionsClient` provides annotations for
264
+ `boto3.client("codeconnections")`.
265
+
266
+ ```python
267
+ from boto3.session import Session
268
+
269
+ from mypy_boto3_codeconnections import CodeConnectionsClient
270
+
271
+ client: CodeConnectionsClient = Session().client("codeconnections")
272
+
273
+ # now client usage is checked by mypy and IDE should provide code completion
274
+ ```
275
+
276
+ <a id="literals"></a>
277
+
278
+ ### Literals
279
+
280
+ `mypy_boto3_codeconnections.literals` module contains literals extracted from
281
+ shapes that can be used in user code for type checking.
282
+
283
+ Full list of `CodeConnections` Literals can be found in
284
+ [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_codeconnections/literals/).
285
+
286
+ ```python
287
+ from mypy_boto3_codeconnections.literals import BlockerStatusType
288
+
289
+
290
+ def check_value(value: BlockerStatusType) -> bool: ...
291
+ ```
292
+
293
+ <a id="type-definitions"></a>
294
+
295
+ ### Type definitions
296
+
297
+ `mypy_boto3_codeconnections.type_defs` module contains structures and shapes
298
+ assembled to typed dictionaries and unions for additional type checking.
299
+
300
+ Full list of `CodeConnections` TypeDefs can be found in
301
+ [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_codeconnections/type_defs/).
302
+
303
+ ```python
304
+ from mypy_boto3_codeconnections.type_defs import ConnectionTypeDef
305
+
306
+
307
+ def get_value() -> ConnectionTypeDef:
308
+ return {...}
309
+ ```
310
+
311
+ <a id="how-it-works"></a>
312
+
313
+ ## How it works
314
+
315
+ Fully automated
316
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
317
+ generates type annotations for each service, patiently waiting for `boto3`
318
+ updates. It delivers drop-in type annotations for you and makes sure that:
319
+
320
+ - All available `boto3` services are covered.
321
+ - Each public class and method of every `boto3` service gets valid type
322
+ annotations extracted from `botocore` schemas.
323
+ - Type annotations include up-to-date documentation.
324
+ - Link to documentation is provided for every method.
325
+ - Code is processed by [black](https://github.com/psf/black) and
326
+ [isort](https://github.com/PyCQA/isort) for readability.
327
+
328
+ <a id="what's-new"></a>
329
+
330
+ ## What's new
331
+
332
+ <a id="implemented-features"></a>
333
+
334
+ ### Implemented features
335
+
336
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
337
+ libraries
338
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
339
+ compatibility
340
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
341
+ annotations for each service
342
+ - Generated `TypeDefs` for each service
343
+ - Generated `Literals` for each service
344
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
345
+ - Auto discovery of types for `session.client` and `session.resource` calls
346
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
347
+ calls
348
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
349
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
350
+
351
+ <a id="latest-changes"></a>
352
+
353
+ ### Latest changes
354
+
355
+ Builder changelog can be found in
356
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
357
+
358
+ <a id="versioning"></a>
359
+
360
+ ## Versioning
361
+
362
+ `mypy-boto3-codeconnections` version is the same as related `boto3` version and
363
+ follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
364
+
365
+ <a id="thank-you"></a>
366
+
367
+ ## Thank you
368
+
369
+ - [Allie Fitter](https://github.com/alliefitter) for
370
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
371
+ this package is based on top of his work
372
+ - [black](https://github.com/psf/black) developers for an awesome formatting
373
+ tool
374
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
375
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
376
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
377
+ for us
378
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
379
+ Python
380
+
381
+ <a id="documentation"></a>
382
+
383
+ ## Documentation
384
+
385
+ All services type annotations can be found in
386
+ [boto3 docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_codeconnections/)
387
+
388
+ <a id="support-and-contributing"></a>
389
+
390
+ ## Support and contributing
391
+
392
+ This package is auto-generated. Please reports any bugs or request new features
393
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
394
+ repository.