types-aiobotocore-geo-places 2.16.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.

Potentially problematic release.


This version of types-aiobotocore-geo-places might be problematic. Click here for more details.

Files changed (22) hide show
  1. types_aiobotocore_geo_places-2.16.0/LICENSE +21 -0
  2. types_aiobotocore_geo_places-2.16.0/PKG-INFO +443 -0
  3. types_aiobotocore_geo_places-2.16.0/README.md +409 -0
  4. types_aiobotocore_geo_places-2.16.0/setup.cfg +4 -0
  5. types_aiobotocore_geo_places-2.16.0/setup.py +56 -0
  6. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places/__init__.py +28 -0
  7. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places/__init__.pyi +27 -0
  8. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places/__main__.py +42 -0
  9. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places/client.py +195 -0
  10. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places/client.pyi +191 -0
  11. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places/literals.py +521 -0
  12. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places/literals.pyi +519 -0
  13. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places/py.typed +0 -0
  14. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places/type_defs.py +677 -0
  15. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places/type_defs.pyi +612 -0
  16. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places/version.py +7 -0
  17. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places.egg-info/PKG-INFO +443 -0
  18. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places.egg-info/SOURCES.txt +20 -0
  19. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places.egg-info/dependency_links.txt +1 -0
  20. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places.egg-info/not-zip-safe +1 -0
  21. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places.egg-info/requires.txt +3 -0
  22. types_aiobotocore_geo_places-2.16.0/types_aiobotocore_geo_places.egg-info/top_level.txt +1 -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,443 @@
1
+ Metadata-Version: 2.1
2
+ Name: types-aiobotocore-geo-places
3
+ Version: 2.16.0
4
+ Summary: Type annotations for aiobotocore LocationServicePlacesV2 2.16.0 service generated with mypy-boto3-builder 8.6.4
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_aiobotocore_docs/types_aiobotocore_geo_places/
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: aiobotocore geo-places aiobotocore-stubs type-annotations 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-aiobotocore-geo-places"></a>
36
+
37
+ # types-aiobotocore-geo-places
38
+
39
+ [![PyPI - types-aiobotocore-geo-places](https://img.shields.io/pypi/v/types-aiobotocore-geo-places.svg?color=blue)](https://pypi.org/project/types-aiobotocore-geo-places/)
40
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/types-aiobotocore-geo-places.svg?color=blue)](https://pypi.org/project/types-aiobotocore-geo-places/)
41
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/types_aiobotocore_docs/)
42
+ [![PyPI - Downloads](https://static.pepy.tech/badge/types-aiobotocore-geo-places)](https://pypistats.org/packages/types-aiobotocore-geo-places)
43
+
44
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
+
46
+ Type annotations for
47
+ [aiobotocore LocationServicePlacesV2 2.16.0](https://pypi.org/project/aiobotocore/)
48
+ compatible with [VSCode](https://code.visualstudio.com/),
49
+ [PyCharm](https://www.jetbrains.com/pycharm/),
50
+ [Emacs](https://www.gnu.org/software/emacs/),
51
+ [Sublime Text](https://www.sublimetext.com/),
52
+ [mypy](https://github.com/python/mypy),
53
+ [pyright](https://github.com/microsoft/pyright) and other tools.
54
+
55
+ Generated with
56
+ [mypy-boto3-builder 8.6.4](https://github.com/youtype/mypy_boto3_builder).
57
+
58
+ More information can be found on
59
+ [types-aiobotocore](https://pypi.org/project/types-aiobotocore/) page and in
60
+ [types-aiobotocore-geo-places docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/).
61
+
62
+ See how it helps you find and fix potential bugs:
63
+
64
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
65
+
66
+ - [types-aiobotocore-geo-places](#types-aiobotocore-geo-places)
67
+ - [How to install](#how-to-install)
68
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
69
+ - [From PyPI with pip](#from-pypi-with-pip)
70
+ - [How to uninstall](#how-to-uninstall)
71
+ - [Usage](#usage)
72
+ - [VSCode](#vscode)
73
+ - [PyCharm](#pycharm)
74
+ - [Emacs](#emacs)
75
+ - [Sublime Text](#sublime-text)
76
+ - [Other IDEs](#other-ides)
77
+ - [mypy](#mypy)
78
+ - [pyright](#pyright)
79
+ - [Pylint compatibility](#pylint-compatibility)
80
+ - [Explicit type annotations](#explicit-type-annotations)
81
+ - [Client annotations](#client-annotations)
82
+ - [Literals](#literals)
83
+ - [Type definitions](#type-definitions)
84
+ - [How it works](#how-it-works)
85
+ - [What's new](#what's-new)
86
+ - [Implemented features](#implemented-features)
87
+ - [Latest changes](#latest-changes)
88
+ - [Versioning](#versioning)
89
+ - [Thank you](#thank-you)
90
+ - [Documentation](#documentation)
91
+ - [Support and contributing](#support-and-contributing)
92
+
93
+ <a id="how-to-install"></a>
94
+
95
+ ## How to install
96
+
97
+ <a id="generate-locally-(recommended)"></a>
98
+
99
+ ### Generate locally (recommended)
100
+
101
+ You can generate type annotations for `aiobotocore` package locally with
102
+ `mypy_boto3_builder`. Use
103
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
104
+ isolation.
105
+
106
+ 1. Run mypy-boto3-builder in your package root directory:
107
+ `uvx --with 'aiobotocore==2.16.0' mypy_boto3_builder`
108
+ 2. Select `aiobotocore` AWS SDK.
109
+ 3. Add `LocationServicePlacesV2` service.
110
+ 4. Use provided commands to install generated packages.
111
+
112
+ <a id="from-pypi-with-pip"></a>
113
+
114
+ ### From PyPI with pip
115
+
116
+ Install `types-aiobotocore` for `LocationServicePlacesV2` service.
117
+
118
+ ```bash
119
+ # install with aiobotocore type annotations
120
+ python -m pip install 'types-aiobotocore[geo-places]'
121
+
122
+ # Lite version does not provide session.client/resource overloads
123
+ # it is more RAM-friendly, but requires explicit type annotations
124
+ python -m pip install 'types-aiobotocore-lite[geo-places]'
125
+
126
+ # standalone installation
127
+ python -m pip install types-aiobotocore-geo-places
128
+ ```
129
+
130
+ <a id="how-to-uninstall"></a>
131
+
132
+ ## How to uninstall
133
+
134
+ ```bash
135
+ python -m pip uninstall -y types-aiobotocore-geo-places
136
+ ```
137
+
138
+ <a id="usage"></a>
139
+
140
+ ## Usage
141
+
142
+ <a id="vscode"></a>
143
+
144
+ ### VSCode
145
+
146
+ - Install
147
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
148
+ - Install
149
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
150
+ - Set `Pylance` as your Python Language Server
151
+ - Install `types-aiobotocore[geo-places]` in your environment:
152
+
153
+ ```bash
154
+ python -m pip install 'types-aiobotocore[geo-places]'
155
+ ```
156
+
157
+ Both type checking and code completion should now work. No explicit type
158
+ annotations required, write your `aiobotocore` code as usual.
159
+
160
+ <a id="pycharm"></a>
161
+
162
+ ### PyCharm
163
+
164
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
165
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
166
+ > to use
167
+ > [types-aiobotocore-lite](https://pypi.org/project/types-aiobotocore-lite/)
168
+ > until the issue is resolved.
169
+
170
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
171
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
172
+ > [pyright](https://github.com/microsoft/pyright) instead.
173
+
174
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
175
+ > `types-aiobotocore` with
176
+ > [types-aiobotocore-lite](https://pypi.org/project/types-aiobotocore-lite/):
177
+
178
+ ```bash
179
+ pip uninstall types-aiobotocore
180
+ pip install types-aiobotocore-lite
181
+ ```
182
+
183
+ Install `types-aiobotocore[geo-places]` in your environment:
184
+
185
+ ```bash
186
+ python -m pip install 'types-aiobotocore[geo-places]'
187
+ ```
188
+
189
+ Both type checking and code completion should now work.
190
+
191
+ <a id="emacs"></a>
192
+
193
+ ### Emacs
194
+
195
+ - Install `types-aiobotocore` with services you use in your environment:
196
+
197
+ ```bash
198
+ python -m pip install 'types-aiobotocore[geo-places]'
199
+ ```
200
+
201
+ - Install [use-package](https://github.com/jwiegley/use-package),
202
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
203
+ [company](https://github.com/company-mode/company-mode) and
204
+ [flycheck](https://github.com/flycheck/flycheck) packages
205
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
206
+
207
+ ```elisp
208
+ (use-package lsp-pyright
209
+ :ensure t
210
+ :hook (python-mode . (lambda ()
211
+ (require 'lsp-pyright)
212
+ (lsp))) ; or lsp-deferred
213
+ :init (when (executable-find "python3")
214
+ (setq lsp-pyright-python-executable-cmd "python3"))
215
+ )
216
+ ```
217
+
218
+ - Make sure emacs uses the environment where you have installed
219
+ `types-aiobotocore`
220
+
221
+ Type checking should now work. No explicit type annotations required, write
222
+ your `aiobotocore` code as usual.
223
+
224
+ <a id="sublime-text"></a>
225
+
226
+ ### Sublime Text
227
+
228
+ - Install `types-aiobotocore[geo-places]` with services you use in your
229
+ environment:
230
+
231
+ ```bash
232
+ python -m pip install 'types-aiobotocore[geo-places]'
233
+ ```
234
+
235
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
236
+
237
+ Type checking should now work. No explicit type annotations required, write
238
+ your `aiobotocore` code as usual.
239
+
240
+ <a id="other-ides"></a>
241
+
242
+ ### Other IDEs
243
+
244
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
245
+ should work.
246
+
247
+ <a id="mypy"></a>
248
+
249
+ ### mypy
250
+
251
+ - Install `mypy`: `python -m pip install mypy`
252
+ - Install `types-aiobotocore[geo-places]` in your environment:
253
+
254
+ ```bash
255
+ python -m pip install 'types-aiobotocore[geo-places]'
256
+ ```
257
+
258
+ Type checking should now work. No explicit type annotations required, write
259
+ your `aiobotocore` code as usual.
260
+
261
+ <a id="pyright"></a>
262
+
263
+ ### pyright
264
+
265
+ - Install `pyright`: `npm i -g pyright`
266
+ - Install `types-aiobotocore[geo-places]` in your environment:
267
+
268
+ ```bash
269
+ python -m pip install 'types-aiobotocore[geo-places]'
270
+ ```
271
+
272
+ Optionally, you can install `types-aiobotocore` to `typings` directory.
273
+
274
+ Type checking should now work. No explicit type annotations required, write
275
+ your `aiobotocore` code as usual.
276
+
277
+ <a id="pylint-compatibility"></a>
278
+
279
+ ### Pylint compatibility
280
+
281
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
282
+ `types-aiobotocore-geo-places` dependency in production. However, there is an
283
+ issue in `pylint` that it complains about undefined variables. To fix it, set
284
+ all types to `object` in non-`TYPE_CHECKING` mode.
285
+
286
+ ```python
287
+ from typing import TYPE_CHECKING
288
+
289
+ if TYPE_CHECKING:
290
+ from types_aiobotocore_ec2 import EC2Client, EC2ServiceResource
291
+ from types_aiobotocore_ec2.waiters import BundleTaskCompleteWaiter
292
+ from types_aiobotocore_ec2.paginators import DescribeVolumesPaginator
293
+ else:
294
+ EC2Client = object
295
+ EC2ServiceResource = object
296
+ BundleTaskCompleteWaiter = object
297
+ DescribeVolumesPaginator = object
298
+
299
+ ...
300
+ ```
301
+
302
+ <a id="explicit-type-annotations"></a>
303
+
304
+ ## Explicit type annotations
305
+
306
+ <a id="client-annotations"></a>
307
+
308
+ ### Client annotations
309
+
310
+ `LocationServicePlacesV2Client` provides annotations for
311
+ `session.create_client("geo-places")`.
312
+
313
+ ```python
314
+ from aiobotocore.session import get_session
315
+
316
+ from types_aiobotocore_geo_places import LocationServicePlacesV2Client
317
+
318
+ session = get_session()
319
+ async with session.create_client("geo-places") as client:
320
+ client: LocationServicePlacesV2Client
321
+ # now client usage is checked by mypy and IDE should provide code completion
322
+ ```
323
+
324
+ <a id="literals"></a>
325
+
326
+ ### Literals
327
+
328
+ `types_aiobotocore_geo_places.literals` module contains literals extracted from
329
+ shapes that can be used in user code for type checking.
330
+
331
+ Full list of `LocationServicePlacesV2` Literals can be found in
332
+ [docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/literals/).
333
+
334
+ ```python
335
+ from types_aiobotocore_geo_places.literals import AutocompleteAdditionalFeatureType
336
+
337
+
338
+ def check_value(value: AutocompleteAdditionalFeatureType) -> bool: ...
339
+ ```
340
+
341
+ <a id="type-definitions"></a>
342
+
343
+ ### Type definitions
344
+
345
+ `types_aiobotocore_geo_places.type_defs` module contains structures and shapes
346
+ assembled to typed dictionaries and unions for additional type checking.
347
+
348
+ Full list of `LocationServicePlacesV2` TypeDefs can be found in
349
+ [docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/type_defs/).
350
+
351
+ ```python
352
+ from types_aiobotocore_geo_places.type_defs import AccessPointTypeDef
353
+
354
+
355
+ def get_value() -> AccessPointTypeDef:
356
+ return {...}
357
+ ```
358
+
359
+ <a id="how-it-works"></a>
360
+
361
+ ## How it works
362
+
363
+ Fully automated
364
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
365
+ generates type annotations for each service, patiently waiting for
366
+ `aiobotocore` updates. It delivers drop-in type annotations for you and makes
367
+ sure that:
368
+
369
+ - All available `aiobotocore` services are covered.
370
+ - Each public class and method of every `aiobotocore` service gets valid type
371
+ annotations extracted from `botocore` schemas.
372
+ - Type annotations include up-to-date documentation.
373
+ - Link to documentation is provided for every method.
374
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
375
+
376
+ <a id="what's-new"></a>
377
+
378
+ ## What's new
379
+
380
+ <a id="implemented-features"></a>
381
+
382
+ ### Implemented features
383
+
384
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
385
+ libraries
386
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
387
+ compatibility
388
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
389
+ annotations for each service
390
+ - Generated `TypeDefs` for each service
391
+ - Generated `Literals` for each service
392
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
393
+ - Auto discovery of types for `session.client` and `session.resource` calls
394
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
395
+ calls
396
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
397
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
398
+
399
+ <a id="latest-changes"></a>
400
+
401
+ ### Latest changes
402
+
403
+ Builder changelog can be found in
404
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
405
+
406
+ <a id="versioning"></a>
407
+
408
+ ## Versioning
409
+
410
+ `types-aiobotocore-geo-places` version is the same as related `aiobotocore`
411
+ version and follows [PEP 440](https://www.python.org/dev/peps/pep-0440/)
412
+ format.
413
+
414
+ <a id="thank-you"></a>
415
+
416
+ ## Thank you
417
+
418
+ - [Allie Fitter](https://github.com/alliefitter) for
419
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
420
+ this package is based on top of his work
421
+ - [black](https://github.com/psf/black) developers for an awesome formatting
422
+ tool
423
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
424
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
425
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
426
+ for us
427
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
428
+ Python
429
+
430
+ <a id="documentation"></a>
431
+
432
+ ## Documentation
433
+
434
+ All services type annotations can be found in
435
+ [aiobotocore docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_geo_places/)
436
+
437
+ <a id="support-and-contributing"></a>
438
+
439
+ ## Support and contributing
440
+
441
+ This package is auto-generated. Please reports any bugs or request new features
442
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
443
+ repository.