Skip to content

Commit 3edbdb1

Browse files
committed
Update to include latest stubs in typeshed
1 parent ac6151a commit 3edbdb1

File tree

1 file changed

+142
-8
lines changed

1 file changed

+142
-8
lines changed

mypy/stubinfo.py

Lines changed: 142 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,27 +85,46 @@ def stub_distribution_name(module: str) -> str | None:
8585
# types-pika already exists on PyPI, and is more complete in many ways,
8686
# but is a non-typeshed stubs package.
8787
non_bundled_packages_flat: dict[str, str] = {
88-
"MySQLdb": "types-mysqlclient",
89-
"PIL": "types-Pillow",
90-
"PyInstaller": "types-pyinstaller",
91-
"Xlib": "types-python-xlib",
88+
"_cffi_backend": "types-cffi",
89+
"_win32typing": "types-pywin32",
90+
"antlr4": "types-antlr4-python3-runtime",
91+
"assertpy": "types-assertpy",
92+
"atheris": "types-atheris",
93+
"authlib": "types-Authlib",
9294
"aws_xray_sdk": "types-aws-xray-sdk",
9395
"babel": "types-babel",
96+
"boltons": "types-boltons",
9497
"braintree": "types-braintree",
9598
"bs4": "types-beautifulsoup4",
9699
"bugbear": "types-flake8-bugbear",
97100
"caldav": "types-caldav",
101+
"capturer": "types-capturer",
98102
"cffi": "types-cffi",
99103
"chevron": "types-chevron",
104+
"click_default_group": "types-click-default-group",
105+
"click_log": "types-click-log",
106+
"click_web": "types-click-web",
100107
"colorama": "types-colorama",
108+
"commctrl": "types-pywin32",
101109
"commonmark": "types-commonmark",
102110
"consolemenu": "types-console-menu",
111+
"corus": "types-corus",
112+
"cronlog": "types-python-crontab",
103113
"crontab": "types-python-crontab",
114+
"crontabs": "types-python-crontab",
104115
"d3dshot": "types-D3DShot",
116+
"datemath": "types-python-datemath",
117+
"dateparser_data": "types-dateparser",
118+
"dde": "types-pywin32",
119+
"defusedxml": "types-defusedxml",
120+
"distutils": "types-setuptools",
121+
"docker": "types-docker",
105122
"dockerfile_parse": "types-dockerfile-parse",
106123
"docopt": "types-docopt",
107124
"editdistance": "types-editdistance",
108125
"entrypoints": "types-entrypoints",
126+
"exifread": "types-ExifRead",
127+
"fanstatic": "types-fanstatic",
109128
"farmhash": "types-pyfarmhash",
110129
"flake8_2020": "types-flake8-2020",
111130
"flake8_builtins": "types-flake8-builtins",
@@ -114,65 +133,180 @@ def stub_distribution_name(module: str) -> str | None:
114133
"flake8_rst_docstrings": "types-flake8-rst-docstrings",
115134
"flake8_simplify": "types-flake8-simplify",
116135
"flake8_typing_imports": "types-flake8-typing-imports",
136+
"flake8": "types-flake8",
117137
"flask_cors": "types-Flask-Cors",
118138
"flask_migrate": "types-Flask-Migrate",
139+
"flask_socketio": "types-Flask-SocketIO",
119140
"fpdf": "types-fpdf2",
120141
"gdb": "types-gdb",
142+
"gevent": "types-gevent",
143+
"greenlet": "types-greenlet",
121144
"hdbcli": "types-hdbcli",
122145
"html5lib": "types-html5lib",
123146
"httplib2": "types-httplib2",
124147
"humanfriendly": "types-humanfriendly",
148+
"hvac": "types-hvac",
149+
"ibm_db": "types-ibm-db",
150+
"icalendar": "types-icalendar",
151+
"import_export": "types-django-import-export",
152+
"influxdb_client": "types-influxdb-client",
153+
"inifile": "types-inifile",
125154
"invoke": "types-invoke",
155+
"isapi": "types-pywin32",
126156
"jack": "types-JACK-Client",
157+
"jenkins": "types-python-jenkins",
158+
"Jetson": "types-Jetson.GPIO",
159+
"jks": "types-pyjks",
127160
"jmespath": "types-jmespath",
128161
"jose": "types-python-jose",
129162
"jsonschema": "types-jsonschema",
163+
"jwcrypto": "types-jwcrypto",
130164
"keyboard": "types-keyboard",
131165
"ldap3": "types-ldap3",
166+
"lupa": "types-lupa",
167+
"lzstring": "types-lzstring",
168+
"m3u8": "types-m3u8",
169+
"mmapfile": "types-pywin32",
170+
"mmsystem": "types-pywin32",
171+
"mypy_extensions": "types-mypy-extensions",
172+
"MySQLdb": "types-mysqlclient",
173+
"nanoid": "types-nanoid",
174+
"nanoleafapi": "types-nanoleafapi",
175+
"netaddr": "types-netaddr",
176+
"netifaces": "types-netifaces",
177+
"networkx": "types-networkx",
132178
"nmap": "types-python-nmap",
179+
"ntsecuritycon": "types-pywin32",
133180
"oauthlib": "types-oauthlib",
181+
"objgraph": "types-objgraph",
182+
"odbc": "types-pywin32",
183+
"olefile": "types-olefile",
134184
"openpyxl": "types-openpyxl",
135185
"opentracing": "types-opentracing",
136186
"parsimonious": "types-parsimonious",
137187
"passlib": "types-passlib",
138188
"passpy": "types-passpy",
139189
"peewee": "types-peewee",
140190
"pep8ext_naming": "types-pep8-naming",
191+
"perfmon": "types-pywin32",
192+
"pexpect": "types-pexpect",
193+
"PIL": "types-Pillow",
194+
"playhouse": "types-peewee",
141195
"playsound": "types-playsound",
196+
"portpicker": "types-portpicker",
142197
"psutil": "types-psutil",
143198
"psycopg2": "types-psycopg2",
199+
"pyasn1": "types-pyasn1",
144200
"pyaudio": "types-pyaudio",
145201
"pyautogui": "types-PyAutoGUI",
146202
"pycocotools": "types-pycocotools",
147203
"pyflakes": "types-pyflakes",
204+
"pygit2": "types-pygit2",
148205
"pygments": "types-Pygments",
149206
"pyi_splash": "types-pyinstaller",
207+
"PyInstaller": "types-pyinstaller",
150208
"pynput": "types-pynput",
151-
"pythoncom": "types-pywin32",
152-
"pythonwin": "types-pywin32",
153209
"pyscreeze": "types-PyScreeze",
154210
"pysftp": "types-pysftp",
155211
"pytest_lazyfixture": "types-pytest-lazy-fixture",
212+
"python_http_client": "types-python-http-client",
213+
"pythoncom": "types-pywin32",
214+
"pythonwin": "types-pywin32",
156215
"pywintypes": "types-pywin32",
216+
"qrbill": "types-qrbill",
217+
"qrcode": "types-qrcode",
157218
"regex": "types-regex",
219+
"regutil": "types-pywin32",
220+
"reportlab": "types-reportlab",
221+
"requests_oauthlib": "types-requests-oauthlib",
222+
"RPi": "types-RPi.GPIO",
223+
"s2clientprotocol": "types-s2clientprotocol",
224+
"sass": "types-libsass",
225+
"sassutils": "types-libsass",
226+
"seaborn": "types-seaborn",
158227
"send2trash": "types-Send2Trash",
228+
"serial": "types-pyserial",
229+
"servicemanager": "types-pywin32",
230+
"setuptools": "types-setuptools",
231+
"shapely": "types-shapely",
159232
"slumber": "types-slumber",
233+
"sspicon": "types-pywin32",
160234
"stdlib_list": "types-stdlib-list",
235+
"str2bool": "types-str2bool",
161236
"stripe": "types-stripe",
237+
"tensorflow": "types-tensorflow",
238+
"tgcrypto": "types-TgCrypto",
239+
"timer": "types-pywin32",
162240
"toposort": "types-toposort",
163241
"tqdm": "types-tqdm",
164-
"tree_sitter": "types-tree-sitter",
242+
"translationstring": "types-translationstring",
165243
"tree_sitter_languages": "types-tree-sitter-languages",
244+
"tree_sitter": "types-tree-sitter",
166245
"ttkthemes": "types-ttkthemes",
246+
"unidiff": "types-unidiff",
247+
"untangle": "types-untangle",
248+
"usersettings": "types-usersettings",
249+
"uwsgi": "types-uWSGI",
250+
"uwsgidecorators": "types-uWSGI",
167251
"vobject": "types-vobject",
252+
"webob": "types-WebOb",
168253
"whatthepatch": "types-whatthepatch",
254+
"win2kras": "types-pywin32",
169255
"win32": "types-pywin32",
170256
"win32api": "types-pywin32",
171-
"win32con": "types-pywin32",
257+
"win32clipboard": "types-pywin32",
172258
"win32com": "types-pywin32",
173259
"win32comext": "types-pywin32",
260+
"win32con": "types-pywin32",
261+
"win32console": "types-pywin32",
262+
"win32cred": "types-pywin32",
263+
"win32crypt": "types-pywin32",
264+
"win32cryptcon": "types-pywin32",
265+
"win32event": "types-pywin32",
266+
"win32evtlog": "types-pywin32",
267+
"win32evtlogutil": "types-pywin32",
268+
"win32file": "types-pywin32",
269+
"win32gui_struct": "types-pywin32",
174270
"win32gui": "types-pywin32",
271+
"win32help": "types-pywin32",
272+
"win32inet": "types-pywin32",
273+
"win32inetcon": "types-pywin32",
274+
"win32job": "types-pywin32",
275+
"win32lz": "types-pywin32",
276+
"win32net": "types-pywin32",
277+
"win32netcon": "types-pywin32",
278+
"win32pdh": "types-pywin32",
279+
"win32pdhquery": "types-pywin32",
280+
"win32pipe": "types-pywin32",
281+
"win32print": "types-pywin32",
282+
"win32process": "types-pywin32",
283+
"win32profile": "types-pywin32",
284+
"win32ras": "types-pywin32",
285+
"win32security": "types-pywin32",
286+
"win32service": "types-pywin32",
287+
"win32serviceutil": "types-pywin32",
288+
"win32timezone": "types-pywin32",
289+
"win32trace": "types-pywin32",
290+
"win32transaction": "types-pywin32",
291+
"win32ts": "types-pywin32",
292+
"win32ui": "types-pywin32",
293+
"win32uiole": "types-pywin32",
294+
"win32verstamp": "types-pywin32",
295+
"win32wnet": "types-pywin32",
296+
"winerror": "types-pywin32",
297+
"winioctlcon": "types-pywin32",
298+
"winnt": "types-pywin32",
299+
"winperf": "types-pywin32",
300+
"winxpgui": "types-pywin32",
301+
"winxptheme": "types-pywin32",
302+
"workalendar": "types-workalendar",
303+
"wtforms": "types-WTForms",
304+
"wurlitzer": "types-wurlitzer",
305+
"xdg": "types-pyxdg",
306+
"xdgenvpy": "types-xdgenvpy",
307+
"Xlib": "types-python-xlib",
175308
"xmltodict": "types-xmltodict",
309+
"zstd": "types-zstd",
176310
"zxcvbn": "types-zxcvbn",
177311
# Stub packages that are not from typeshed
178312
# Since these can be installed automatically via --install-types, we have a high trust bar

0 commit comments

Comments
 (0)