types-boto3-lite 1.35.75__py3-none-any.whl → 1.35.77__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.
- boto3-stubs/__init__.pyi +11 -9
- boto3-stubs/session.pyi +4 -6
- {types_boto3_lite-1.35.75.dist-info → types_boto3_lite-1.35.77.dist-info}/METADATA +32 -21
- {types_boto3_lite-1.35.75.dist-info → types_boto3_lite-1.35.77.dist-info}/RECORD +7 -7
- {types_boto3_lite-1.35.75.dist-info → types_boto3_lite-1.35.77.dist-info}/LICENSE +0 -0
- {types_boto3_lite-1.35.75.dist-info → types_boto3_lite-1.35.77.dist-info}/WHEEL +0 -0
- {types_boto3_lite-1.35.75.dist-info → types_boto3_lite-1.35.77.dist-info}/top_level.txt +0 -0
boto3-stubs/__init__.pyi
CHANGED
@@ -5,17 +5,18 @@ Copyright 2024 Vlad Emelianov
|
|
5
5
|
"""
|
6
6
|
|
7
7
|
import logging
|
8
|
-
from typing import Any
|
9
8
|
|
10
9
|
from boto3 import session as session
|
10
|
+
from boto3.resources.base import ServiceResource
|
11
11
|
from boto3.session import Session as Session
|
12
|
+
from botocore.client import BaseClient
|
12
13
|
from botocore.config import Config
|
13
14
|
from botocore.session import Session as BotocoreSession
|
14
15
|
|
15
|
-
__author__: str
|
16
|
-
__version__: str
|
16
|
+
__author__: str = ...
|
17
|
+
__version__: str = ...
|
17
18
|
|
18
|
-
DEFAULT_SESSION: Session | None
|
19
|
+
DEFAULT_SESSION: Session | None = ...
|
19
20
|
|
20
21
|
def setup_default_session(
|
21
22
|
*,
|
@@ -27,12 +28,13 @@ def setup_default_session(
|
|
27
28
|
profile_name: str | None = ...,
|
28
29
|
) -> None: ...
|
29
30
|
def set_stream_logger(
|
30
|
-
name: str = ...,
|
31
|
+
name: str = ...,
|
32
|
+
level: int = ...,
|
33
|
+
format_string: str | None = ...,
|
31
34
|
) -> None: ...
|
32
35
|
def _get_default_session() -> Session: ...
|
33
36
|
|
34
|
-
class NullHandler(logging.Handler):
|
35
|
-
def emit(self, record: Any) -> Any: ...
|
37
|
+
class NullHandler(logging.Handler): ...
|
36
38
|
|
37
39
|
def client(
|
38
40
|
service_name: str,
|
@@ -45,7 +47,7 @@ def client(
|
|
45
47
|
aws_secret_access_key: str | None = ...,
|
46
48
|
aws_session_token: str | None = ...,
|
47
49
|
config: Config | None = ...,
|
48
|
-
) ->
|
50
|
+
) -> BaseClient: ...
|
49
51
|
def resource(
|
50
52
|
service_name: str,
|
51
53
|
region_name: str | None = ...,
|
@@ -57,4 +59,4 @@ def resource(
|
|
57
59
|
aws_secret_access_key: str | None = ...,
|
58
60
|
aws_session_token: str | None = ...,
|
59
61
|
config: Config | None = ...,
|
60
|
-
) ->
|
62
|
+
) -> ServiceResource: ...
|
boto3-stubs/session.pyi
CHANGED
@@ -4,11 +4,11 @@ Type annotations for boto3.session module.
|
|
4
4
|
Copyright 2024 Vlad Emelianov
|
5
5
|
"""
|
6
6
|
|
7
|
-
from typing import Any
|
8
|
-
|
9
7
|
from boto3.exceptions import ResourceNotExistsError as ResourceNotExistsError
|
10
8
|
from boto3.exceptions import UnknownAPIVersionError as UnknownAPIVersionError
|
9
|
+
from boto3.resources.base import ServiceResource
|
11
10
|
from boto3.resources.factory import ResourceFactory
|
11
|
+
from botocore.client import BaseClient
|
12
12
|
from botocore.config import Config
|
13
13
|
from botocore.credentials import Credentials
|
14
14
|
from botocore.exceptions import DataNotFoundError as DataNotFoundError
|
@@ -39,7 +39,6 @@ class Session:
|
|
39
39
|
def events(self) -> BaseEventHooks: ...
|
40
40
|
@property
|
41
41
|
def available_profiles(self) -> list[str]: ...
|
42
|
-
def _setup_loader(self) -> None: ...
|
43
42
|
def get_available_services(self) -> list[str]: ...
|
44
43
|
def get_available_resources(self) -> list[str]: ...
|
45
44
|
def get_available_partitions(self) -> list[str]: ...
|
@@ -51,7 +50,6 @@ class Session:
|
|
51
50
|
) -> list[str]: ...
|
52
51
|
def get_credentials(self) -> Credentials | None: ...
|
53
52
|
def get_partition_for_region(self, region_name: str) -> str: ...
|
54
|
-
def _register_default_handlers(self) -> None: ...
|
55
53
|
def client(
|
56
54
|
self,
|
57
55
|
service_name: str,
|
@@ -64,7 +62,7 @@ class Session:
|
|
64
62
|
aws_secret_access_key: str | None = ...,
|
65
63
|
aws_session_token: str | None = ...,
|
66
64
|
config: Config | None = ...,
|
67
|
-
) ->
|
65
|
+
) -> BaseClient: ...
|
68
66
|
def resource(
|
69
67
|
self,
|
70
68
|
service_name: str,
|
@@ -77,4 +75,4 @@ class Session:
|
|
77
75
|
aws_secret_access_key: str | None = ...,
|
78
76
|
aws_session_token: str | None = ...,
|
79
77
|
config: Config | None = ...,
|
80
|
-
) ->
|
78
|
+
) -> ServiceResource: ...
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: types-boto3-lite
|
3
|
-
Version: 1.35.
|
4
|
-
Summary:
|
3
|
+
Version: 1.35.77
|
4
|
+
Summary: Lite type annotations for boto3 1.35.77 generated with mypy-boto3-builder 8.6.2
|
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
|
@@ -34,7 +34,9 @@ Requires-Dist: botocore-stubs
|
|
34
34
|
Requires-Dist: types-s3transfer
|
35
35
|
Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
36
36
|
Provides-Extra: full
|
37
|
-
Requires-Dist: types-boto3-full; extra == "full"
|
37
|
+
Requires-Dist: types-boto3-full<1.36.0,>=1.35.0; extra == "full"
|
38
|
+
Provides-Extra: boto3
|
39
|
+
Requires-Dist: boto3==1.35.77; extra == "boto3"
|
38
40
|
Provides-Extra: all
|
39
41
|
Requires-Dist: types-boto3-accessanalyzer<1.36.0,>=1.35.0; extra == "all"
|
40
42
|
Requires-Dist: types-boto3-account<1.36.0,>=1.35.0; extra == "all"
|
@@ -448,9 +450,6 @@ Requires-Dist: types-boto3-lambda<1.36.0,>=1.35.0; extra == "essential"
|
|
448
450
|
Requires-Dist: types-boto3-rds<1.36.0,>=1.35.0; extra == "essential"
|
449
451
|
Requires-Dist: types-boto3-s3<1.36.0,>=1.35.0; extra == "essential"
|
450
452
|
Requires-Dist: types-boto3-sqs<1.36.0,>=1.35.0; extra == "essential"
|
451
|
-
Provides-Extra: boto3
|
452
|
-
Requires-Dist: boto3==1.35.75; extra == "boto3"
|
453
|
-
Requires-Dist: botocore==1.35.75; extra == "boto3"
|
454
453
|
Provides-Extra: accessanalyzer
|
455
454
|
Requires-Dist: types-boto3-accessanalyzer<1.36.0,>=1.35.0; extra == "accessanalyzer"
|
456
455
|
Provides-Extra: account
|
@@ -1271,7 +1270,7 @@ Requires-Dist: types-boto3-xray<1.36.0,>=1.35.0; extra == "xray"
|
|
1271
1270
|
|
1272
1271
|

|
1273
1272
|
|
1274
|
-
Type annotations for [boto3 1.35.
|
1273
|
+
Type annotations for [boto3 1.35.77](https://pypi.org/project/boto3/)
|
1275
1274
|
compatible with [VSCode](https://code.visualstudio.com/),
|
1276
1275
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
1277
1276
|
[Emacs](https://www.gnu.org/software/emacs/),
|
@@ -1279,8 +1278,8 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
1279
1278
|
[mypy](https://github.com/python/mypy),
|
1280
1279
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
1281
1280
|
|
1282
|
-
Generated
|
1283
|
-
[mypy-boto3-builder 8.
|
1281
|
+
Generated with
|
1282
|
+
[mypy-boto3-builder 8.6.2](https://github.com/youtype/mypy_boto3_builder).
|
1284
1283
|
|
1285
1284
|
More information can be found on
|
1286
1285
|
[types-boto3](https://pypi.org/project/types-boto3/) page and in
|
@@ -1292,6 +1291,7 @@ See how it helps you find and fix potential bugs:
|
|
1292
1291
|
|
1293
1292
|
- [types-boto3-lite](#types-boto3-lite)
|
1294
1293
|
- [How to install](#how-to-install)
|
1294
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
1295
1295
|
- [VSCode extension](#vscode-extension)
|
1296
1296
|
- [From PyPI with pip](#from-pypi-with-pip)
|
1297
1297
|
- [How to uninstall](#how-to-uninstall)
|
@@ -1319,6 +1319,21 @@ See how it helps you find and fix potential bugs:
|
|
1319
1319
|
|
1320
1320
|
## How to install
|
1321
1321
|
|
1322
|
+
<a id="generate-locally-(recommended)"></a>
|
1323
|
+
|
1324
|
+
### Generate locally (recommended)
|
1325
|
+
|
1326
|
+
You can generate type annotations for `boto3` package locally with
|
1327
|
+
`mypy_boto3_builder`. Use
|
1328
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
1329
|
+
isolation.
|
1330
|
+
|
1331
|
+
1. Run mypy-boto3-builder in your package root directory:
|
1332
|
+
`uvx --with 'boto3==1.35.77' mypy_boto3_builder`
|
1333
|
+
2. Select `boto3` AWS SDK.
|
1334
|
+
3. Select services you use in the current project.
|
1335
|
+
4. Use provided commands to install generated packages.
|
1336
|
+
|
1322
1337
|
<a id="vscode-extension"></a>
|
1323
1338
|
|
1324
1339
|
### VSCode extension
|
@@ -1334,28 +1349,24 @@ project.
|
|
1334
1349
|
|
1335
1350
|
### From PyPI with pip
|
1336
1351
|
|
1337
|
-
Install `types-boto3
|
1352
|
+
Install `types-boto3` to add type checking for `boto3` package.
|
1338
1353
|
|
1339
1354
|
```bash
|
1340
1355
|
# install type annotations only for boto3
|
1341
|
-
python -m pip install types-boto3
|
1356
|
+
python -m pip install types-boto3
|
1342
1357
|
|
1343
1358
|
# install boto3 type annotations
|
1344
|
-
# for
|
1345
|
-
python -m pip install 'types-boto3
|
1359
|
+
# for cloudformation, dynamodb, ec2, lambda, rds, s3, sqs
|
1360
|
+
python -m pip install 'types-boto3[essential]'
|
1346
1361
|
|
1347
1362
|
# or install annotations for services you use
|
1348
|
-
python -m pip install 'types-boto3
|
1363
|
+
python -m pip install 'types-boto3[acm,apigateway]'
|
1349
1364
|
|
1350
1365
|
# or install annotations in sync with boto3 version
|
1351
|
-
python -m pip install 'types-boto3
|
1352
|
-
|
1353
|
-
|
1354
|
-
# or install all-in-one annotations for all services at once
|
1355
|
-
python -m pip install 'types-boto3-lite[full]'
|
1356
|
-
|
1357
|
-
|
1366
|
+
python -m pip install 'types-boto3[boto3]'
|
1358
1367
|
|
1368
|
+
# or install all-in-one annotations for all services
|
1369
|
+
python -m pip install 'types-boto3[full]'
|
1359
1370
|
```
|
1360
1371
|
|
1361
1372
|
<a id="how-to-uninstall"></a>
|
@@ -1,9 +1,9 @@
|
|
1
|
-
boto3-stubs/__init__.pyi,sha256=
|
1
|
+
boto3-stubs/__init__.pyi,sha256=_Qpg9Ao1yEr-xfxSwZZUm47TYQVX7r5JsztT_dZ911Q,1729
|
2
2
|
boto3-stubs/compat.pyi,sha256=j3-SBZqCGaoZoXzN6e7fkEQQvUmQ-MpIpcF9FuuUHH0,209
|
3
3
|
boto3-stubs/crt.pyi,sha256=OAjGbtBlQJIDRctWkMpr7UwRKxiH_lQt9OdSrHPL3QI,893
|
4
4
|
boto3-stubs/exceptions.pyi,sha256=cjOrbR2BIOcaHRmIQvGL0y-XEJdicpzRl2dQNfx6GVk,1339
|
5
5
|
boto3-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
boto3-stubs/session.pyi,sha256=
|
6
|
+
boto3-stubs/session.pyi,sha256=n0mNh0cI_Z2jumJRR1Q3gMpIRb5Kjeie_kWJUBItfEc,2798
|
7
7
|
boto3-stubs/utils.pyi,sha256=2vtGuLR-fnfzUNoeNvcEbb0Lb-DGEZ-BQ5BV9xF8vSg,841
|
8
8
|
boto3-stubs/docs/__init__.pyi,sha256=uDkzwRXE_Bb65mlFvnPSySeRYnhK9Cpk4fUyK6gpBd0,179
|
9
9
|
boto3-stubs/docs/action.pyi,sha256=_vWYnBVkwK6kU3xTdr5tPGxL-s3ULaAFBnxuFLHsmsE,1016
|
@@ -38,8 +38,8 @@ boto3-stubs/s3/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
boto3-stubs/s3/constants.pyi,sha256=U9MRV6GXbxTyEfKLsp3fVKzLR85KSSSP5FbcIWVHX54,163
|
39
39
|
boto3-stubs/s3/inject.pyi,sha256=z72QArriCVYH-O15Z5yDGnMX0zo7nCmYhSB2tiIRTeo,4502
|
40
40
|
boto3-stubs/s3/transfer.pyi,sha256=7A4hY7nziEaFM6fFhhneQYgB8aPa_on4i3DhOxh1_7s,2536
|
41
|
-
types_boto3_lite-1.35.
|
42
|
-
types_boto3_lite-1.35.
|
43
|
-
types_boto3_lite-1.35.
|
44
|
-
types_boto3_lite-1.35.
|
45
|
-
types_boto3_lite-1.35.
|
41
|
+
types_boto3_lite-1.35.77.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
42
|
+
types_boto3_lite-1.35.77.dist-info/METADATA,sha256=L7Je6PyWvqXx0fx1lyXx4Z-abn4iGM6ODTVpXvJfwqY,151026
|
43
|
+
types_boto3_lite-1.35.77.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
44
|
+
types_boto3_lite-1.35.77.dist-info/top_level.txt,sha256=uB_lQ39lkJ_VYZ_88DxH_zFptJtIwQ_SzeMpW8tRmT4,12
|
45
|
+
types_boto3_lite-1.35.77.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|