types-boto3-batch 1.35.71__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.
@@ -0,0 +1,7 @@
1
+ """
2
+ Source of truth for version.
3
+
4
+ Copyright 2024 Vlad Emelianov
5
+ """
6
+
7
+ __version__ = "1.35.71"
@@ -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,445 @@
1
+ Metadata-Version: 2.1
2
+ Name: types-boto3-batch
3
+ Version: 1.35.71
4
+ Summary: Type annotations for boto3 Batch 1.35.71 service generated with mypy-boto3-builder 8.4.1
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/types_boto3_docs/types_boto3_batch/
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 batch 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.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>=4.1.0; python_version < "3.12"
34
+
35
+ <a id="types-boto3-batch"></a>
36
+
37
+ # types-boto3-batch
38
+
39
+ [![PyPI - types-boto3-batch](https://img.shields.io/pypi/v/types-boto3-batch.svg?color=blue)](https://pypi.org/project/types-boto3-batch/)
40
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/types-boto3-batch.svg?color=blue)](https://pypi.org/project/types-boto3-batch/)
41
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/types_boto3_docs/)
42
+ [![PyPI - Downloads](https://static.pepy.tech/badge/types-boto3-batch)](https://pypistats.org/packages/types-boto3-batch)
43
+
44
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
+
46
+ Type annotations for [boto3 Batch 1.35.71](https://pypi.org/project/boto3/)
47
+ 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 8.4.1](https://github.com/youtype/mypy_boto3_builder).
56
+
57
+ More information can be found on
58
+ [types-boto3](https://pypi.org/project/types-boto3/) page and in
59
+ [types-boto3-batch docs](https://youtype.github.io/types_boto3_docs/types_boto3_batch/).
60
+
61
+ See how it helps you find and fix potential bugs:
62
+
63
+ ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
64
+
65
+ - [types-boto3-batch](#types-boto3-batch)
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
+ - [Paginators annotations](#paginators-annotations)
81
+ - [Literals](#literals)
82
+ - [Type definitions](#type-definitions)
83
+ - [How it works](#how-it-works)
84
+ - [What's new](#what's-new)
85
+ - [Implemented features](#implemented-features)
86
+ - [Latest changes](#latest-changes)
87
+ - [Versioning](#versioning)
88
+ - [Thank you](#thank-you)
89
+ - [Documentation](#documentation)
90
+ - [Support and contributing](#support-and-contributing)
91
+
92
+ <a id="how-to-install"></a>
93
+
94
+ ## How to install
95
+
96
+ <a id="vscode-extension"></a>
97
+
98
+ ### VSCode extension
99
+
100
+ Add
101
+ [AWS Boto3](https://marketplace.visualstudio.com/items?itemName=Boto3typed.boto3-ide)
102
+ extension to your VSCode and run `AWS boto3: Quick Start` command.
103
+
104
+ Click `Modify` and select `boto3 common` and `Batch`.
105
+
106
+ <a id="from-pypi-with-pip"></a>
107
+
108
+ ### From PyPI with pip
109
+
110
+ Install `types-boto3` for `Batch` service.
111
+
112
+ ```bash
113
+ # install with boto3 type annotations
114
+ python -m pip install 'types-boto3[batch]'
115
+
116
+
117
+ # Lite version does not provide session.client/resource overloads
118
+ # it is more RAM-friendly, but requires explicit type annotations
119
+ python -m pip install 'types-boto3-lite[batch]'
120
+
121
+
122
+ # standalone installation
123
+ python -m pip install types-boto3-batch
124
+ ```
125
+
126
+ <a id="how-to-uninstall"></a>
127
+
128
+ ## How to uninstall
129
+
130
+ ```bash
131
+ python -m pip uninstall -y types-boto3-batch
132
+ ```
133
+
134
+ <a id="usage"></a>
135
+
136
+ ## Usage
137
+
138
+ <a id="vscode"></a>
139
+
140
+ ### VSCode
141
+
142
+ - Install
143
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
144
+ - Install
145
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
146
+ - Set `Pylance` as your Python Language Server
147
+ - Install `types-boto3[batch]` in your environment:
148
+
149
+ ```bash
150
+ python -m pip install 'types-boto3[batch]'
151
+ ```
152
+
153
+ Both type checking and code completion should now work. No explicit type
154
+ annotations required, write your `boto3` code as usual.
155
+
156
+ <a id="pycharm"></a>
157
+
158
+ ### PyCharm
159
+
160
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
161
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
162
+ > to use [types-boto3-lite](https://pypi.org/project/types-boto3-lite/) until
163
+ > the issue is resolved.
164
+
165
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
166
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
167
+ > [pyright](https://github.com/microsoft/pyright) instead.
168
+
169
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
170
+ > `types-boto3` with
171
+ > [types-boto3-lite](https://pypi.org/project/types-boto3-lite/):
172
+
173
+ ```bash
174
+ pip uninstall types-boto3
175
+ pip install types-boto3-lite
176
+ ```
177
+
178
+ Install `types-boto3[batch]` in your environment:
179
+
180
+ ```bash
181
+ python -m pip install 'types-boto3[batch]'
182
+ ```
183
+
184
+ Both type checking and code completion should now work.
185
+
186
+ <a id="emacs"></a>
187
+
188
+ ### Emacs
189
+
190
+ - Install `types-boto3` with services you use in your environment:
191
+
192
+ ```bash
193
+ python -m pip install 'types-boto3[batch]'
194
+ ```
195
+
196
+ - Install [use-package](https://github.com/jwiegley/use-package),
197
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
198
+ [company](https://github.com/company-mode/company-mode) and
199
+ [flycheck](https://github.com/flycheck/flycheck) packages
200
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
201
+
202
+ ```elisp
203
+ (use-package lsp-pyright
204
+ :ensure t
205
+ :hook (python-mode . (lambda ()
206
+ (require 'lsp-pyright)
207
+ (lsp))) ; or lsp-deferred
208
+ :init (when (executable-find "python3")
209
+ (setq lsp-pyright-python-executable-cmd "python3"))
210
+ )
211
+ ```
212
+
213
+ - Make sure emacs uses the environment where you have installed `types-boto3`
214
+
215
+ Type checking should now work. No explicit type annotations required, write
216
+ your `boto3` code as usual.
217
+
218
+ <a id="sublime-text"></a>
219
+
220
+ ### Sublime Text
221
+
222
+ - Install `types-boto3[batch]` with services you use in your environment:
223
+
224
+ ```bash
225
+ python -m pip install 'types-boto3[batch]'
226
+ ```
227
+
228
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
229
+
230
+ Type checking should now work. No explicit type annotations required, write
231
+ your `boto3` code as usual.
232
+
233
+ <a id="other-ides"></a>
234
+
235
+ ### Other IDEs
236
+
237
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
238
+ should work.
239
+
240
+ <a id="mypy"></a>
241
+
242
+ ### mypy
243
+
244
+ - Install `mypy`: `python -m pip install mypy`
245
+ - Install `types-boto3[batch]` in your environment:
246
+
247
+ ```bash
248
+ python -m pip install 'types-boto3[batch]'
249
+ ```
250
+
251
+ Type checking should now work. No explicit type annotations required, write
252
+ your `boto3` code as usual.
253
+
254
+ <a id="pyright"></a>
255
+
256
+ ### pyright
257
+
258
+ - Install `pyright`: `npm i -g pyright`
259
+ - Install `types-boto3[batch]` in your environment:
260
+
261
+ ```bash
262
+ python -m pip install 'types-boto3[batch]'
263
+ ```
264
+
265
+ Optionally, you can install `types-boto3` to `typings` directory.
266
+
267
+ Type checking should now work. No explicit type annotations required, write
268
+ your `boto3` code as usual.
269
+
270
+ <a id="explicit-type-annotations"></a>
271
+
272
+ ## Explicit type annotations
273
+
274
+ <a id="client-annotations"></a>
275
+
276
+ ### Client annotations
277
+
278
+ `BatchClient` provides annotations for `boto3.client("batch")`.
279
+
280
+ ```python
281
+ from boto3.session import Session
282
+
283
+ from types_boto3_batch import BatchClient
284
+
285
+ client: BatchClient = Session().client("batch")
286
+
287
+ # now client usage is checked by mypy and IDE should provide code completion
288
+ ```
289
+
290
+ <a id="paginators-annotations"></a>
291
+
292
+ ### Paginators annotations
293
+
294
+ `types_boto3_batch.paginator` module contains type annotations for all
295
+ paginators.
296
+
297
+ ```python
298
+ from boto3.session import Session
299
+
300
+ from types_boto3_batch import BatchClient
301
+ from types_boto3_batch.paginator import (
302
+ DescribeComputeEnvironmentsPaginator,
303
+ DescribeJobDefinitionsPaginator,
304
+ DescribeJobQueuesPaginator,
305
+ ListJobsPaginator,
306
+ ListSchedulingPoliciesPaginator,
307
+ )
308
+
309
+ client: BatchClient = Session().client("batch")
310
+
311
+ # Explicit type annotations are optional here
312
+ # Types should be correctly discovered by mypy and IDEs
313
+ describe_compute_environments_paginator: DescribeComputeEnvironmentsPaginator = (
314
+ client.get_paginator("describe_compute_environments")
315
+ )
316
+ describe_job_definitions_paginator: DescribeJobDefinitionsPaginator = client.get_paginator(
317
+ "describe_job_definitions"
318
+ )
319
+ describe_job_queues_paginator: DescribeJobQueuesPaginator = client.get_paginator(
320
+ "describe_job_queues"
321
+ )
322
+ list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
323
+ list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator(
324
+ "list_scheduling_policies"
325
+ )
326
+ ```
327
+
328
+ <a id="literals"></a>
329
+
330
+ ### Literals
331
+
332
+ `types_boto3_batch.literals` module contains literals extracted from shapes
333
+ that can be used in user code for type checking.
334
+
335
+ Full list of `Batch` Literals can be found in
336
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_batch/literals/).
337
+
338
+ ```python
339
+ from types_boto3_batch.literals import ArrayJobDependencyType
340
+
341
+
342
+ def check_value(value: ArrayJobDependencyType) -> bool: ...
343
+ ```
344
+
345
+ <a id="type-definitions"></a>
346
+
347
+ ### Type definitions
348
+
349
+ `types_boto3_batch.type_defs` module contains structures and shapes assembled
350
+ to typed dictionaries and unions for additional type checking.
351
+
352
+ Full list of `Batch` TypeDefs can be found in
353
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_batch/type_defs/).
354
+
355
+ ```python
356
+ from types_boto3_batch.type_defs import ArrayPropertiesDetailTypeDef
357
+
358
+
359
+ def get_value() -> ArrayPropertiesDetailTypeDef:
360
+ return {...}
361
+ ```
362
+
363
+ <a id="how-it-works"></a>
364
+
365
+ ## How it works
366
+
367
+ Fully automated
368
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
369
+ generates type annotations for each service, patiently waiting for `boto3`
370
+ updates. It delivers drop-in type annotations for you and makes sure that:
371
+
372
+ - All available `boto3` services are covered.
373
+ - Each public class and method of every `boto3` service gets valid type
374
+ annotations extracted from `botocore` schemas.
375
+ - Type annotations include up-to-date documentation.
376
+ - Link to documentation is provided for every method.
377
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
378
+
379
+ <a id="what's-new"></a>
380
+
381
+ ## What's new
382
+
383
+ <a id="implemented-features"></a>
384
+
385
+ ### Implemented features
386
+
387
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
388
+ libraries
389
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
390
+ compatibility
391
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
392
+ annotations for each service
393
+ - Generated `TypeDefs` for each service
394
+ - Generated `Literals` for each service
395
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
396
+ - Auto discovery of types for `session.client` and `session.resource` calls
397
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
398
+ calls
399
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
400
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
401
+
402
+ <a id="latest-changes"></a>
403
+
404
+ ### Latest changes
405
+
406
+ Builder changelog can be found in
407
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
408
+
409
+ <a id="versioning"></a>
410
+
411
+ ## Versioning
412
+
413
+ `types-boto3-batch` version is the same as related `boto3` version and follows
414
+ [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
415
+
416
+ <a id="thank-you"></a>
417
+
418
+ ## Thank you
419
+
420
+ - [Allie Fitter](https://github.com/alliefitter) for
421
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
422
+ this package is based on top of his work
423
+ - [black](https://github.com/psf/black) developers for an awesome formatting
424
+ tool
425
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
426
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
427
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
428
+ for us
429
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
430
+ Python
431
+
432
+ <a id="documentation"></a>
433
+
434
+ ## Documentation
435
+
436
+ All services type annotations can be found in
437
+ [boto3 docs](https://youtype.github.io/types_boto3_docs/types_boto3_batch/)
438
+
439
+ <a id="support-and-contributing"></a>
440
+
441
+ ## Support and contributing
442
+
443
+ This package is auto-generated. Please reports any bugs or request new features
444
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
445
+ repository.
@@ -0,0 +1,18 @@
1
+ types_boto3_batch/__init__.py,sha256=PH9c98yrNmE_SzVCV0gERY9VOHgyl7QoXYzzYnq6mKc,1543
2
+ types_boto3_batch/__init__.pyi,sha256=MdoB47f4IMO3yyC_1VzCp7qMKmDXAo-O-qOKXfhHgDM,1542
3
+ types_boto3_batch/__main__.py,sha256=v5tRHYa248HLoFpVSp1SWq1iY7EKxhL-H0FVYp0NOy8,942
4
+ types_boto3_batch/client.py,sha256=SqRClz7O5FCw9NxodrwHWcde76esVpmNKObNhubQA-g,19604
5
+ types_boto3_batch/client.pyi,sha256=xCMXGHsPjSPJ6uidyU85NrszZWK_q7dVLXEmvdB9gmE,19600
6
+ types_boto3_batch/literals.py,sha256=K6pEWprGrmz3xq_zhPngUHCGolTw_hYDmlfmnSH2Hqg,12067
7
+ types_boto3_batch/literals.pyi,sha256=yNvcR0h8Kn1xAImrD2fUmsh3w8PJVo8Km_JIlhuHais,12065
8
+ types_boto3_batch/paginator.py,sha256=psT5QOv4JNebQF71dJ6Z6Dc8xE_F-aLfh4r-N8svt4E,7082
9
+ types_boto3_batch/paginator.pyi,sha256=wBtete7tO_7EUMYmi9_Br5xeSPRzSJvsBy4gZ0JZaX0,7069
10
+ types_boto3_batch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ types_boto3_batch/type_defs.py,sha256=_RBbnBtR0Wa1wvRYZSErItjIy1TeyajPcUvVAqCsxOc,50538
12
+ types_boto3_batch/type_defs.pyi,sha256=sFNjhwUmtFnIFNeZtNvnJLzS94boNSrzgkra3H17p1w,50367
13
+ types_boto3_batch/version.py,sha256=eIS36a5iw2-mD_eS7zeepUtx_w_DQOn6RiPaBDeB7EQ,93
14
+ types_boto3_batch-1.35.71.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
15
+ types_boto3_batch-1.35.71.dist-info/METADATA,sha256=7AqcLgJLpR_BZsXIDwXau_Go-jwR3R7ZcqHosOG7H30,13741
16
+ types_boto3_batch-1.35.71.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
17
+ types_boto3_batch-1.35.71.dist-info/top_level.txt,sha256=Uom8UeK1nnEn9_7ktm0WqcI79MHSYcQA-TT0oD_e8mM,18
18
+ types_boto3_batch-1.35.71.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.6.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ types_boto3_batch