├── stdlib ├── lib2to3 │ ├── __init__.pyi │ └── pgen2 │ │ ├── __init__.pyi │ │ └── literals.pyi ├── urllib │ └── __init__.pyi ├── wsgiref │ ├── __init__.pyi │ └── types.pyi ├── xmlrpc │ └── __init__.pyi ├── @python2 │ ├── antigravity.pyi │ ├── distutils │ │ ├── __init__.pyi │ │ ├── command │ │ │ ├── bdist.pyi │ │ │ ├── build.pyi │ │ │ ├── check.pyi │ │ │ ├── clean.pyi │ │ │ ├── sdist.pyi │ │ │ ├── __init__.pyi │ │ │ ├── bdist_dumb.pyi │ │ │ ├── bdist_rpm.pyi │ │ │ ├── build_clib.pyi │ │ │ ├── build_ext.pyi │ │ │ ├── register.pyi │ │ │ ├── bdist_packager.pyi │ │ │ ├── bdist_wininst.pyi │ │ │ ├── build_scripts.pyi │ │ │ ├── install_data.pyi │ │ │ ├── install_headers.pyi │ │ │ ├── install_lib.pyi │ │ │ ├── install_scripts.pyi │ │ │ ├── bdist_msi.pyi │ │ │ └── build_py.pyi │ │ ├── debug.pyi │ │ ├── filelist.pyi │ │ ├── bcppcompiler.pyi │ │ ├── msvccompiler.pyi │ │ ├── unixccompiler.pyi │ │ ├── emxccompiler.pyi │ │ ├── cygwinccompiler.pyi │ │ ├── spawn.pyi │ │ └── dep_util.pyi │ ├── lib2to3 │ │ ├── __init__.pyi │ │ └── pgen2 │ │ │ ├── __init__.pyi │ │ │ └── literals.pyi │ ├── wsgiref │ │ ├── __init__.pyi │ │ └── types.pyi │ ├── xml │ │ ├── etree │ │ │ ├── __init__.pyi │ │ │ └── cElementTree.pyi │ │ ├── __init__.pyi │ │ ├── parsers │ │ │ ├── expat │ │ │ │ ├── __init__.pyi │ │ │ │ ├── errors.pyi │ │ │ │ └── model.pyi │ │ │ └── __init__.pyi │ │ └── dom │ │ │ ├── pulldom.pyi │ │ │ ├── expatbuilder.pyi │ │ │ └── xmlbuilder.pyi │ ├── email │ │ ├── mime │ │ │ ├── __init__.pyi │ │ │ ├── nonmultipart.pyi │ │ │ ├── base.pyi │ │ │ ├── message.pyi │ │ │ ├── text.pyi │ │ │ ├── multipart.pyi │ │ │ ├── audio.pyi │ │ │ └── image.pyi │ │ ├── encoders.pyi │ │ ├── MIMEText.pyi │ │ └── iterators.pyi │ ├── pydoc_data │ │ ├── __init__.pyi │ │ └── topics.pyi │ ├── crypt.pyi │ ├── sqlite3 │ │ └── __init__.pyi │ ├── this.pyi │ ├── __main__.pyi │ ├── bisect.pyi │ ├── whichdb.pyi │ ├── md5.pyi │ ├── dummy_threading.pyi │ ├── user.pyi │ ├── keyword.pyi │ ├── atexit.pyi │ ├── nturl2path.pyi │ ├── htmlentitydefs.pyi │ ├── importlib.pyi │ ├── macurl2path.pyi │ ├── ctypes │ │ └── util.pyi │ ├── getpass.pyi │ ├── CGIHTTPServer.pyi │ ├── encodings │ │ └── __init__.pyi │ ├── _json.pyi │ ├── sndhdr.pyi │ ├── msilib │ │ └── text.pyi │ ├── future_builtins.pyi │ ├── rlcompleter.pyi │ ├── robotparser.pyi │ ├── ensurepip │ │ └── __init__.pyi │ ├── pyexpat │ │ └── model.pyi │ ├── marshal.pyi │ └── sha.pyi ├── concurrent │ └── __init__.pyi ├── distutils │ ├── __init__.pyi │ ├── command │ │ ├── __init__.pyi │ │ ├── bdist_packager.pyi │ │ └── bdist_wininst.pyi │ ├── debug.pyi │ ├── bcppcompiler.pyi │ ├── msvccompiler.pyi │ ├── unixccompiler.pyi │ ├── cygwinccompiler.pyi │ ├── spawn.pyi │ └── dep_util.pyi ├── email │ ├── mime │ │ ├── __init__.pyi │ │ ├── nonmultipart.pyi │ │ └── text.pyi │ ├── encoders.pyi │ └── iterators.pyi ├── pydoc_data │ ├── __init__.pyi │ └── topics.pyi ├── xml │ ├── etree │ │ ├── __init__.pyi │ │ └── cElementTree.pyi │ ├── __init__.pyi │ └── parsers │ │ ├── expat │ │ ├── __init__.pyi │ │ ├── errors.pyi │ │ └── model.pyi │ │ └── __init__.pyi ├── _decimal.pyi ├── json │ └── tool.pyi ├── this.pyi ├── asyncio │ ├── log.pyi │ ├── compat.pyi │ ├── selector_events.pyi │ └── threads.pyi ├── sqlite3 │ └── __init__.pyi ├── _bootlocale.pyi ├── __main__.pyi ├── antigravity.pyi ├── bisect.pyi ├── nturl2path.pyi ├── collections │ └── abc.pyi ├── dummy_threading.pyi ├── os │ └── path.pyi ├── html │ ├── entities.pyi │ └── __init__.pyi ├── ctypes │ └── util.pyi ├── macurl2path.pyi ├── _pydecimal.pyi ├── getpass.pyi ├── msilib │ └── text.pyi ├── rlcompleter.pyi ├── keyword.pyi ├── _markupbase.pyi ├── pyexpat │ └── model.pyi ├── fnmatch.pyi ├── ensurepip │ └── __init__.pyi ├── marshal.pyi └── tkinter │ └── colorchooser.pyi ├── stubs ├── Pillow │ ├── PIL │ │ ├── __main__.pyi │ │ ├── PdfImagePlugin.pyi │ │ ├── _version.pyi │ │ ├── _tkinter_finder.pyi │ │ ├── ImagePath.pyi │ │ ├── JpegPresets.pyi │ │ ├── WalImageFile.pyi │ │ ├── __init__.pyi │ │ ├── ExifTags.pyi │ │ ├── PalmImagePlugin.pyi │ │ ├── PixarImagePlugin.pyi │ │ ├── SunImagePlugin.pyi │ │ ├── McIdasImagePlugin.pyi │ │ ├── CurImagePlugin.pyi │ │ ├── XVThumbImagePlugin.pyi │ │ ├── GdImageFile.pyi │ │ ├── PaletteFile.pyi │ │ ├── GimpPaletteFile.pyi │ │ ├── ImtImagePlugin.pyi │ │ ├── XbmImagePlugin.pyi │ │ ├── BufrStubImagePlugin.pyi │ │ ├── FitsStubImagePlugin.pyi │ │ ├── FliImagePlugin.pyi │ │ ├── GribStubImagePlugin.pyi │ │ ├── Hdf5StubImagePlugin.pyi │ │ ├── PcxImagePlugin.pyi │ │ ├── TgaImagePlugin.pyi │ │ ├── MspImagePlugin.pyi │ │ ├── PpmImagePlugin.pyi │ │ ├── GbrImagePlugin.pyi │ │ ├── ImageStat.pyi │ │ ├── PcdImagePlugin.pyi │ │ ├── BdfFontFile.pyi │ │ ├── FpxImagePlugin.pyi │ │ ├── XpmImagePlugin.pyi │ │ ├── Jpeg2KImagePlugin.pyi │ │ ├── ImageMode.pyi │ │ ├── FtexImagePlugin.pyi │ │ └── ImageGrab.pyi │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── babel │ ├── babel │ │ ├── localtime │ │ │ ├── _unix.pyi │ │ │ └── _win32.pyi │ │ ├── messages │ │ │ ├── __init__.pyi │ │ │ ├── mofile.pyi │ │ │ ├── checkers.pyi │ │ │ └── plurals.pyi │ │ ├── lists.pyi │ │ └── languages.pyi │ └── METADATA.toml ├── caldav │ ├── caldav │ │ ├── lib │ │ │ ├── __init__.pyi │ │ │ ├── vcal.pyi │ │ │ └── namespace.pyi │ │ ├── elements │ │ │ ├── __init__.pyi │ │ │ └── ical.pyi │ │ └── __init__.pyi │ └── METADATA.toml ├── protobuf │ ├── google │ │ ├── __init__.pyi │ │ └── protobuf │ │ │ ├── util │ │ │ └── __init__.pyi │ │ │ ├── compiler │ │ │ └── __init__.pyi │ │ │ ├── internal │ │ │ ├── __init__.pyi │ │ │ ├── python_message.pyi │ │ │ └── message_listener.pyi │ │ │ ├── __init__.pyi │ │ │ └── reflection.pyi │ └── METADATA.toml ├── pyOpenSSL │ ├── OpenSSL │ │ └── __init__.pyi │ ├── @tests │ │ └── stubtest_allowlist.txt │ └── METADATA.toml ├── pyvmomi │ ├── pyVmomi │ │ ├── __init__.pyi │ │ ├── vmodl │ │ │ ├── fault.pyi │ │ │ └── __init__.pyi │ │ └── vim │ │ │ ├── fault.pyi │ │ │ └── option.pyi │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── selenium │ ├── selenium │ │ ├── __init__.pyi │ │ ├── webdriver │ │ │ ├── chrome │ │ │ │ ├── __init__.pyi │ │ │ │ └── remote_connection.pyi │ │ │ ├── common │ │ │ │ ├── __init__.pyi │ │ │ │ ├── actions │ │ │ │ │ ├── __init__.pyi │ │ │ │ │ └── mouse_button.pyi │ │ │ │ ├── html5 │ │ │ │ │ └── __init__.pyi │ │ │ │ └── by.pyi │ │ │ ├── edge │ │ │ │ └── __init__.pyi │ │ │ ├── ie │ │ │ │ └── __init__.pyi │ │ │ ├── opera │ │ │ │ └── __init__.pyi │ │ │ ├── remote │ │ │ │ ├── __init__.pyi │ │ │ │ └── utils.pyi │ │ │ ├── safari │ │ │ │ ├── __init__.pyi │ │ │ │ ├── permissions.pyi │ │ │ │ └── remote_connection.pyi │ │ │ ├── android │ │ │ │ └── __init__.pyi │ │ │ ├── blackberry │ │ │ │ └── __init__.pyi │ │ │ ├── firefox │ │ │ │ ├── __init__.pyi │ │ │ │ └── remote_connection.pyi │ │ │ ├── phantomjs │ │ │ │ └── __init__.pyi │ │ │ ├── support │ │ │ │ ├── __init__.pyi │ │ │ │ ├── ui.pyi │ │ │ │ └── events.pyi │ │ │ └── webkitgtk │ │ │ │ └── __init__.pyi │ │ └── common │ │ │ └── __init__.pyi │ └── METADATA.toml ├── typed-ast │ ├── typed_ast │ │ ├── __init__.pyi │ │ └── conversions.pyi │ └── METADATA.toml ├── google-cloud-ndb │ ├── google │ │ ├── __init__.pyi │ │ └── cloud │ │ │ ├── __init__.pyi │ │ │ └── ndb │ │ │ ├── _batch.pyi │ │ │ ├── django_middleware.pyi │ │ │ ├── _datastore_api.pyi │ │ │ └── msgprop.pyi │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── python-dateutil │ ├── dateutil │ │ ├── __init__.pyi │ │ ├── easter.pyi │ │ └── utils.pyi │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── PyMySQL │ ├── pymysql │ │ ├── constants │ │ │ └── __init__.pyi │ │ ├── util.pyi │ │ └── times.pyi │ └── METADATA.toml ├── PyYAML │ └── METADATA.toml ├── bleach │ ├── METADATA.toml │ ├── @tests │ │ └── stubtest_allowlist.txt │ └── bleach │ │ └── callbacks.pyi ├── commonmark │ ├── commonmark │ │ ├── render │ │ │ ├── __init__.pyi │ │ │ └── renderer.pyi │ │ ├── cmark.pyi │ │ ├── entitytrans.pyi │ │ ├── normalize_reference.pyi │ │ ├── main.pyi │ │ └── dump.pyi │ └── METADATA.toml ├── cryptography │ ├── cryptography │ │ ├── __init__.pyi │ │ └── hazmat │ │ │ ├── bindings │ │ │ ├── __init__.pyi │ │ │ └── openssl │ │ │ │ ├── __init__.pyi │ │ │ │ └── binding.pyi │ │ │ ├── primitives │ │ │ ├── twofactor │ │ │ │ └── __init__.pyi │ │ │ ├── constant_time.pyi │ │ │ ├── __init__.pyi │ │ │ └── asymmetric │ │ │ │ └── __init__.pyi │ │ │ ├── __init__.pyi │ │ │ └── backends │ │ │ └── __init__.pyi │ └── METADATA.toml ├── dateparser │ ├── dateparser │ │ ├── data │ │ │ ├── __init__.pyi │ │ │ └── languages_info.pyi │ │ ├── languages │ │ │ ├── __init__.pyi │ │ │ └── validation.pyi │ │ ├── timezones.pyi │ │ ├── calendars │ │ │ ├── jalali.pyi │ │ │ └── hijri.pyi │ │ ├── date_parser.pyi │ │ └── utils │ │ │ └── strptime.pyi │ ├── dateparser_data │ │ ├── __init__.pyi │ │ └── settings.pyi │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── fpdf2 │ ├── METADATA.toml │ └── fpdf │ │ ├── fonts.pyi │ │ ├── deprecation.pyi │ │ └── errors.pyi ├── freezegun │ ├── @tests │ │ └── stubtest_allowlist.txt │ ├── METADATA.toml │ └── freezegun │ │ └── __init__.pyi ├── futures │ ├── @python2 │ │ └── concurrent │ │ │ ├── __init__.pyi │ │ │ └── futures │ │ │ └── process.pyi │ └── METADATA.toml ├── html5lib │ ├── html5lib │ │ ├── filters │ │ │ ├── __init__.pyi │ │ │ ├── alphabeticalattributes.pyi │ │ │ ├── base.pyi │ │ │ ├── inject_meta_charset.pyi │ │ │ ├── lint.pyi │ │ │ ├── whitespace.pyi │ │ │ └── optionaltags.pyi │ │ ├── _trie │ │ │ └── __init__.pyi │ │ ├── treeadapters │ │ │ ├── genshi.pyi │ │ │ ├── __init__.pyi │ │ │ └── sax.pyi │ │ ├── treebuilders │ │ │ ├── dom.pyi │ │ │ ├── __init__.pyi │ │ │ └── etree.pyi │ │ └── treewalkers │ │ │ ├── etree.pyi │ │ │ ├── __init__.pyi │ │ │ ├── genshi.pyi │ │ │ └── dom.pyi │ ├── METADATA.toml │ └── @tests │ │ ├── requirements-stubtest.txt │ │ └── stubtest_allowlist.txt ├── mock │ ├── METADATA.toml │ ├── mock │ │ └── __init__.pyi │ └── @tests │ │ └── stubtest_allowlist.txt ├── mysqlclient │ ├── METADATA.toml │ ├── MySQLdb │ │ ├── release.pyi │ │ └── constants │ │ │ └── __init__.pyi │ └── @tests │ │ └── stubtest_allowlist.txt ├── opentracing │ ├── opentracing │ │ ├── ext │ │ │ ├── __init__.pyi │ │ │ └── tags.pyi │ │ ├── harness │ │ │ └── __init__.pyi │ │ ├── scope_managers │ │ │ └── constants.pyi │ │ ├── logs.pyi │ │ ├── mocktracer │ │ │ ├── __init__.pyi │ │ │ └── propagator.pyi │ │ ├── propagation.pyi │ │ └── scope_manager.pyi │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── psutil │ ├── METADATA.toml │ ├── @tests │ │ └── stubtest_allowlist.txt │ └── psutil │ │ └── _psutil_windows.pyi ├── psycopg2 │ ├── METADATA.toml │ ├── @tests │ │ └── stubtest_allowlist.txt │ └── psycopg2 │ │ └── _ipaddress.pyi ├── setuptools │ ├── setuptools │ │ ├── command │ │ │ ├── __init__.pyi │ │ │ ├── upload.pyi │ │ │ ├── bdist_rpm.pyi │ │ │ ├── register.pyi │ │ │ ├── py36compat.pyi │ │ │ ├── build_clib.pyi │ │ │ └── saveopts.pyi │ │ ├── version.pyi │ │ ├── launch.pyi │ │ ├── dep_util.pyi │ │ ├── _deprecation_warning.pyi │ │ ├── installer.pyi │ │ ├── windows_support.pyi │ │ ├── unicode_utils.pyi │ │ ├── errors.pyi │ │ ├── glob.pyi │ │ ├── namespaces.pyi │ │ └── monkey.pyi │ ├── METADATA.toml │ └── pkg_resources │ │ └── py31compat.pyi ├── stripe │ ├── stripe │ │ ├── version.pyi │ │ ├── api_resources │ │ │ ├── checkout │ │ │ │ └── __init__.pyi │ │ │ ├── sigma │ │ │ │ ├── __init__.pyi │ │ │ │ └── scheduled_query_run.pyi │ │ │ ├── line_item.pyi │ │ │ ├── login_link.pyi │ │ │ ├── mandate.pyi │ │ │ ├── abstract │ │ │ │ ├── custom_method.pyi │ │ │ │ ├── verify_mixin.pyi │ │ │ │ └── deletable_api_resource.pyi │ │ │ ├── invoice_line_item.pyi │ │ │ ├── issuing │ │ │ │ └── card_details.pyi │ │ │ ├── bitcoin_transaction.pyi │ │ │ ├── recipient_transfer.pyi │ │ │ ├── source_transaction.pyi │ │ │ ├── usage_record_summary.pyi │ │ │ ├── credit_note_line_item.pyi │ │ │ ├── event.pyi │ │ │ ├── balance.pyi │ │ │ ├── tax_code.pyi │ │ │ ├── token.pyi │ │ │ ├── country_spec.pyi │ │ │ ├── order_return.pyi │ │ │ ├── exchange_rate.pyi │ │ │ ├── setup_attempt.pyi │ │ │ ├── account_link.pyi │ │ │ ├── reporting │ │ │ │ ├── __init__.pyi │ │ │ │ └── report_type.pyi │ │ │ ├── balance_transaction.pyi │ │ │ ├── billing_portal │ │ │ │ ├── session.pyi │ │ │ │ └── __init__.pyi │ │ │ ├── issuer_fraud_record.pyi │ │ │ ├── radar │ │ │ │ └── early_fraud_warning.pyi │ │ │ ├── identity │ │ │ │ ├── verification_report.pyi │ │ │ │ └── __init__.pyi │ │ │ ├── terminal │ │ │ │ ├── connection_token.pyi │ │ │ │ └── __init__.pyi │ │ │ └── three_d_secure.pyi │ │ ├── object_classes.pyi │ │ └── request_metrics.pyi │ └── METADATA.toml ├── toposort │ └── METADATA.toml ├── ujson │ └── METADATA.toml ├── JACK-Client │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── Markdown │ ├── METADATA.toml │ └── markdown │ │ ├── __meta__.pyi │ │ ├── serializers.pyi │ │ ├── __init__.pyi │ │ └── extensions │ │ ├── nl2br.pyi │ │ ├── extra.pyi │ │ └── md_in_html.pyi ├── Send2Trash │ ├── METADATA.toml │ └── send2trash │ │ ├── util.pyi │ │ ├── exceptions.pyi │ │ └── compat.pyi ├── appdirs │ └── METADATA.toml ├── beautifulsoup4 │ ├── @tests │ │ ├── stubtest_allowlist.txt │ │ └── requirements-stubtest.txt │ └── METADATA.toml ├── braintree │ ├── METADATA.toml │ └── braintree │ │ ├── version.pyi │ │ ├── util │ │ ├── datetime_parser.pyi │ │ ├── constants.pyi │ │ ├── generator.pyi │ │ ├── xml_util.pyi │ │ ├── parser.pyi │ │ └── crypto.pyi │ │ ├── exceptions │ │ ├── braintree_error.pyi │ │ ├── server_error.pyi │ │ ├── not_found_error.pyi │ │ ├── unexpected_error.pyi │ │ ├── authentication_error.pyi │ │ ├── authorization_error.pyi │ │ ├── configuration_error.pyi │ │ ├── gateway_timeout_error.pyi │ │ ├── http │ │ │ ├── connection_error.pyi │ │ │ ├── invalid_response_error.pyi │ │ │ └── timeout_error.pyi │ │ ├── invalid_challenge_error.pyi │ │ ├── invalid_signature_error.pyi │ │ ├── request_timeout_error.pyi │ │ ├── too_many_requests_error.pyi │ │ ├── upgrade_required_error.pyi │ │ └── service_unavailable_error.pyi │ │ ├── local_payment.pyi │ │ ├── iban_bank_account.pyi │ │ ├── oauth_credentials.pyi │ │ ├── bin_data.pyi │ │ ├── processor_response_types.pyi │ │ ├── risk_data.pyi │ │ ├── ids_search.pyi │ │ ├── transaction_amounts.pyi │ │ ├── apple_pay_options.pyi │ │ ├── attribute_getter.pyi │ │ ├── validation_error.pyi │ │ ├── facilitated_details.pyi │ │ ├── facilitator_details.pyi │ │ ├── three_d_secure_info.pyi │ │ ├── subscription_details.pyi │ │ ├── unknown_payment_method.pyi │ │ ├── descriptor.pyi │ │ ├── paypal_here.pyi │ │ ├── oauth_access_revocation.pyi │ │ ├── local_payment_reversed.pyi │ │ ├── successful_result.pyi │ │ ├── dispute_details │ │ ├── evidence.pyi │ │ ├── paypal_message.pyi │ │ └── status_history.pyi │ │ ├── modification.pyi │ │ ├── status_event.pyi │ │ ├── add_on.pyi │ │ ├── paginated_result.pyi │ │ ├── venmo_account.pyi │ │ ├── discount.pyi │ │ ├── ach_mandate.pyi │ │ ├── transaction_details.pyi │ │ ├── webhook_testing.pyi │ │ ├── authorization_adjustment.pyi │ │ ├── merchant_account │ │ ├── address_details.pyi │ │ └── funding_details.pyi │ │ ├── subscription_status_event.pyi │ │ ├── connected_merchant_paypal_status_changed.pyi │ │ ├── connected_merchant_status_transitioned.pyi │ │ ├── granted_payment_instrument_update.pyi │ │ └── paginated_collection.pyi ├── cachetools │ ├── METADATA.toml │ ├── @tests │ │ └── stubtest_allowlist.txt │ └── cachetools │ │ ├── cache.pyi │ │ ├── rr.pyi │ │ ├── lfu.pyi │ │ ├── lru.pyi │ │ ├── mru.pyi │ │ ├── ttl.pyi │ │ ├── fifo.pyi │ │ └── keys.pyi ├── contextvars │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── dataclasses │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── decorator │ └── METADATA.toml ├── docutils │ ├── METADATA.toml │ └── docutils │ │ ├── core.pyi │ │ ├── nodes.pyi │ │ ├── examples.pyi │ │ ├── readers │ │ ├── pep.pyi │ │ ├── __init__.pyi │ │ ├── doctree.pyi │ │ └── standalone.pyi │ │ ├── statemachine.pyi │ │ ├── writers │ │ └── __init__.pyi │ │ ├── languages │ │ └── __init__.pyi │ │ ├── parsers │ │ ├── rst │ │ │ ├── nodes.pyi │ │ │ └── states.pyi │ │ ├── recommonmark_wrapper.pyi │ │ └── null.pyi │ │ └── transforms │ │ └── __init__.pyi ├── filelock │ └── METADATA.toml ├── frozendict │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── httplib2 │ ├── METADATA.toml │ ├── @tests │ │ └── stubtest_allowlist.txt │ └── httplib2 │ │ ├── certs.pyi │ │ └── iri2uri.pyi ├── jmespath │ ├── METADATA.toml │ └── jmespath │ │ └── __init__.pyi ├── jsonschema │ ├── METADATA.toml │ └── jsonschema │ │ └── _reflect.pyi ├── oauthlib │ ├── METADATA.toml │ ├── oauthlib │ │ ├── openid │ │ │ ├── connect │ │ │ │ ├── __init__.pyi │ │ │ │ └── core │ │ │ │ │ ├── __init__.pyi │ │ │ │ │ └── endpoints │ │ │ │ │ └── __init__.pyi │ │ │ └── __init__.pyi │ │ ├── __init__.pyi │ │ ├── oauth1 │ │ │ └── rfc5849 │ │ │ │ ├── endpoints │ │ │ │ └── base.pyi │ │ │ │ └── parameters.pyi │ │ └── oauth2 │ │ │ └── rfc6749 │ │ │ └── utils.pyi │ └── @tests │ │ └── stubtest_allowlist.txt ├── prettytable │ └── METADATA.toml ├── pyRFC3339 │ ├── METADATA.toml │ └── pyrfc3339 │ │ ├── __init__.pyi │ │ ├── parser.pyi │ │ └── generator.pyi ├── pycurl │ ├── @tests │ │ └── stubtest_allowlist.txt │ └── METADATA.toml ├── pyfarmhash │ └── METADATA.toml ├── six │ ├── six │ │ └── moves │ │ │ ├── queue.pyi │ │ │ ├── _thread.pyi │ │ │ ├── cPickle.pyi │ │ │ ├── reprlib.pyi │ │ │ ├── tkinter.pyi │ │ │ ├── builtins.pyi │ │ │ ├── BaseHTTPServer.pyi │ │ │ ├── CGIHTTPServer.pyi │ │ │ ├── configparser.pyi │ │ │ ├── html_parser.pyi │ │ │ ├── http_client.pyi │ │ │ ├── http_cookies.pyi │ │ │ ├── socketserver.pyi │ │ │ ├── tkinter_ttk.pyi │ │ │ ├── urllib_error.pyi │ │ │ ├── urllib_parse.pyi │ │ │ ├── SimpleHTTPServer.pyi │ │ │ ├── collections_abc.pyi │ │ │ ├── email_mime_base.pyi │ │ │ ├── email_mime_text.pyi │ │ │ ├── html_entities.pyi │ │ │ ├── http_cookiejar.pyi │ │ │ ├── tkinter_dialog.pyi │ │ │ ├── urllib_request.pyi │ │ │ ├── tkinter_constants.pyi │ │ │ ├── urllib_response.pyi │ │ │ ├── email_mime_multipart.pyi │ │ │ ├── tkinter_commondialog.pyi │ │ │ ├── tkinter_filedialog.pyi │ │ │ ├── tkinter_tkfiledialog.pyi │ │ │ ├── urllib_robotparser.pyi │ │ │ ├── email_mime_nonmultipart.pyi │ │ │ ├── urllib │ │ │ ├── robotparser.pyi │ │ │ ├── error.pyi │ │ │ └── __init__.pyi │ │ │ └── _dummy_thread.pyi │ ├── @python2 │ │ └── six │ │ │ └── moves │ │ │ ├── queue.pyi │ │ │ ├── reprlib.pyi │ │ │ ├── _thread.pyi │ │ │ ├── cPickle.pyi │ │ │ ├── html_parser.pyi │ │ │ ├── http_client.pyi │ │ │ ├── http_cookies.pyi │ │ │ ├── CGIHTTPServer.pyi │ │ │ ├── _dummy_thread.pyi │ │ │ ├── collections_abc.pyi │ │ │ ├── configparser.pyi │ │ │ ├── http_cookiejar.pyi │ │ │ ├── socketserver.pyi │ │ │ ├── urllib_error.pyi │ │ │ ├── urllib_parse.pyi │ │ │ ├── xmlrpc_client.pyi │ │ │ ├── BaseHTTPServer.pyi │ │ │ ├── email_mime_base.pyi │ │ │ ├── email_mime_text.pyi │ │ │ ├── html_entities.pyi │ │ │ ├── urllib_request.pyi │ │ │ ├── urllib_response.pyi │ │ │ ├── urllib_robotparser.pyi │ │ │ ├── SimpleHTTPServer.pyi │ │ │ ├── email_mime_multipart.pyi │ │ │ ├── email_mime_nonmultipart.pyi │ │ │ └── urllib │ │ │ ├── robotparser.pyi │ │ │ ├── response.pyi │ │ │ ├── error.pyi │ │ │ └── __init__.pyi │ └── METADATA.toml ├── slumber │ ├── METADATA.toml │ ├── @tests │ │ └── stubtest_allowlist.txt │ └── slumber │ │ └── utils.pyi ├── ttkthemes │ ├── METADATA.toml │ └── ttkthemes │ │ ├── _imgops.pyi │ │ ├── __init__.pyi │ │ └── _utils.pyi ├── vobject │ ├── METADATA.toml │ ├── vobject │ │ ├── __init__.pyi │ │ ├── change_tz.pyi │ │ └── hcalendar.pyi │ └── @tests │ │ └── stubtest_allowlist.txt ├── Pygments │ ├── @tests │ │ └── requirements-stubtest.txt │ ├── METADATA.toml │ └── pygments │ │ ├── formatters │ │ └── _mapping.pyi │ │ ├── modeline.pyi │ │ ├── __init__.pyi │ │ ├── console.pyi │ │ └── regexopt.pyi ├── aws-xray-sdk │ ├── METADATA.toml │ └── aws_xray_sdk │ │ ├── core │ │ ├── emitters │ │ │ └── __init__.pyi │ │ ├── models │ │ │ ├── __init__.pyi │ │ │ ├── noop_traceid.pyi │ │ │ ├── traceid.pyi │ │ │ └── default_dynamic_naming.pyi │ │ ├── plugins │ │ │ ├── __init__.pyi │ │ │ ├── ecs_plugin.pyi │ │ │ ├── elasticbeanstalk_plugin.pyi │ │ │ └── utils.pyi │ │ ├── sampling │ │ │ ├── __init__.pyi │ │ │ ├── local │ │ │ │ ├── __init__.pyi │ │ │ │ └── reservoir.pyi │ │ │ ├── target_poller.pyi │ │ │ └── rule_poller.pyi │ │ ├── utils │ │ │ ├── __init__.pyi │ │ │ ├── search_pattern.pyi │ │ │ ├── conversion.pyi │ │ │ ├── stacktrace.pyi │ │ │ └── compat.pyi │ │ ├── exceptions │ │ │ └── __init__.pyi │ │ ├── streaming │ │ │ └── __init__.pyi │ │ └── __init__.pyi │ │ ├── version.pyi │ │ └── __init__.pyi ├── editdistance │ ├── METADATA.toml │ └── editdistance.pyi ├── flake8-builtins │ └── METADATA.toml ├── flake8-simplify │ └── METADATA.toml ├── humanfriendly │ ├── METADATA.toml │ ├── @tests │ │ ├── requirements-stubtest.txt │ │ └── stubtest_allowlist.txt │ └── humanfriendly │ │ ├── decorators.pyi │ │ └── usage.pyi ├── python-slugify │ ├── METADATA.toml │ └── slugify │ │ └── __init__.pyi ├── flake8-docstrings │ └── METADATA.toml ├── pytest-lazy-fixture │ └── METADATA.toml ├── python-gflags │ ├── @tests │ │ └── stubtest_allowlist.txt │ └── METADATA.toml ├── python-nmap │ ├── nmap │ │ └── __init__.pyi │ └── METADATA.toml ├── requests │ ├── requests │ │ ├── packages │ │ │ ├── urllib3 │ │ │ │ ├── contrib │ │ │ │ │ └── __init__.pyi │ │ │ │ ├── packages │ │ │ │ │ ├── __init__.pyi │ │ │ │ │ └── ssl_match_hostname │ │ │ │ │ │ ├── _implementation.pyi │ │ │ │ │ │ └── __init__.pyi │ │ │ │ └── util │ │ │ │ │ ├── response.pyi │ │ │ │ │ └── connection.pyi │ │ │ └── __init__.pyi │ │ ├── status_codes.pyi │ │ ├── compat.pyi │ │ └── hooks.pyi │ └── METADATA.toml ├── aiofiles │ ├── METADATA.toml │ └── aiofiles │ │ └── __init__.pyi ├── annoy │ └── METADATA.toml ├── colorama │ ├── METADATA.toml │ └── colorama │ │ └── __init__.pyi ├── emoji │ ├── METADATA.toml │ └── emoji │ │ └── unicode_codes │ │ ├── es.pyi │ │ ├── it.pyi │ │ ├── pt.pyi │ │ └── en.pyi ├── enum34 │ └── METADATA.toml ├── first │ └── METADATA.toml ├── polib │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── pyaudio │ └── METADATA.toml ├── pytz │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── redis │ ├── METADATA.toml │ ├── @tests │ │ └── stubtest_allowlist.txt │ └── redis │ │ ├── commands │ │ ├── json │ │ │ ├── decoders.pyi │ │ │ └── path.pyi │ │ ├── timeseries │ │ │ └── utils.pyi │ │ └── helpers.pyi │ │ └── retry.pyi ├── retry │ ├── METADATA.toml │ └── retry │ │ └── __init__.pyi ├── toml │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── waitress │ └── METADATA.toml ├── xxhash │ └── METADATA.toml ├── atomicwrites │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── certifi │ ├── METADATA.toml │ └── certifi.pyi ├── croniter │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── entrypoints │ └── METADATA.toml ├── ipaddress │ └── METADATA.toml ├── simplejson │ ├── METADATA.toml │ └── simplejson │ │ └── raw_json.pyi ├── tabulate │ └── METADATA.toml ├── termcolor │ └── METADATA.toml ├── backports_abc │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── characteristic │ └── METADATA.toml ├── chardet │ ├── chardet │ │ ├── version.pyi │ │ ├── langthaimodel.pyi │ │ ├── langhebrewmodel.pyi │ │ └── langturkishmodel.pyi │ └── METADATA.toml ├── mypy-extensions │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── orjson │ └── METADATA.toml ├── singledispatch │ └── METADATA.toml ├── tzlocal │ ├── METADATA.toml │ └── tzlocal │ │ └── __init__.pyi ├── paramiko │ ├── paramiko │ │ └── _version.pyi │ └── METADATA.toml ├── Deprecated │ ├── METADATA.toml │ ├── deprecated │ │ └── __init__.pyi │ └── @tests │ │ └── stubtest_allowlist.txt ├── backports.ssl_match_hostname │ ├── METADATA.toml │ └── backports │ │ ├── ssl_match_hostname │ │ └── __init__.pyi │ │ └── __init__.pyi ├── click-spinner │ ├── METADATA.toml │ └── @tests │ │ └── stubtest_allowlist.txt ├── DateTimeRange │ └── METADATA.toml ├── boto │ ├── METADATA.toml │ └── boto │ │ ├── kms │ │ └── __init__.pyi │ │ └── plugin.pyi ├── pysftp │ └── METADATA.toml └── docopt │ └── METADATA.toml ├── tests ├── stubtest_allowlists │ ├── darwin-py38.txt │ └── darwin-py37.txt └── pyright_exclude_list.txt └── requirements-tests.txt /stdlib/lib2to3/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/urllib/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/wsgiref/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/xmlrpc/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/antigravity.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/concurrent/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/distutils/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/email/mime/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/lib2to3/pgen2/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/pydoc_data/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/xml/etree/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/__main__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/lib2to3/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/wsgiref/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/xml/etree/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/distutils/command/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/PdfImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/babel/babel/localtime/_unix.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/caldav/caldav/lib/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/protobuf/google/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/pyOpenSSL/OpenSSL/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/pyvmomi/pyVmomi/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/typed-ast/typed_ast/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/bdist.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/build.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/check.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/clean.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/sdist.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/email/mime/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/lib2to3/pgen2/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/pydoc_data/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/distutils/command/bdist_packager.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/distutils/command/bdist_wininst.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/babel/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.9.*" -------------------------------------------------------------------------------- /stubs/caldav/caldav/elements/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/google-cloud-ndb/google/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/python-dateutil/dateutil/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/bdist_dumb.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/bdist_rpm.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/build_clib.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/build_ext.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/register.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/_decimal.pyi: -------------------------------------------------------------------------------- 1 | from decimal import * 2 | -------------------------------------------------------------------------------- /stdlib/json/tool.pyi: -------------------------------------------------------------------------------- 1 | def main() -> None: ... 2 | -------------------------------------------------------------------------------- /stdlib/this.pyi: -------------------------------------------------------------------------------- 1 | s: str 2 | d: dict[str, str] 3 | -------------------------------------------------------------------------------- /stubs/Pillow/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "8.3.*" 2 | -------------------------------------------------------------------------------- /stubs/PyMySQL/pymysql/constants/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/PyYAML/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "6.0.*" 2 | -------------------------------------------------------------------------------- /stubs/bleach/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "4.1.*" 2 | -------------------------------------------------------------------------------- /stubs/commonmark/commonmark/render/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/cryptography/cryptography/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/dateparser/dateparser/data/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/dateparser/dateparser_data/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/fpdf2/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.4.*" 2 | -------------------------------------------------------------------------------- /stubs/freezegun/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/futures/@python2/concurrent/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/google-cloud-ndb/google/cloud/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/filters/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/mock/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "4.0.*" 2 | -------------------------------------------------------------------------------- /stubs/mysqlclient/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.0.*" -------------------------------------------------------------------------------- /stubs/opentracing/opentracing/ext/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/protobuf/google/protobuf/util/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/psutil/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "5.8.*" 2 | -------------------------------------------------------------------------------- /stubs/psycopg2/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.9.*" -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/command/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/version.pyi: -------------------------------------------------------------------------------- 1 | VERSION: str 2 | -------------------------------------------------------------------------------- /stubs/toposort/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.7" 2 | -------------------------------------------------------------------------------- /stubs/ujson/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "4.2.*" 2 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/bdist_packager.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/bdist_wininst.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/build_scripts.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/install_data.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/install_headers.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/install_lib.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/install_scripts.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/debug.pyi: -------------------------------------------------------------------------------- 1 | DEBUG: bool 2 | -------------------------------------------------------------------------------- /stdlib/distutils/debug.pyi: -------------------------------------------------------------------------------- 1 | DEBUG: bool | None 2 | -------------------------------------------------------------------------------- /stubs/JACK-Client/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.5.*" 2 | -------------------------------------------------------------------------------- /stubs/Markdown/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.3.*" 2 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/_version.pyi: -------------------------------------------------------------------------------- 1 | __version__: str 2 | -------------------------------------------------------------------------------- /stubs/PyMySQL/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.0.*" 2 | -------------------------------------------------------------------------------- /stubs/Send2Trash/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.8.*" 2 | -------------------------------------------------------------------------------- /stubs/appdirs/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.4.*" 2 | -------------------------------------------------------------------------------- /stubs/beautifulsoup4/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/braintree/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "4.11.*" 2 | -------------------------------------------------------------------------------- /stubs/cachetools/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "4.2.*" 2 | -------------------------------------------------------------------------------- /stubs/commonmark/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.9.*" 2 | -------------------------------------------------------------------------------- /stubs/contextvars/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.4" 2 | -------------------------------------------------------------------------------- /stubs/dataclasses/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.6" 2 | -------------------------------------------------------------------------------- /stubs/dateparser/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.0.*" 2 | -------------------------------------------------------------------------------- /stubs/dateparser/dateparser/languages/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/decorator/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "5.1.*" 2 | -------------------------------------------------------------------------------- /stubs/docutils/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.17.*" 2 | -------------------------------------------------------------------------------- /stubs/filelock/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.2.*" 2 | -------------------------------------------------------------------------------- /stubs/freezegun/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.1.*" 2 | -------------------------------------------------------------------------------- /stubs/frozendict/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.0.*" 2 | -------------------------------------------------------------------------------- /stubs/html5lib/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.1.*" 2 | -------------------------------------------------------------------------------- /stubs/httplib2/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.20.*" 2 | -------------------------------------------------------------------------------- /stubs/jmespath/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.10.*" 2 | -------------------------------------------------------------------------------- /stubs/jsonschema/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "4.2.*" 2 | -------------------------------------------------------------------------------- /stubs/oauthlib/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.1.*" 2 | -------------------------------------------------------------------------------- /stubs/oauthlib/oauthlib/openid/connect/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/opentracing/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.4.*" 2 | -------------------------------------------------------------------------------- /stubs/opentracing/opentracing/harness/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/prettytable/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.1.*" 2 | -------------------------------------------------------------------------------- /stubs/protobuf/google/protobuf/compiler/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/protobuf/google/protobuf/internal/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/pyRFC3339/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.1" 2 | -------------------------------------------------------------------------------- /stubs/pycurl/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | pycurl 2 | -------------------------------------------------------------------------------- /stubs/pycurl/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "7.44.*" 2 | -------------------------------------------------------------------------------- /stubs/pyfarmhash/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.2.*" 2 | -------------------------------------------------------------------------------- /stubs/selenium/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.141.*" 2 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/chrome/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/common/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/edge/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/ie/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/opera/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/remote/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/safari/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/setuptools/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "57.4.*" 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/queue.pyi: -------------------------------------------------------------------------------- 1 | from queue import * 2 | -------------------------------------------------------------------------------- /stubs/slumber/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.7.*" 2 | -------------------------------------------------------------------------------- /stubs/stripe/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.59.*" 2 | -------------------------------------------------------------------------------- /stubs/ttkthemes/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.2.*" 2 | -------------------------------------------------------------------------------- /stubs/typed-ast/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.5.*" 2 | -------------------------------------------------------------------------------- /stubs/vobject/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.9.*" 2 | -------------------------------------------------------------------------------- /stdlib/pydoc_data/topics.pyi: -------------------------------------------------------------------------------- 1 | topics: dict[str, str] 2 | -------------------------------------------------------------------------------- /stdlib/xml/__init__.pyi: -------------------------------------------------------------------------------- 1 | import xml.parsers as parsers 2 | -------------------------------------------------------------------------------- /stubs/JACK-Client/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | jack 2 | -------------------------------------------------------------------------------- /stubs/Pygments/@tests/requirements-stubtest.txt: -------------------------------------------------------------------------------- 1 | sphinx 2 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.8.*" 2 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/emitters/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/models/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/utils/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/beautifulsoup4/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "4.10.*" 2 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/version.pyi: -------------------------------------------------------------------------------- 1 | Version: str 2 | -------------------------------------------------------------------------------- /stubs/caldav/caldav/lib/vcal.pyi: -------------------------------------------------------------------------------- 1 | def fix(event): ... 2 | -------------------------------------------------------------------------------- /stubs/editdistance/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.5.*" 2 | -------------------------------------------------------------------------------- /stubs/flake8-builtins/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.5.*" 2 | -------------------------------------------------------------------------------- /stubs/flake8-simplify/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.14.*" 2 | -------------------------------------------------------------------------------- /stubs/humanfriendly/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "9.2.*" 2 | -------------------------------------------------------------------------------- /stubs/oauthlib/oauthlib/openid/connect/core/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/python-slugify/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "5.0.*" 2 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/android/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/blackberry/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/firefox/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/phantomjs/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/support/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/webkitgtk/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/six/six/moves/_thread.pyi: -------------------------------------------------------------------------------- 1 | from _thread import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/cPickle.pyi: -------------------------------------------------------------------------------- 1 | from pickle import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/reprlib.pyi: -------------------------------------------------------------------------------- 1 | from reprlib import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/tkinter.pyi: -------------------------------------------------------------------------------- 1 | from tkinter import * 2 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/filelist.pyi: -------------------------------------------------------------------------------- 1 | class FileList: ... 2 | -------------------------------------------------------------------------------- /stdlib/xml/parsers/expat/__init__.pyi: -------------------------------------------------------------------------------- 1 | from pyexpat import * 2 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/exceptions/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/streaming/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/version.pyi: -------------------------------------------------------------------------------- 1 | VERSION: str 2 | -------------------------------------------------------------------------------- /stubs/cryptography/cryptography/hazmat/bindings/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/flake8-docstrings/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.6.*" 2 | -------------------------------------------------------------------------------- /stubs/pytest-lazy-fixture/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.6.*" 2 | -------------------------------------------------------------------------------- /stubs/python-gflags/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | gflags 2 | -------------------------------------------------------------------------------- /stubs/python-nmap/nmap/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .nmap import * 2 | -------------------------------------------------------------------------------- /stubs/requests/requests/packages/urllib3/contrib/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/requests/requests/packages/urllib3/packages/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/common/actions/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/common/html5/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/version.pyi: -------------------------------------------------------------------------------- 1 | __version__: str 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/queue.pyi: -------------------------------------------------------------------------------- 1 | from Queue import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/reprlib.pyi: -------------------------------------------------------------------------------- 1 | from repr import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/builtins.pyi: -------------------------------------------------------------------------------- 1 | from builtins import * 2 | -------------------------------------------------------------------------------- /stdlib/@python2/xml/__init__.pyi: -------------------------------------------------------------------------------- 1 | import xml.parsers as parsers 2 | -------------------------------------------------------------------------------- /stdlib/xml/parsers/expat/errors.pyi: -------------------------------------------------------------------------------- 1 | from pyexpat.errors import * 2 | -------------------------------------------------------------------------------- /stdlib/xml/parsers/expat/model.pyi: -------------------------------------------------------------------------------- 1 | from pyexpat.model import * 2 | -------------------------------------------------------------------------------- /stubs/aiofiles/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.7.*" 2 | requires = [] 3 | -------------------------------------------------------------------------------- /stubs/annoy/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.17.*" 2 | requires = [] 3 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/local/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/colorama/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.4.*" 2 | python2 = true -------------------------------------------------------------------------------- /stubs/commonmark/commonmark/cmark.pyi: -------------------------------------------------------------------------------- 1 | def main() -> None: ... 2 | -------------------------------------------------------------------------------- /stubs/cryptography/cryptography/hazmat/bindings/openssl/__init__.pyi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /stubs/emoji/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.2.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/enum34/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.1.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/first/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.0.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/futures/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.3.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/html5lib/@tests/requirements-stubtest.txt: -------------------------------------------------------------------------------- 1 | genshi 2 | lxml 3 | -------------------------------------------------------------------------------- /stubs/opentracing/opentracing/ext/tags.pyi: -------------------------------------------------------------------------------- 1 | from ..tags import * 2 | -------------------------------------------------------------------------------- /stubs/polib/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.1.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/protobuf/google/protobuf/__init__.pyi: -------------------------------------------------------------------------------- 1 | __version__: bytes 2 | -------------------------------------------------------------------------------- /stubs/pyaudio/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.2.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/pytz/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2021.3" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/redis/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "4.0.*" 2 | requires = [] 3 | -------------------------------------------------------------------------------- /stubs/retry/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.9.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/retry/retry/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .api import retry as retry 2 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/launch.pyi: -------------------------------------------------------------------------------- 1 | def run() -> None: ... 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/_thread.pyi: -------------------------------------------------------------------------------- 1 | from thread import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/cPickle.pyi: -------------------------------------------------------------------------------- 1 | from cPickle import * 2 | -------------------------------------------------------------------------------- /stubs/six/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.16.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/six/six/moves/BaseHTTPServer.pyi: -------------------------------------------------------------------------------- 1 | from http.server import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/CGIHTTPServer.pyi: -------------------------------------------------------------------------------- 1 | from http.server import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/configparser.pyi: -------------------------------------------------------------------------------- 1 | from configparser import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/html_parser.pyi: -------------------------------------------------------------------------------- 1 | from html.parser import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/http_client.pyi: -------------------------------------------------------------------------------- 1 | from http.client import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/http_cookies.pyi: -------------------------------------------------------------------------------- 1 | from http.cookies import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/socketserver.pyi: -------------------------------------------------------------------------------- 1 | from socketserver import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/tkinter_ttk.pyi: -------------------------------------------------------------------------------- 1 | from tkinter.ttk import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/urllib_error.pyi: -------------------------------------------------------------------------------- 1 | from urllib.error import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/urllib_parse.pyi: -------------------------------------------------------------------------------- 1 | from urllib.parse import * 2 | -------------------------------------------------------------------------------- /stubs/toml/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.10.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/waitress/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.0.*" 2 | requires = [] 3 | -------------------------------------------------------------------------------- /stubs/xxhash/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.0.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stdlib/@python2/crypt.pyi: -------------------------------------------------------------------------------- 1 | def crypt(word: str, salt: str) -> str: ... 2 | -------------------------------------------------------------------------------- /stdlib/@python2/xml/parsers/expat/__init__.pyi: -------------------------------------------------------------------------------- 1 | from pyexpat import * 2 | -------------------------------------------------------------------------------- /stdlib/asyncio/log.pyi: -------------------------------------------------------------------------------- 1 | import logging 2 | 3 | logger: logging.Logger 4 | -------------------------------------------------------------------------------- /stdlib/xml/parsers/__init__.pyi: -------------------------------------------------------------------------------- 1 | import xml.parsers.expat as expat 2 | -------------------------------------------------------------------------------- /stubs/Send2Trash/send2trash/util.pyi: -------------------------------------------------------------------------------- 1 | def preprocess_paths(paths): ... 2 | -------------------------------------------------------------------------------- /stubs/atomicwrites/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.4.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/bleach/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | bleach.html5lib_shim.* 2 | -------------------------------------------------------------------------------- /stubs/certifi/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2021.10.8" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/croniter/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.0.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/entrypoints/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.3.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/humanfriendly/@tests/requirements-stubtest.txt: -------------------------------------------------------------------------------- 1 | docutils 2 | mock -------------------------------------------------------------------------------- /stubs/ipaddress/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.0.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/requests/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.26.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/simplejson/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.17.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/html_parser.pyi: -------------------------------------------------------------------------------- 1 | from HTMLParser import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/http_client.pyi: -------------------------------------------------------------------------------- 1 | from httplib import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/http_cookies.pyi: -------------------------------------------------------------------------------- 1 | from Cookie import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/SimpleHTTPServer.pyi: -------------------------------------------------------------------------------- 1 | from http.server import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/collections_abc.pyi: -------------------------------------------------------------------------------- 1 | from collections.abc import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/email_mime_base.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.base import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/email_mime_text.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.text import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/html_entities.pyi: -------------------------------------------------------------------------------- 1 | from html.entities import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/http_cookiejar.pyi: -------------------------------------------------------------------------------- 1 | from http.cookiejar import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/tkinter_dialog.pyi: -------------------------------------------------------------------------------- 1 | from tkinter.dialog import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/urllib_request.pyi: -------------------------------------------------------------------------------- 1 | from .urllib.request import * 2 | -------------------------------------------------------------------------------- /stubs/tabulate/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.8.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/termcolor/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.1.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stdlib/@python2/xml/parsers/__init__.pyi: -------------------------------------------------------------------------------- 1 | import xml.parsers.expat as expat 2 | -------------------------------------------------------------------------------- /stdlib/@python2/xml/parsers/expat/errors.pyi: -------------------------------------------------------------------------------- 1 | from pyexpat.errors import * 2 | -------------------------------------------------------------------------------- /stdlib/@python2/xml/parsers/expat/model.pyi: -------------------------------------------------------------------------------- 1 | from pyexpat.model import * 2 | -------------------------------------------------------------------------------- /stdlib/sqlite3/__init__.pyi: -------------------------------------------------------------------------------- 1 | from sqlite3.dbapi2 import * # noqa: F403 2 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/_tkinter_finder.pyi: -------------------------------------------------------------------------------- 1 | TKINTER_LIB: str 2 | tk_version: str 3 | -------------------------------------------------------------------------------- /stubs/aiofiles/aiofiles/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .threadpool import open as open 2 | -------------------------------------------------------------------------------- /stubs/backports_abc/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.5.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/beautifulsoup4/@tests/requirements-stubtest.txt: -------------------------------------------------------------------------------- 1 | html5lib 2 | lxml 3 | -------------------------------------------------------------------------------- /stubs/characteristic/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "14.3.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/chardet/chardet/version.pyi: -------------------------------------------------------------------------------- 1 | __version__: str 2 | VERSION: list[str] 3 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/_trie/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .py import Trie as Trie 2 | -------------------------------------------------------------------------------- /stubs/mypy-extensions/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.4.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/orjson/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.6.*" 2 | obsolete_since = "3.6.1" 3 | -------------------------------------------------------------------------------- /stubs/python-gflags/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.1.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/singledispatch/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.7.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/CGIHTTPServer.pyi: -------------------------------------------------------------------------------- 1 | from CGIHTTPServer import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/_dummy_thread.pyi: -------------------------------------------------------------------------------- 1 | from dummy_thread import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/collections_abc.pyi: -------------------------------------------------------------------------------- 1 | from collections import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/configparser.pyi: -------------------------------------------------------------------------------- 1 | from ConfigParser import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/http_cookiejar.pyi: -------------------------------------------------------------------------------- 1 | from cookielib import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/socketserver.pyi: -------------------------------------------------------------------------------- 1 | from SocketServer import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/urllib_error.pyi: -------------------------------------------------------------------------------- 1 | from .urllib.error import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/urllib_parse.pyi: -------------------------------------------------------------------------------- 1 | from .urllib.parse import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/xmlrpc_client.pyi: -------------------------------------------------------------------------------- 1 | from xmlrpclib import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/tkinter_constants.pyi: -------------------------------------------------------------------------------- 1 | from tkinter.constants import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/urllib_response.pyi: -------------------------------------------------------------------------------- 1 | from .urllib.response import * 2 | -------------------------------------------------------------------------------- /stubs/tzlocal/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.0" 2 | requires = ["types-pytz"] 3 | -------------------------------------------------------------------------------- /stdlib/@python2/sqlite3/__init__.pyi: -------------------------------------------------------------------------------- 1 | from sqlite3.dbapi2 import * # noqa: F403 2 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/ImagePath.pyi: -------------------------------------------------------------------------------- 1 | from ._imaging import path 2 | 3 | Path = path 4 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/JpegPresets.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | presets: Any 4 | -------------------------------------------------------------------------------- /stubs/babel/babel/messages/__init__.pyi: -------------------------------------------------------------------------------- 1 | from babel.messages.catalog import * 2 | -------------------------------------------------------------------------------- /stubs/backports_abc/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | backports_abc.isawaitable 2 | -------------------------------------------------------------------------------- /stubs/commonmark/commonmark/entitytrans.pyi: -------------------------------------------------------------------------------- 1 | def _unescape(s: str) -> str: ... 2 | -------------------------------------------------------------------------------- /stubs/opentracing/opentracing/scope_managers/constants.pyi: -------------------------------------------------------------------------------- 1 | ACTIVE_ATTR: str 2 | -------------------------------------------------------------------------------- /stubs/paramiko/paramiko/_version.pyi: -------------------------------------------------------------------------------- 1 | __version_info__: tuple[int, int, int] 2 | -------------------------------------------------------------------------------- /stubs/pyOpenSSL/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | OpenSSL.SSL.Context.__getattr__ 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/BaseHTTPServer.pyi: -------------------------------------------------------------------------------- 1 | from BaseHTTPServer import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/email_mime_base.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.base import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/email_mime_text.pyi: -------------------------------------------------------------------------------- 1 | from email.MIMEText import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/html_entities.pyi: -------------------------------------------------------------------------------- 1 | from htmlentitydefs import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/urllib_request.pyi: -------------------------------------------------------------------------------- 1 | from .urllib.request import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/urllib_response.pyi: -------------------------------------------------------------------------------- 1 | from .urllib.response import * 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/urllib_robotparser.pyi: -------------------------------------------------------------------------------- 1 | from robotparser import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/email_mime_multipart.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.multipart import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/tkinter_commondialog.pyi: -------------------------------------------------------------------------------- 1 | from tkinter.commondialog import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/tkinter_filedialog.pyi: -------------------------------------------------------------------------------- 1 | from tkinter.filedialog import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/tkinter_tkfiledialog.pyi: -------------------------------------------------------------------------------- 1 | from tkinter.filedialog import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/urllib_robotparser.pyi: -------------------------------------------------------------------------------- 1 | from urllib.robotparser import * 2 | -------------------------------------------------------------------------------- /stdlib/xml/etree/cElementTree.pyi: -------------------------------------------------------------------------------- 1 | from xml.etree.ElementTree import * # noqa: F403 2 | -------------------------------------------------------------------------------- /stubs/Pygments/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.9.*" 2 | requires = ["types-docutils"] 3 | -------------------------------------------------------------------------------- /stubs/certifi/certifi.pyi: -------------------------------------------------------------------------------- 1 | def where() -> str: ... 2 | def contents() -> str: ... 3 | -------------------------------------------------------------------------------- /stubs/chardet/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "4.0.*" 2 | python2 = true 3 | requires = [] 4 | -------------------------------------------------------------------------------- /stubs/freezegun/freezegun/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .api import freeze_time as freeze_time 2 | -------------------------------------------------------------------------------- /stubs/google-cloud-ndb/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.9.*" 2 | requires = ["types-six"] 3 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/treeadapters/genshi.pyi: -------------------------------------------------------------------------------- 1 | def to_genshi(walker) -> None: ... 2 | -------------------------------------------------------------------------------- /stubs/polib/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | polib.TextWrapper 2 | polib._BaseFile.save 3 | -------------------------------------------------------------------------------- /stubs/requests/requests/status_codes.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | codes: Any 4 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/common/__init__.pyi: -------------------------------------------------------------------------------- 1 | from . import exceptions as exceptions 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/SimpleHTTPServer.pyi: -------------------------------------------------------------------------------- 1 | from SimpleHTTPServer import * 2 | -------------------------------------------------------------------------------- /stdlib/@python2/this.pyi: -------------------------------------------------------------------------------- 1 | from typing import Dict 2 | 3 | s: str 4 | d: Dict[str, str] 5 | -------------------------------------------------------------------------------- /stdlib/_bootlocale.pyi: -------------------------------------------------------------------------------- 1 | def getpreferredencoding(do_setlocale: bool = ...) -> str: ... 2 | -------------------------------------------------------------------------------- /stubs/Deprecated/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.2.*" 2 | python2 = true 3 | requires = [] 4 | -------------------------------------------------------------------------------- /stubs/Deprecated/deprecated/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .classic import deprecated as deprecated 2 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/WalImageFile.pyi: -------------------------------------------------------------------------------- 1 | def open(filename): ... 2 | 3 | quake2palette: bytes 4 | -------------------------------------------------------------------------------- /stubs/atomicwrites/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | atomicwrites.AtomicWriter.get_fileobject 2 | -------------------------------------------------------------------------------- /stubs/backports.ssl_match_hostname/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.7.*" 2 | python2 = true 3 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/util/datetime_parser.pyi: -------------------------------------------------------------------------------- 1 | def parse_datetime(timestamp): ... 2 | -------------------------------------------------------------------------------- /stubs/click-spinner/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.1.*" 2 | python2 = true 3 | requires = [] 4 | -------------------------------------------------------------------------------- /stubs/commonmark/commonmark/normalize_reference.pyi: -------------------------------------------------------------------------------- 1 | def normalize_reference(string): ... 2 | -------------------------------------------------------------------------------- /stubs/mysqlclient/MySQLdb/release.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | version_info: Any 4 | -------------------------------------------------------------------------------- /stubs/python-nmap/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.6.*" 2 | python2 = true 3 | requires = [] 4 | -------------------------------------------------------------------------------- /stubs/requests/requests/packages/urllib3/util/response.pyi: -------------------------------------------------------------------------------- 1 | def is_fp_closed(obj): ... 2 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/email_mime_multipart.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.multipart import * 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/email_mime_nonmultipart.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.nonmultipart import * 2 | -------------------------------------------------------------------------------- /stdlib/@python2/pydoc_data/topics.pyi: -------------------------------------------------------------------------------- 1 | from typing import Dict 2 | 3 | topics: Dict[str, str] 4 | -------------------------------------------------------------------------------- /stdlib/@python2/xml/etree/cElementTree.pyi: -------------------------------------------------------------------------------- 1 | from xml.etree.ElementTree import * # noqa: F403 2 | -------------------------------------------------------------------------------- /stdlib/__main__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... 4 | -------------------------------------------------------------------------------- /stubs/DateTimeRange/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "1.2.*" 2 | requires = ["types-python-dateutil"] 3 | -------------------------------------------------------------------------------- /stubs/boto/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.49.*" 2 | python2 = true 3 | requires = ["types-six"] 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/braintree_error.pyi: -------------------------------------------------------------------------------- 1 | class BraintreeError(Exception): ... 2 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/treeadapters/__init__.pyi: -------------------------------------------------------------------------------- 1 | from . import genshi as genshi, sax as sax 2 | -------------------------------------------------------------------------------- /stubs/mock/mock/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .mock import * 2 | 3 | version_info: tuple[int, int, int] 4 | -------------------------------------------------------------------------------- /stubs/oauthlib/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | oauthlib.oauth1.rfc5849.parameters.prepare_headers -------------------------------------------------------------------------------- /stubs/python-dateutil/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.8.*" 2 | python2 = true 3 | requires = [] 4 | -------------------------------------------------------------------------------- /stubs/python-slugify/slugify/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .slugify import * 2 | from .special import * 3 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/email_mime_nonmultipart.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.nonmultipart import * 2 | -------------------------------------------------------------------------------- /stubs/slumber/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | slumber.API.__init__ 2 | slumber.Resource.as_raw 3 | -------------------------------------------------------------------------------- /stdlib/@python2/__main__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... 4 | -------------------------------------------------------------------------------- /stdlib/antigravity.pyi: -------------------------------------------------------------------------------- 1 | def geohash(latitude: float, longitude: float, datedow: bytes) -> None: ... 2 | -------------------------------------------------------------------------------- /stdlib/bisect.pyi: -------------------------------------------------------------------------------- 1 | from _bisect import * 2 | 3 | bisect = bisect_right 4 | insort = insort_right 5 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/__init__.pyi: -------------------------------------------------------------------------------- 1 | __version__: str 2 | 3 | class UnidentifiedImageError(IOError): ... 4 | -------------------------------------------------------------------------------- /stubs/Pygments/pygments/formatters/_mapping.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | FORMATTERS: Any 4 | -------------------------------------------------------------------------------- /stubs/Pygments/pygments/modeline.pyi: -------------------------------------------------------------------------------- 1 | def get_filetype_from_buffer(buf, max_lines: int = ...): ... 2 | -------------------------------------------------------------------------------- /stubs/cachetools/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | cachetools.Cache.get 2 | cachetools.cache.Cache.get 3 | -------------------------------------------------------------------------------- /stubs/cachetools/cachetools/cache.pyi: -------------------------------------------------------------------------------- 1 | # this module is deprecated 2 | from . import Cache as Cache 3 | -------------------------------------------------------------------------------- /stubs/cachetools/cachetools/rr.pyi: -------------------------------------------------------------------------------- 1 | # this module is deprecated 2 | from . import RRCache as RRCache 3 | -------------------------------------------------------------------------------- /stubs/dateparser/dateparser/timezones.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | timezone_info_list: Any 4 | -------------------------------------------------------------------------------- /stubs/fpdf2/fpdf/fonts.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | courier: Any 4 | fpdf_charwidths: Any 5 | -------------------------------------------------------------------------------- /stubs/oauthlib/oauthlib/__init__.pyi: -------------------------------------------------------------------------------- 1 | def set_debug(debug_val) -> None: ... 2 | def get_debug(): ... 3 | -------------------------------------------------------------------------------- /stubs/pysftp/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.2.*" 2 | python2 = true 3 | requires = ["types-paramiko"] 4 | -------------------------------------------------------------------------------- /stubs/pyvmomi/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "7.0.*" 2 | python2 = true 3 | requires = ["types-enum34"] 4 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/dep_util.pyi: -------------------------------------------------------------------------------- 1 | def newer_pairwise_group(sources_groups, targets): ... 2 | -------------------------------------------------------------------------------- /stdlib/nturl2path.pyi: -------------------------------------------------------------------------------- 1 | def url2pathname(url: str) -> str: ... 2 | def pathname2url(p: str) -> str: ... 3 | -------------------------------------------------------------------------------- /stdlib/wsgiref/types.pyi: -------------------------------------------------------------------------------- 1 | # Obsolete, use _typeshed.wsgi directly. 2 | 3 | from _typeshed.wsgi import * 4 | -------------------------------------------------------------------------------- /stubs/PyMySQL/pymysql/util.pyi: -------------------------------------------------------------------------------- 1 | def byte2int(b): ... 2 | def int2byte(i): ... 3 | def join_bytes(bs): ... 4 | -------------------------------------------------------------------------------- /stubs/cachetools/cachetools/lfu.pyi: -------------------------------------------------------------------------------- 1 | # this module is deprecated 2 | from . import LFUCache as LFUCache 3 | -------------------------------------------------------------------------------- /stubs/cachetools/cachetools/lru.pyi: -------------------------------------------------------------------------------- 1 | # this module is deprecated 2 | from . import LRUCache as LRUCache 3 | -------------------------------------------------------------------------------- /stubs/cachetools/cachetools/mru.pyi: -------------------------------------------------------------------------------- 1 | # this module is deprecated 2 | from . import MRUCache as MRUCache 3 | -------------------------------------------------------------------------------- /stubs/cachetools/cachetools/ttl.pyi: -------------------------------------------------------------------------------- 1 | # this module is deprecated 2 | from . import TTLCache as TTLCache 3 | -------------------------------------------------------------------------------- /stubs/paramiko/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "2.8.*" 2 | python2 = true 3 | requires = ["types-cryptography"] 4 | -------------------------------------------------------------------------------- /stubs/protobuf/google/protobuf/internal/python_message.pyi: -------------------------------------------------------------------------------- 1 | class GeneratedProtocolMessageType(type): ... 2 | -------------------------------------------------------------------------------- /stubs/requests/requests/compat.pyi: -------------------------------------------------------------------------------- 1 | import collections 2 | 3 | OrderedDict = collections.OrderedDict 4 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/safari/permissions.pyi: -------------------------------------------------------------------------------- 1 | class Permission: 2 | GET_USER_MEDIA: str 3 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/_deprecation_warning.pyi: -------------------------------------------------------------------------------- 1 | class SetuptoolsDeprecationWarning(Warning): ... 2 | -------------------------------------------------------------------------------- /stdlib/@python2/bisect.pyi: -------------------------------------------------------------------------------- 1 | from _bisect import * 2 | 3 | bisect = bisect_right 4 | insort = insort_right 5 | -------------------------------------------------------------------------------- /stdlib/@python2/whichdb.pyi: -------------------------------------------------------------------------------- 1 | from typing import Text 2 | 3 | def whichdb(filename: Text) -> str | None: ... 4 | -------------------------------------------------------------------------------- /stdlib/collections/abc.pyi: -------------------------------------------------------------------------------- 1 | from _collections_abc import * 2 | from _collections_abc import __all__ as __all__ 3 | -------------------------------------------------------------------------------- /stdlib/dummy_threading.pyi: -------------------------------------------------------------------------------- 1 | from _dummy_threading import * 2 | from _dummy_threading import __all__ as __all__ 3 | -------------------------------------------------------------------------------- /stubs/Markdown/markdown/__meta__.pyi: -------------------------------------------------------------------------------- 1 | __version_info__: tuple[int, int, int, str, int] 2 | __version__: str 3 | -------------------------------------------------------------------------------- /stubs/cachetools/cachetools/fifo.pyi: -------------------------------------------------------------------------------- 1 | # this module is deprecated 2 | from . import FIFOCache as FIFOCache 3 | -------------------------------------------------------------------------------- /stubs/caldav/caldav/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .davclient import DAVClient as DAVClient 2 | from .objects import * 3 | -------------------------------------------------------------------------------- /stubs/click-spinner/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | click_spinner.Spinner.__init__ 2 | click_spinner.spinner 3 | -------------------------------------------------------------------------------- /stubs/cryptography/cryptography/hazmat/primitives/twofactor/__init__.pyi: -------------------------------------------------------------------------------- 1 | class InvalidToken(Exception): ... 2 | -------------------------------------------------------------------------------- /stubs/humanfriendly/humanfriendly/decorators.pyi: -------------------------------------------------------------------------------- 1 | RESULTS_ATTRIBUTE: str 2 | 3 | def cached(function): ... 4 | -------------------------------------------------------------------------------- /stubs/pyOpenSSL/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "21.0.*" 2 | python2 = true 3 | requires = ["types-cryptography"] 4 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/installer.pyi: -------------------------------------------------------------------------------- 1 | def fetch_build_egg(dist, req): ... 2 | def strip_marker(req): ... 3 | -------------------------------------------------------------------------------- /stubs/six/six/moves/urllib/robotparser.pyi: -------------------------------------------------------------------------------- 1 | from urllib.robotparser import RobotFileParser as RobotFileParser 2 | -------------------------------------------------------------------------------- /stubs/ttkthemes/ttkthemes/_imgops.pyi: -------------------------------------------------------------------------------- 1 | def shift_hue(image, hue): ... 2 | def make_transparent(image): ... 3 | -------------------------------------------------------------------------------- /stdlib/@python2/md5.pyi: -------------------------------------------------------------------------------- 1 | from hashlib import md5 as md5 2 | 3 | new = md5 4 | blocksize: int 5 | digest_size: int 6 | -------------------------------------------------------------------------------- /stdlib/@python2/wsgiref/types.pyi: -------------------------------------------------------------------------------- 1 | # Obsolete, use _typeshed.wsgi directly. 2 | 3 | from _typeshed.wsgi import * 4 | -------------------------------------------------------------------------------- /stubs/Markdown/markdown/serializers.pyi: -------------------------------------------------------------------------------- 1 | def to_html_string(element): ... 2 | def to_xhtml_string(element): ... 3 | -------------------------------------------------------------------------------- /stubs/cryptography/cryptography/hazmat/primitives/constant_time.pyi: -------------------------------------------------------------------------------- 1 | def bytes_eq(a: bytes, b: bytes) -> bool: ... 2 | -------------------------------------------------------------------------------- /stubs/docopt/METADATA.toml: -------------------------------------------------------------------------------- 1 | # Prior to v0.6, docopt() had only 3 optional args 2 | version = "0.6.*" 3 | python2 = true -------------------------------------------------------------------------------- /stubs/mypy-extensions/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | mypy_extensions.FlexibleAlias 2 | mypy_extensions.TypedDict 3 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/windows_support.pyi: -------------------------------------------------------------------------------- 1 | def windows_only(func): ... 2 | def hide_file(path) -> None: ... 3 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/urllib/robotparser.pyi: -------------------------------------------------------------------------------- 1 | from robotparser import RobotFileParser as RobotFileParser 2 | -------------------------------------------------------------------------------- /stdlib/@python2/dummy_threading.pyi: -------------------------------------------------------------------------------- 1 | from _dummy_threading import * 2 | from _dummy_threading import __all__ as __all__ 3 | -------------------------------------------------------------------------------- /stdlib/distutils/bcppcompiler.pyi: -------------------------------------------------------------------------------- 1 | from distutils.ccompiler import CCompiler 2 | 3 | class BCPPCompiler(CCompiler): ... 4 | -------------------------------------------------------------------------------- /stdlib/distutils/msvccompiler.pyi: -------------------------------------------------------------------------------- 1 | from distutils.ccompiler import CCompiler 2 | 3 | class MSVCCompiler(CCompiler): ... 4 | -------------------------------------------------------------------------------- /stdlib/email/mime/nonmultipart.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.base import MIMEBase 2 | 3 | class MIMENonMultipart(MIMEBase): ... 4 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .sdk_config import SDKConfig 2 | 3 | global_sdk_config: SDKConfig 4 | -------------------------------------------------------------------------------- /stubs/dateparser/dateparser_data/settings.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | default_parsers: Any 4 | settings: Any 5 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/core.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/nodes.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/setuptools/pkg_resources/py31compat.pyi: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | needs_makedirs: bool 4 | 5 | makedirs = os.makedirs 6 | -------------------------------------------------------------------------------- /stdlib/@python2/xml/dom/pulldom.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stdlib/distutils/unixccompiler.pyi: -------------------------------------------------------------------------------- 1 | from distutils.ccompiler import CCompiler 2 | 3 | class UnixCCompiler(CCompiler): ... 4 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/ExifTags.pyi: -------------------------------------------------------------------------------- 1 | from typing import Mapping 2 | 3 | TAGS: Mapping[int, str] 4 | GPSTAGS: Mapping[int, str] 5 | -------------------------------------------------------------------------------- /stubs/cryptography/cryptography/hazmat/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/examples.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/readers/pep.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/httplib2/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | # __getattr__() replaced with actual field in stub 2 | httplib2.Response.dict 3 | -------------------------------------------------------------------------------- /stubs/opentracing/opentracing/logs.pyi: -------------------------------------------------------------------------------- 1 | ERROR_KIND: str 2 | ERROR_OBJECT: str 3 | EVENT: str 4 | MESSAGE: str 5 | STACK: str 6 | -------------------------------------------------------------------------------- /stubs/psutil/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | psutil._psbsd 2 | psutil._psosx 3 | psutil._psutil_windows 4 | psutil._pswindows 5 | -------------------------------------------------------------------------------- /stubs/psutil/psutil/_psutil_windows.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/pyRFC3339/pyrfc3339/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .generator import generate as generate 2 | from .parser import parse as parse 3 | -------------------------------------------------------------------------------- /stubs/slumber/slumber/utils.pyi: -------------------------------------------------------------------------------- 1 | def url_join(base, *args): ... 2 | def copy_kwargs(dictionary): ... 3 | def iterator(d): ... 4 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/checkout/__init__.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.checkout.session import Session as Session 2 | -------------------------------------------------------------------------------- /stubs/typed-ast/typed_ast/conversions.pyi: -------------------------------------------------------------------------------- 1 | from . import ast3, ast27 2 | 3 | def py2to3(ast: ast27.AST) -> ast3.AST: ... 4 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/bcppcompiler.pyi: -------------------------------------------------------------------------------- 1 | from distutils.ccompiler import CCompiler 2 | 3 | class BCPPCompiler(CCompiler): ... 4 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/msvccompiler.pyi: -------------------------------------------------------------------------------- 1 | from distutils.ccompiler import CCompiler 2 | 3 | class MSVCCompiler(CCompiler): ... 4 | -------------------------------------------------------------------------------- /stdlib/@python2/user.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name) -> Any: ... 4 | 5 | home: str 6 | pythonrc: str 7 | -------------------------------------------------------------------------------- /stdlib/@python2/xml/dom/expatbuilder.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/croniter/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | croniter.CroniterError 2 | croniter.croniter.__next__ 3 | croniter.croniter.next 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/readers/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/readers/doctree.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/statemachine.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/writers/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/humanfriendly/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | humanfriendly.compat.StringIO.seek 2 | humanfriendly.compat.StringIO.truncate 3 | -------------------------------------------------------------------------------- /stubs/toml/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | toml.TomlDecodeError.__init__ 2 | toml.dump 3 | toml.dumps 4 | toml.load 5 | toml.loads 6 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/unixccompiler.pyi: -------------------------------------------------------------------------------- 1 | from distutils.ccompiler import CCompiler 2 | 3 | class UnixCCompiler(CCompiler): ... 4 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/utils/search_pattern.pyi: -------------------------------------------------------------------------------- 1 | def wildcard_match(pattern, text, case_insensitive: bool = ...): ... 2 | -------------------------------------------------------------------------------- /stubs/cryptography/cryptography/hazmat/primitives/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... 4 | -------------------------------------------------------------------------------- /stubs/dateparser/dateparser/data/languages_info.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | language_order: Any 4 | language_locale_dict: Any 5 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/languages/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/parsers/rst/nodes.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/readers/standalone.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/transforms/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/redis/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | redis.client.Pipeline.transaction # instance attribute has same name as superclass method 2 | -------------------------------------------------------------------------------- /stdlib/@python2/keyword.pyi: -------------------------------------------------------------------------------- 1 | from typing import Sequence, Text 2 | 3 | def iskeyword(s: Text) -> bool: ... 4 | 5 | kwlist: Sequence[str] 6 | -------------------------------------------------------------------------------- /stdlib/os/path.pyi: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | if sys.platform == "win32": 4 | from ntpath import * 5 | else: 6 | from posixpath import * 7 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/PalmImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def build_prototype_image(): ... 4 | 5 | Palm8BitColormapImage: Any 6 | -------------------------------------------------------------------------------- /stubs/Send2Trash/send2trash/exceptions.pyi: -------------------------------------------------------------------------------- 1 | class TrashPermissionError(PermissionError): 2 | def __init__(self, filename) -> None: ... 3 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/utils/conversion.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | log: Any 4 | 5 | def metadata_to_dict(obj): ... 6 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/utils/stacktrace.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def get_stacktrace(limit: Any | None = ...): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/local_payment.pyi: -------------------------------------------------------------------------------- 1 | from braintree.resource import Resource as Resource 2 | 3 | class LocalPayment(Resource): ... 4 | -------------------------------------------------------------------------------- /stubs/google-cloud-ndb/google/cloud/ndb/_batch.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def get_batch(batch_cls, options: Any | None = ...): ... 4 | -------------------------------------------------------------------------------- /stubs/html5lib/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | # Misnamed first argument in implementation 2 | html5lib._inputstream.EncodingBytes.__new__ 3 | -------------------------------------------------------------------------------- /stubs/mysqlclient/MySQLdb/constants/__init__.pyi: -------------------------------------------------------------------------------- 1 | from . import CLIENT as CLIENT, CR as CR, ER as ER, FIELD_TYPE as FIELD_TYPE, FLAG as FLAG 2 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/support/ui.pyi: -------------------------------------------------------------------------------- 1 | from .select import Select as Select 2 | from .wait import WebDriverWait as WebDriverWait 3 | -------------------------------------------------------------------------------- /stubs/vobject/vobject/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .base import Component 2 | 3 | def iCalendar() -> Component: ... 4 | def vCard() -> Component: ... 5 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/emxccompiler.pyi: -------------------------------------------------------------------------------- 1 | from distutils.unixccompiler import UnixCCompiler 2 | 3 | class EMXCCompiler(UnixCCompiler): ... 4 | -------------------------------------------------------------------------------- /stubs/Pillow/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | PIL.FpxImagePlugin 2 | PIL.ImageQt.ImageQt 3 | PIL.MicImagePlugin 4 | PIL.WmfImagePlugin.WmfHandler 5 | -------------------------------------------------------------------------------- /stubs/Send2Trash/send2trash/compat.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | PY3: Any 4 | text_type = str 5 | binary_type = bytes 6 | environb: Any 7 | -------------------------------------------------------------------------------- /stubs/babel/babel/lists.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | DEFAULT_LOCALE: Any 4 | 5 | def format_list(lst, style: str = ..., locale=...): ... 6 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/util/constants.pyi: -------------------------------------------------------------------------------- 1 | class Constants: 2 | @staticmethod 3 | def get_all_constant_values_from_class(klass): ... 4 | -------------------------------------------------------------------------------- /stubs/cryptography/cryptography/hazmat/primitives/asymmetric/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/parsers/recommonmark_wrapper.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | -------------------------------------------------------------------------------- /stubs/mock/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | mock.NonCallableMock.__new__ 2 | mock.patch 3 | mock.mock.NonCallableMock.__new__ 4 | mock.mock.patch 5 | -------------------------------------------------------------------------------- /stubs/pytz/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | pytz.BaseTzInfo.localize 2 | pytz.BaseTzInfo.normalize 3 | pytz.BaseTzInfo.zone 4 | pytz.FixedOffset 5 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/common/actions/mouse_button.pyi: -------------------------------------------------------------------------------- 1 | class MouseButton: 2 | LEFT: int 3 | MIDDLE: int 4 | RIGHT: int 5 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/unicode_utils.pyi: -------------------------------------------------------------------------------- 1 | def decompose(path): ... 2 | def filesys_decode(path): ... 3 | def try_encode(string, enc): ... 4 | -------------------------------------------------------------------------------- /stdlib/html/entities.pyi: -------------------------------------------------------------------------------- 1 | name2codepoint: dict[str, int] 2 | html5: dict[str, str] 3 | codepoint2name: dict[int, str] 4 | entitydefs: dict[str, str] 5 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/iban_bank_account.pyi: -------------------------------------------------------------------------------- 1 | from braintree.resource import Resource as Resource 2 | 3 | class IbanBankAccount(Resource): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/oauth_credentials.pyi: -------------------------------------------------------------------------------- 1 | from braintree.resource import Resource as Resource 2 | 3 | class OAuthCredentials(Resource): ... 4 | -------------------------------------------------------------------------------- /stubs/cryptography/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.3.*" 2 | python2 = true 3 | requires = ["types-enum34", "types-ipaddress"] 4 | obsolete_since = "3.4.4" 5 | -------------------------------------------------------------------------------- /stubs/google-cloud-ndb/google/cloud/ndb/django_middleware.pyi: -------------------------------------------------------------------------------- 1 | class NdbDjangoMiddleware: 2 | def __init__(self, *args, **kwargs) -> None: ... 3 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/filters/alphabeticalattributes.pyi: -------------------------------------------------------------------------------- 1 | from . import base 2 | 3 | class Filter(base.Filter): 4 | def __iter__(self): ... 5 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/treeadapters/sax.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | prefix_mapping: Any 4 | 5 | def to_sax(walker, handler) -> None: ... 6 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/treebuilders/dom.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def getDomBuilder(DomImplementation): ... 4 | 5 | getDomModule: Any 6 | -------------------------------------------------------------------------------- /stubs/simplejson/simplejson/raw_json.pyi: -------------------------------------------------------------------------------- 1 | class RawJSON(object): 2 | encoded_json: str 3 | def __init__(self, encoded_json: str) -> None: ... 4 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/object_classes.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from stripe import api_resources as api_resources 4 | 5 | OBJECT_CLASSES: Any 6 | -------------------------------------------------------------------------------- /stubs/babel/babel/localtime/_win32.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | tz_names: Any 4 | 5 | def valuestodict(key): ... 6 | def get_localzone_name(): ... 7 | -------------------------------------------------------------------------------- /stubs/caldav/caldav/lib/namespace.pyi: -------------------------------------------------------------------------------- 1 | nsmap: dict[str, str] 2 | nsmap2: dict[str, str] 3 | 4 | def ns(prefix: str, tag: str | None = ...) -> str: ... 5 | -------------------------------------------------------------------------------- /stubs/opentracing/opentracing/mocktracer/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .propagator import Propagator as Propagator 2 | from .tracer import MockTracer as MockTracer 3 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/errors.pyi: -------------------------------------------------------------------------------- 1 | from distutils.errors import DistutilsError 2 | 3 | class RemovedCommandError(DistutilsError, RuntimeError): ... 4 | -------------------------------------------------------------------------------- /stubs/six/six/moves/urllib/error.pyi: -------------------------------------------------------------------------------- 1 | from urllib.error import ContentTooShortError as ContentTooShortError, HTTPError as HTTPError, URLError as URLError 2 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/sigma/__init__.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.sigma.scheduled_query_run import ScheduledQueryRun as ScheduledQueryRun 2 | -------------------------------------------------------------------------------- /stubs/tzlocal/tzlocal/__init__.pyi: -------------------------------------------------------------------------------- 1 | from pytz import BaseTzInfo 2 | 3 | def reload_localzone() -> None: ... 4 | def get_localzone() -> BaseTzInfo: ... 5 | -------------------------------------------------------------------------------- /stdlib/@python2/atexit.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, TypeVar 2 | 3 | _FT = TypeVar("_FT") 4 | 5 | def register(func: _FT, *args: Any, **kargs: Any) -> _FT: ... 6 | -------------------------------------------------------------------------------- /stdlib/@python2/nturl2path.pyi: -------------------------------------------------------------------------------- 1 | from typing import AnyStr 2 | 3 | def url2pathname(url: AnyStr) -> AnyStr: ... 4 | def pathname2url(p: AnyStr) -> AnyStr: ... 5 | -------------------------------------------------------------------------------- /stdlib/html/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import AnyStr 2 | 3 | def escape(s: AnyStr, quote: bool = ...) -> AnyStr: ... 4 | def unescape(s: AnyStr) -> AnyStr: ... 5 | -------------------------------------------------------------------------------- /stubs/Deprecated/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | deprecated.sphinx.SphinxAdapter.__init__ 2 | deprecated.sphinx.versionadded 3 | deprecated.sphinx.versionchanged 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/bin_data.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class BinData(AttributeGetter): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/processor_response_types.pyi: -------------------------------------------------------------------------------- 1 | class ProcessorResponseTypes: 2 | Approved: str 3 | SoftDeclined: str 4 | HardDeclined: str 5 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/risk_data.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class RiskData(AttributeGetter): ... 4 | -------------------------------------------------------------------------------- /stubs/emoji/emoji/unicode_codes/es.pyi: -------------------------------------------------------------------------------- 1 | from typing import Text 2 | 3 | EMOJI_UNICODE_SPANISH: dict[Text, Text] 4 | UNICODE_EMOJI_SPANISH: dict[Text, Text] 5 | -------------------------------------------------------------------------------- /stubs/emoji/emoji/unicode_codes/it.pyi: -------------------------------------------------------------------------------- 1 | from typing import Text 2 | 3 | EMOJI_UNICODE_ITALIAN: dict[Text, Text] 4 | UNICODE_EMOJI_ITALIAN: dict[Text, Text] 5 | -------------------------------------------------------------------------------- /stdlib/@python2/email/mime/nonmultipart.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.base import MIMEBase 2 | 3 | class MIMENonMultipart(MIMEBase): 4 | def attach(self, payload): ... 5 | -------------------------------------------------------------------------------- /stdlib/@python2/htmlentitydefs.pyi: -------------------------------------------------------------------------------- 1 | from typing import Dict 2 | 3 | name2codepoint: Dict[str, int] 4 | codepoint2name: Dict[int, str] 5 | entitydefs: Dict[str, str] 6 | -------------------------------------------------------------------------------- /stdlib/@python2/importlib.pyi: -------------------------------------------------------------------------------- 1 | import types 2 | from typing import Text 3 | 4 | def import_module(name: Text, package: Text | None = ...) -> types.ModuleType: ... 5 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/PixarImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import ImageFile 2 | 3 | class PixarImageFile(ImageFile): 4 | format: str 5 | format_description: str 6 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/SunImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import ImageFile 2 | 3 | class SunImageFile(ImageFile): 4 | format: str 5 | format_description: str 6 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/ids_search.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.search import Search as Search 4 | 5 | class IdsSearch: 6 | ids: Any 7 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/transaction_amounts.pyi: -------------------------------------------------------------------------------- 1 | class TransactionAmounts: 2 | Authorize: str 3 | Decline: str 4 | HardDecline: str 5 | Fail: str 6 | -------------------------------------------------------------------------------- /stubs/caldav/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "0.8.*" 2 | # also types-lxml and types-icalendar when those stubs are added 3 | requires = ["types-requests", "types-vobject"] 4 | -------------------------------------------------------------------------------- /stubs/emoji/emoji/unicode_codes/pt.pyi: -------------------------------------------------------------------------------- 1 | from typing import Text 2 | 3 | EMOJI_UNICODE_PORTUGUESE: dict[Text, Text] 4 | UNICODE_EMOJI_PORTUGUESE: dict[Text, Text] 5 | -------------------------------------------------------------------------------- /stubs/pyRFC3339/pyrfc3339/parser.pyi: -------------------------------------------------------------------------------- 1 | from datetime import datetime 2 | 3 | def parse(timestamp: str, utc: bool = ..., produce_naive: bool = ...) -> datetime: ... 4 | -------------------------------------------------------------------------------- /stubs/redis/redis/commands/json/decoders.pyi: -------------------------------------------------------------------------------- 1 | def bulk_of_jsons(d): ... 2 | def decode_dict_keys(obj): ... 3 | def unstring(obj): ... 4 | def decode_list(b): ... 5 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/command/upload.pyi: -------------------------------------------------------------------------------- 1 | from distutils.command import upload as orig 2 | 3 | class upload(orig.upload): 4 | def run(self) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/urllib/response.pyi: -------------------------------------------------------------------------------- 1 | from urllib import addbase as addbase, addclosehook as addclosehook, addinfo as addinfo, addinfourl as addinfourl 2 | -------------------------------------------------------------------------------- /stubs/six/six/moves/_dummy_thread.pyi: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | if sys.version_info >= (3, 9): 4 | from _thread import * 5 | else: 6 | from _dummy_thread import * 7 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/McIdasImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import ImageFile 2 | 3 | class McIdasImageFile(ImageFile): 4 | format: str 5 | format_description: str 6 | -------------------------------------------------------------------------------- /stubs/backports.ssl_match_hostname/backports/ssl_match_hostname/__init__.pyi: -------------------------------------------------------------------------------- 1 | class CertificateError(ValueError): ... 2 | 3 | def match_hostname(cert, hostname): ... 4 | -------------------------------------------------------------------------------- /stubs/contextvars/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | contextvars.Context.__init__ 2 | contextvars.Context.get 3 | contextvars.ContextVar.reset 4 | contextvars.ContextVar.set 5 | -------------------------------------------------------------------------------- /stubs/pyvmomi/pyVmomi/vmodl/fault.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | 5 | class InvalidArgument(Exception): ... 6 | -------------------------------------------------------------------------------- /stubs/redis/redis/retry.pyi: -------------------------------------------------------------------------------- 1 | class Retry: 2 | def __init__(self, backoff, retries, supported_errors=...) -> None: ... 3 | def call_with_retry(self, do, fail): ... 4 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/command/bdist_rpm.pyi: -------------------------------------------------------------------------------- 1 | import distutils.command.bdist_rpm as orig 2 | 3 | class bdist_rpm(orig.bdist_rpm): 4 | def run(self) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/command/register.pyi: -------------------------------------------------------------------------------- 1 | import distutils.command.register as orig 2 | 3 | class register(orig.register): 4 | def run(self) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/glob.pyi: -------------------------------------------------------------------------------- 1 | def glob(pathname, recursive: bool = ...): ... 2 | def iglob(pathname, recursive: bool = ...): ... 3 | def escape(pathname): ... 4 | -------------------------------------------------------------------------------- /stdlib/ctypes/util.pyi: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | def find_library(name: str) -> str | None: ... 4 | 5 | if sys.platform == "win32": 6 | def find_msvcrt() -> str | None: ... 7 | -------------------------------------------------------------------------------- /stdlib/macurl2path.pyi: -------------------------------------------------------------------------------- 1 | def url2pathname(pathname: str) -> str: ... 2 | def pathname2url(pathname: str) -> str: ... 3 | def _pncomp2url(component: str | bytes) -> str: ... 4 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/CurImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .BmpImagePlugin import BmpImageFile 2 | 3 | class CurImageFile(BmpImageFile): 4 | format: str 5 | format_description: str 6 | -------------------------------------------------------------------------------- /stubs/babel/babel/languages.pyi: -------------------------------------------------------------------------------- 1 | def get_official_languages(territory, regional: bool = ..., de_facto: bool = ...): ... 2 | def get_territory_language_info(territory): ... 3 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/apple_pay_options.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class ApplePayOptions(AttributeGetter): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/attribute_getter.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class AttributeGetter: 4 | def __init__(self, attributes: Any | None = ...) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/validation_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class ValidationError(AttributeGetter): ... 4 | -------------------------------------------------------------------------------- /stubs/commonmark/commonmark/main.pyi: -------------------------------------------------------------------------------- 1 | from typing_extensions import Literal 2 | 3 | def commonmark(text: str, format: Literal["html", "json", "ast", "rst"] = ...) -> str: ... 4 | -------------------------------------------------------------------------------- /stubs/dateparser/dateparser/calendars/jalali.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from . import CalendarBase 4 | 5 | class JalaliCalendar(CalendarBase): 6 | parser: Any 7 | -------------------------------------------------------------------------------- /stubs/oauthlib/oauthlib/openid/connect/core/endpoints/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .pre_configured import Server as Server 2 | from .userinfo import UserInfoEndpoint as UserInfoEndpoint 3 | -------------------------------------------------------------------------------- /stubs/protobuf/METADATA.toml: -------------------------------------------------------------------------------- 1 | version = "3.18.*" 2 | python2 = true 3 | requires = ["types-futures"] 4 | extra_description = "Generated with aid from mypy-protobuf v3.0.0" 5 | -------------------------------------------------------------------------------- /stubs/requests/requests/hooks.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | HOOKS: Any 4 | 5 | def default_hooks(): ... 6 | def dispatch_hook(key, hooks, hook_data, **kwargs): ... 7 | -------------------------------------------------------------------------------- /stdlib/@python2/email/mime/base.pyi: -------------------------------------------------------------------------------- 1 | from email import message 2 | 3 | class MIMEBase(message.Message): 4 | def __init__(self, _maintype, _subtype, **_params) -> None: ... 5 | -------------------------------------------------------------------------------- /stdlib/@python2/macurl2path.pyi: -------------------------------------------------------------------------------- 1 | def url2pathname(pathname: str) -> str: ... 2 | def pathname2url(pathname: str) -> str: ... 3 | def _pncomp2url(component: str | bytes) -> str: ... 4 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/ecs_plugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | log: Any 4 | SERVICE_NAME: str 5 | ORIGIN: str 6 | 7 | def initialize() -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/babel/babel/messages/mofile.pyi: -------------------------------------------------------------------------------- 1 | LE_MAGIC: int 2 | BE_MAGIC: int 3 | 4 | def read_mo(fileobj): ... 5 | def write_mo(fileobj, catalog, use_fuzzy: bool = ...) -> None: ... 6 | -------------------------------------------------------------------------------- /stubs/backports.ssl_match_hostname/backports/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | # Explicitly mark this package as incomplete. 4 | def __getattr__(name: str) -> Any: ... 5 | -------------------------------------------------------------------------------- /stubs/boto/boto/kms/__init__.pyi: -------------------------------------------------------------------------------- 1 | import boto.regioninfo 2 | 3 | def regions() -> list[boto.regioninfo.RegionInfo]: ... 4 | def connect_to_region(region_name, **kw_params): ... 5 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/facilitated_details.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class FacilitatedDetails(AttributeGetter): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/facilitator_details.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class FacilitatorDetails(AttributeGetter): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/three_d_secure_info.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class ThreeDSecureInfo(AttributeGetter): ... 4 | -------------------------------------------------------------------------------- /stubs/commonmark/commonmark/dump.pyi: -------------------------------------------------------------------------------- 1 | def prepare(obj, topnode: bool = ...): ... 2 | def dumpJSON(obj): ... 3 | def dumpAST(obj, ind: int = ..., topnode: bool = ...) -> None: ... 4 | -------------------------------------------------------------------------------- /stubs/dataclasses/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | dataclasses.Field.__init__ 2 | dataclasses.InitVar.__init__ 3 | dataclasses.dataclass 4 | dataclasses.field 5 | dataclasses.replace 6 | -------------------------------------------------------------------------------- /stubs/requests/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.pyi: -------------------------------------------------------------------------------- 1 | class CertificateError(ValueError): ... 2 | 3 | def match_hostname(cert, hostname): ... 4 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/urllib/error.pyi: -------------------------------------------------------------------------------- 1 | from urllib import ContentTooShortError as ContentTooShortError 2 | from urllib2 import HTTPError as HTTPError, URLError as URLError 3 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/line_item.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import APIResource as APIResource 2 | 3 | class LineItem(APIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/login_link.pyi: -------------------------------------------------------------------------------- 1 | from stripe.stripe_object import StripeObject as StripeObject 2 | 3 | class LoginLink(StripeObject): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/mandate.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import APIResource as APIResource 2 | 3 | class Mandate(APIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stdlib/@python2/ctypes/util.pyi: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | def find_library(name: str) -> str | None: ... 4 | 5 | if sys.platform == "win32": 6 | def find_msvcrt() -> str | None: ... 7 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/server_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class ServerError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/subscription_details.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class SubscriptionDetails(AttributeGetter): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/unknown_payment_method.pyi: -------------------------------------------------------------------------------- 1 | from braintree.resource import Resource as Resource 2 | 3 | class UnknownPaymentMethod(Resource): 4 | def image_url(self): ... 5 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/treewalkers/etree.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | tag_regexp: Any 4 | 5 | def getETreeBuilder(ElementTreeImplementation): ... 6 | 7 | getETreeModule: Any 8 | -------------------------------------------------------------------------------- /stubs/redis/redis/commands/json/path.pyi: -------------------------------------------------------------------------------- 1 | class Path: 2 | strPath: str 3 | @staticmethod 4 | def rootPath() -> str: ... 5 | def __init__(self, path: str) -> None: ... 6 | -------------------------------------------------------------------------------- /stubs/requests/requests/packages/urllib3/packages/ssl_match_hostname/__init__.pyi: -------------------------------------------------------------------------------- 1 | import ssl 2 | 3 | CertificateError = ssl.CertificateError 4 | match_hostname = ssl.match_hostname 5 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/command/py36compat.pyi: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | class sdist_add_defaults: 4 | if sys.version_info < (3, 7): 5 | def add_defaults(self) -> None: ... 6 | -------------------------------------------------------------------------------- /stdlib/@python2/email/encoders.pyi: -------------------------------------------------------------------------------- 1 | def encode_base64(msg) -> None: ... 2 | def encode_quopri(msg) -> None: ... 3 | def encode_7or8bit(msg) -> None: ... 4 | def encode_noop(msg) -> None: ... 5 | -------------------------------------------------------------------------------- /stdlib/_pydecimal.pyi: -------------------------------------------------------------------------------- 1 | # This is a slight lie, the implementations aren't exactly identical 2 | # However, in all likelihood, the differences are inconsequential 3 | from decimal import * 4 | -------------------------------------------------------------------------------- /stdlib/distutils/cygwinccompiler.pyi: -------------------------------------------------------------------------------- 1 | from distutils.unixccompiler import UnixCCompiler 2 | 3 | class CygwinCCompiler(UnixCCompiler): ... 4 | class Mingw32CCompiler(CygwinCCompiler): ... 5 | -------------------------------------------------------------------------------- /stubs/Markdown/markdown/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .core import Markdown as Markdown, markdown as markdown, markdownFromFile as markdownFromFile 2 | from .extensions import Extension as Extension 3 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/not_found_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class NotFoundError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/dateparser/dateparser/calendars/hijri.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from dateparser.calendars import CalendarBase 4 | 5 | class HijriCalendar(CalendarBase): 6 | parser: Any 7 | -------------------------------------------------------------------------------- /stubs/google-cloud-ndb/google/cloud/ndb/_datastore_api.pyi: -------------------------------------------------------------------------------- 1 | from typing_extensions import Literal 2 | 3 | EVENTUAL: Literal[2] 4 | EVENTUAL_CONSISTENCY: Literal[2] 5 | STRONG: Literal[1] 6 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/treewalkers/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def getTreeWalker(treeType, implementation: Any | None = ..., **kwargs): ... 4 | def pprint(walker): ... 5 | -------------------------------------------------------------------------------- /stubs/pyRFC3339/pyrfc3339/generator.pyi: -------------------------------------------------------------------------------- 1 | from datetime import datetime 2 | 3 | def generate(dt: datetime, utc: bool = ..., accept_naive: bool = ..., microseconds: bool = ...) -> str: ... 4 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/abstract/custom_method.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def custom_method(name, http_verb, http_path: Any | None = ..., is_streaming: bool = ...): ... 4 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/abstract/verify_mixin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class VerifyMixin: 4 | def verify(self, idempotency_key: Any | None = ..., **params): ... 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/invoice_line_item.pyi: -------------------------------------------------------------------------------- 1 | from stripe.stripe_object import StripeObject as StripeObject 2 | 3 | class InvoiceLineItem(StripeObject): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/issuing/card_details.pyi: -------------------------------------------------------------------------------- 1 | from stripe.stripe_object import StripeObject as StripeObject 2 | 3 | class CardDetails(StripeObject): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /tests/stubtest_allowlists/darwin-py38.txt: -------------------------------------------------------------------------------- 1 | _?curses.A_ITALIC 2 | 3 | # Exists at runtime, but missing from stubs 4 | os.POSIX_SPAWN_CLOSE 5 | os.POSIX_SPAWN_DUP2 6 | os.POSIX_SPAWN_OPEN 7 | -------------------------------------------------------------------------------- /stubs/Markdown/markdown/extensions/nl2br.pyi: -------------------------------------------------------------------------------- 1 | from markdown.extensions import Extension 2 | 3 | BR_RE: str 4 | 5 | class Nl2BrExtension(Extension): ... 6 | 7 | def makeExtension(**kwargs): ... 8 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/XVThumbImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import ImageFile 2 | 3 | PALETTE: bytes 4 | 5 | class XVThumbImageFile(ImageFile): 6 | format: str 7 | format_description: str 8 | -------------------------------------------------------------------------------- /stubs/babel/babel/messages/checkers.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def num_plurals(catalog, message) -> None: ... 4 | def python_format(catalog, message) -> None: ... 5 | 6 | checkers: Any 7 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/descriptor.pyi: -------------------------------------------------------------------------------- 1 | from braintree.resource import Resource as Resource 2 | 3 | class Descriptor(Resource): 4 | def __init__(self, gateway, attributes) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/unexpected_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class UnexpectedError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/paypal_here.pyi: -------------------------------------------------------------------------------- 1 | from braintree.resource import Resource as Resource 2 | 3 | class PayPalHere(Resource): 4 | def __init__(self, gateway, attributes) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/treebuilders/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | treeBuilderCache: Any 4 | 5 | def getTreeBuilder(treeType, implementation: Any | None = ..., **kwargs): ... 6 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/treewalkers/genshi.pyi: -------------------------------------------------------------------------------- 1 | from . import base 2 | 3 | class TreeWalker(base.TreeWalker): 4 | def __iter__(self): ... 5 | def tokens(self, event, next) -> None: ... 6 | -------------------------------------------------------------------------------- /stubs/opentracing/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | opentracing.harness.api_check 2 | opentracing.harness.scope_check 3 | opentracing.scope_managers.gevent 4 | opentracing.scope_managers.tornado 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/bitcoin_transaction.pyi: -------------------------------------------------------------------------------- 1 | from stripe.stripe_object import StripeObject as StripeObject 2 | 3 | class BitcoinTransaction(StripeObject): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/recipient_transfer.pyi: -------------------------------------------------------------------------------- 1 | from stripe.stripe_object import StripeObject as StripeObject 2 | 3 | class RecipientTransfer(StripeObject): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/source_transaction.pyi: -------------------------------------------------------------------------------- 1 | from stripe.stripe_object import StripeObject as StripeObject 2 | 3 | class SourceTransaction(StripeObject): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/usage_record_summary.pyi: -------------------------------------------------------------------------------- 1 | from stripe.stripe_object import StripeObject as StripeObject 2 | 3 | class UsageRecordSummary(StripeObject): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/cygwinccompiler.pyi: -------------------------------------------------------------------------------- 1 | from distutils.unixccompiler import UnixCCompiler 2 | 3 | class CygwinCCompiler(UnixCCompiler): ... 4 | class Mingw32CCompiler(CygwinCCompiler): ... 5 | -------------------------------------------------------------------------------- /stdlib/@python2/email/mime/message.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.nonmultipart import MIMENonMultipart 2 | 3 | class MIMEMessage(MIMENonMultipart): 4 | def __init__(self, _msg, _subtype=...) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/authentication_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class AuthenticationError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/authorization_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class AuthorizationError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/parsers/rst/states.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class Inliner: 4 | def __init__(self) -> None: ... 5 | 6 | def __getattr__(name: str) -> Any: ... # incomplete 7 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/command/build_clib.pyi: -------------------------------------------------------------------------------- 1 | import distutils.command.build_clib as orig 2 | 3 | class build_clib(orig.build_clib): 4 | def build_libraries(self, libraries) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/command/saveopts.pyi: -------------------------------------------------------------------------------- 1 | from setuptools.command.setopt import option_base 2 | 3 | class saveopts(option_base): 4 | description: str 5 | def run(self) -> None: ... 6 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/credit_note_line_item.pyi: -------------------------------------------------------------------------------- 1 | from stripe.stripe_object import StripeObject as StripeObject 2 | 3 | class CreditNoteLineItem(StripeObject): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/event.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class Event(ListableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/vobject/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | # implementation has *args and **kwds arguments that can't be used 2 | vobject.base.VBase.__init__ 3 | 4 | # only available on Windows 5 | vobject.win32tz 6 | -------------------------------------------------------------------------------- /stdlib/getpass.pyi: -------------------------------------------------------------------------------- 1 | from typing import TextIO 2 | 3 | def getpass(prompt: str = ..., stream: TextIO | None = ...) -> str: ... 4 | def getuser() -> str: ... 5 | 6 | class GetPassWarning(UserWarning): ... 7 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/GdImageFile.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import ImageFile 2 | 3 | class GdImageFile(ImageFile): 4 | format: str 5 | format_description: str 6 | 7 | def open(fp, mode: str = ...): ... 8 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/PaletteFile.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class PaletteFile: 4 | rawmode: str 5 | palette: Any 6 | def __init__(self, fp) -> None: ... 7 | def getpalette(self): ... 8 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/configuration_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.unexpected_error import UnexpectedError as UnexpectedError 2 | 3 | class ConfigurationError(UnexpectedError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/gateway_timeout_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class GatewayTimeoutError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/http/connection_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.unexpected_error import UnexpectedError as UnexpectedError 2 | 3 | class ConnectionError(UnexpectedError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/invalid_challenge_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class InvalidChallengeError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/invalid_signature_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class InvalidSignatureError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/request_timeout_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class RequestTimeoutError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/too_many_requests_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class TooManyRequestsError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/upgrade_required_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class UpgradeRequiredError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/cryptography/cryptography/hazmat/backends/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def default_backend() -> Any: ... 4 | 5 | # TODO: add some backends 6 | def __getattr__(name: str) -> Any: ... 7 | -------------------------------------------------------------------------------- /stubs/dateparser/dateparser/date_parser.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class DateParser: 4 | def parse(self, date_string, parse_method, settings: Any | None = ...): ... 5 | 6 | date_parser: Any 7 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/balance.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import SingletonAPIResource as SingletonAPIResource 2 | 3 | class Balance(SingletonAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/tax_code.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class TaxCode(ListableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/token.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import CreateableAPIResource as CreateableAPIResource 2 | 3 | class Token(CreateableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stdlib/@python2/email/MIMEText.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.nonmultipart import MIMENonMultipart 2 | 3 | class MIMEText(MIMENonMultipart): 4 | def __init__(self, _text, _subtype=..., _charset=...) -> None: ... 5 | -------------------------------------------------------------------------------- /stdlib/@python2/email/mime/text.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.nonmultipart import MIMENonMultipart 2 | 3 | class MIMEText(MIMENonMultipart): 4 | def __init__(self, _text, _subtype=..., _charset=...) -> None: ... 5 | -------------------------------------------------------------------------------- /stdlib/@python2/getpass.pyi: -------------------------------------------------------------------------------- 1 | from typing import IO, Any 2 | 3 | class GetPassWarning(UserWarning): ... 4 | 5 | def getpass(prompt: str = ..., stream: IO[Any] = ...) -> str: ... 6 | def getuser() -> str: ... 7 | -------------------------------------------------------------------------------- /stdlib/asyncio/compat.pyi: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | if sys.version_info < (3, 7): 4 | PY34: bool 5 | PY35: bool 6 | PY352: bool 7 | def flatten_list_bytes(list_of_data: list[bytes]) -> bytes: ... 8 | -------------------------------------------------------------------------------- /stdlib/msilib/text.pyi: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | if sys.platform == "win32": 4 | 5 | ActionText: list[tuple[str, str, str | None]] 6 | UIText: list[tuple[str, str | None]] 7 | 8 | tables: list[str] 9 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/elasticbeanstalk_plugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | log: Any 4 | CONF_PATH: str 5 | SERVICE_NAME: str 6 | ORIGIN: str 7 | 8 | def initialize() -> None: ... 9 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/service_unavailable_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.braintree_error import BraintreeError as BraintreeError 2 | 3 | class ServiceUnavailableError(BraintreeError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/oauth_access_revocation.pyi: -------------------------------------------------------------------------------- 1 | from braintree.resource import Resource as Resource 2 | 3 | class OAuthAccessRevocation(Resource): 4 | def __init__(self, attributes) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/treebuilders/etree.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | tag_regexp: Any 4 | 5 | def getETreeBuilder(ElementTreeImplementation, fullTree: bool = ...): ... 6 | 7 | getETreeModule: Any 8 | -------------------------------------------------------------------------------- /stubs/pyvmomi/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | pyVmomi.vim 2 | pyVmomi.vim.event 3 | pyVmomi.vim.fault 4 | pyVmomi.vim.option 5 | pyVmomi.vim.view 6 | pyVmomi.vmodl 7 | pyVmomi.vmodl.fault 8 | pyVmomi.vmodl.query 9 | -------------------------------------------------------------------------------- /stubs/pyvmomi/pyVmomi/vmodl/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class DynamicProperty: 4 | def __init__(self, *, name: str = ..., val: Any = ...) -> None: ... 5 | name: str 6 | val: Any 7 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/country_spec.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class CountrySpec(ListableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/order_return.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class OrderReturn(ListableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/vobject/vobject/change_tz.pyi: -------------------------------------------------------------------------------- 1 | def change_tz(cal, new_timezone, default, utc_only: bool = ..., utc_tz=...) -> None: ... 2 | def main() -> None: ... 3 | 4 | version: str 5 | 6 | def get_options(): ... 7 | -------------------------------------------------------------------------------- /stdlib/@python2/email/mime/multipart.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.base import MIMEBase 2 | 3 | class MIMEMultipart(MIMEBase): 4 | def __init__(self, _subtype=..., boundary=..., _subparts=..., **_params) -> None: ... 5 | -------------------------------------------------------------------------------- /stdlib/lib2to3/pgen2/literals.pyi: -------------------------------------------------------------------------------- 1 | from typing import Match 2 | 3 | simple_escapes: dict[str, str] 4 | 5 | def escape(m: Match[str]) -> str: ... 6 | def evalString(s: str) -> str: ... 7 | def test() -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/GimpPaletteFile.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class GimpPaletteFile: 4 | rawmode: str 5 | palette: Any 6 | def __init__(self, fp) -> None: ... 7 | def getpalette(self): ... 8 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .patcher import patch as patch, patch_all as patch_all 2 | from .recorder import AWSXRayRecorder as AWSXRayRecorder 3 | 4 | xray_recorder: AWSXRayRecorder 5 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/http/invalid_response_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.unexpected_error import UnexpectedError as UnexpectedError 2 | 3 | class InvalidResponseError(UnexpectedError): ... 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/local_payment_reversed.pyi: -------------------------------------------------------------------------------- 1 | from braintree.resource import Resource as Resource 2 | 3 | class LocalPaymentReversed(Resource): 4 | def __init__(self, gateway, attributes) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/frozendict/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | frozendict.FrozenOrderedDict 2 | frozendict.frozendict.__hash__ 3 | frozendict.frozendict.__new__ 4 | frozendict.frozendict.__repr__ 5 | frozendict.frozendict.copy 6 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/exchange_rate.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class ExchangeRate(ListableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/setup_attempt.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class SetupAttempt(ListableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stdlib/distutils/spawn.pyi: -------------------------------------------------------------------------------- 1 | def spawn(cmd: list[str], search_path: bool = ..., verbose: bool = ..., dry_run: bool = ...) -> None: ... 2 | def find_executable(executable: str, path: str | None = ...) -> str | None: ... 3 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/models/noop_traceid.pyi: -------------------------------------------------------------------------------- 1 | class NoOpTraceId: 2 | VERSION: str 3 | DELIMITER: str 4 | start_time: str 5 | def __init__(self) -> None: ... 6 | def to_id(self): ... 7 | -------------------------------------------------------------------------------- /stubs/cryptography/cryptography/hazmat/bindings/openssl/binding.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class Binding(object): 4 | ffi: Any | None 5 | lib: Any | None 6 | def init_static_locks(self) -> None: ... 7 | -------------------------------------------------------------------------------- /stubs/docutils/docutils/parsers/null.pyi: -------------------------------------------------------------------------------- 1 | from typing import ClassVar, Tuple 2 | 3 | from docutils import parsers 4 | 5 | class Parser(parsers.Parser): 6 | config_section_dependencies: ClassVar[Tuple[str, ...]] 7 | -------------------------------------------------------------------------------- /stubs/fpdf2/fpdf/deprecation.pyi: -------------------------------------------------------------------------------- 1 | from types import ModuleType 2 | 3 | class WarnOnDeprecatedModuleAttributes(ModuleType): 4 | def __getattr__(self, name): ... 5 | def __setattr__(self, name, value) -> None: ... 6 | -------------------------------------------------------------------------------- /stubs/google-cloud-ndb/google/cloud/ndb/msgprop.pyi: -------------------------------------------------------------------------------- 1 | class EnumProperty: 2 | def __init__(self, *args, **kwargs) -> None: ... 3 | 4 | class MessageProperty: 5 | def __init__(self, *args, **kwargs) -> None: ... 6 | -------------------------------------------------------------------------------- /stubs/oauthlib/oauthlib/openid/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .connect.core.endpoints import Server as Server, UserInfoEndpoint as UserInfoEndpoint 2 | from .connect.core.request_validator import RequestValidator as RequestValidator 3 | -------------------------------------------------------------------------------- /stubs/redis/redis/commands/timeseries/utils.pyi: -------------------------------------------------------------------------------- 1 | def list_to_dict(aList): ... 2 | def parse_range(response): ... 3 | def parse_m_range(response): ... 4 | def parse_get(response): ... 5 | def parse_m_get(response): ... 6 | -------------------------------------------------------------------------------- /stubs/requests/requests/packages/__init__.pyi: -------------------------------------------------------------------------------- 1 | class VendorAlias: 2 | def __init__(self, package_names) -> None: ... 3 | def find_module(self, fullname, path=...): ... 4 | def load_module(self, name): ... 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/account_link.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import CreateableAPIResource as CreateableAPIResource 2 | 3 | class AccountLink(CreateableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/reporting/__init__.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.reporting.report_run import ReportRun as ReportRun 2 | from stripe.api_resources.reporting.report_type import ReportType as ReportType 3 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/reporting/report_type.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class ReportType(ListableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stdlib/@python2/email/mime/audio.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.nonmultipart import MIMENonMultipart 2 | 3 | class MIMEAudio(MIMENonMultipart): 4 | def __init__(self, _audiodata, _subtype=..., _encoder=..., **_params) -> None: ... 5 | -------------------------------------------------------------------------------- /stdlib/@python2/email/mime/image.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.nonmultipart import MIMENonMultipart 2 | 3 | class MIMEImage(MIMENonMultipart): 4 | def __init__(self, _imagedata, _subtype=..., _encoder=..., **_params) -> None: ... 5 | -------------------------------------------------------------------------------- /stdlib/rlcompleter.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class Completer: 4 | def __init__(self, namespace: dict[str, Any] | None = ...) -> None: ... 5 | def complete(self, text: str, state: int) -> str | None: ... 6 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/ImtImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .ImageFile import ImageFile 4 | 5 | field: Any 6 | 7 | class ImtImageFile(ImageFile): 8 | format: str 9 | format_description: str 10 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/successful_result.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class SuccessfulResult(AttributeGetter): 4 | @property 5 | def is_success(self): ... 6 | -------------------------------------------------------------------------------- /stubs/chardet/chardet/langthaimodel.pyi: -------------------------------------------------------------------------------- 1 | from typing import Tuple 2 | 3 | from . import _LangModelType 4 | 5 | TIS620CharToOrderMap: Tuple[int, ...] 6 | ThaiLangModel: Tuple[int, ...] 7 | TIS620ThaiModel: _LangModelType 8 | -------------------------------------------------------------------------------- /stubs/editdistance/editdistance.pyi: -------------------------------------------------------------------------------- 1 | from typing import Hashable, Iterable 2 | 3 | def eval(a: Iterable[Hashable], b: Iterable[Hashable]) -> int: ... 4 | def distance(a: Iterable[Hashable], b: Iterable[Hashable]) -> int: ... 5 | -------------------------------------------------------------------------------- /stubs/protobuf/google/protobuf/internal/message_listener.pyi: -------------------------------------------------------------------------------- 1 | class MessageListener(object): 2 | def Modified(self) -> None: ... 3 | 4 | class NullMessageListener(MessageListener): 5 | def Modified(self) -> None: ... 6 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/support/events.pyi: -------------------------------------------------------------------------------- 1 | from .abstract_event_listener import AbstractEventListener as AbstractEventListener 2 | from .event_firing_webdriver import EventFiringWebDriver as EventFiringWebDriver 3 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/balance_transaction.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class BalanceTransaction(ListableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/billing_portal/session.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import CreateableAPIResource as CreateableAPIResource 2 | 3 | class Session(CreateableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/issuer_fraud_record.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class IssuerFraudRecord(ListableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/XbmImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .ImageFile import ImageFile 4 | 5 | xbm_head: Any 6 | 7 | class XbmImageFile(ImageFile): 8 | format: str 9 | format_description: str 10 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/dispute_details/evidence.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class DisputeEvidence(AttributeGetter): 4 | def __init__(self, attributes) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/filters/base.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class Filter: 4 | source: Any 5 | def __init__(self, source) -> None: ... 6 | def __iter__(self): ... 7 | def __getattr__(self, name): ... 8 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/radar/early_fraud_warning.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class EarlyFraudWarning(ListableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stdlib/@python2/xml/dom/xmlbuilder.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | 5 | class DocumentLS(Any): ... # type: ignore 6 | class DOMImplementationLS(Any): ... # type: ignore 7 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/BufrStubImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import StubImageFile 2 | 3 | def register_handler(handler) -> None: ... 4 | 5 | class BufrStubImageFile(StubImageFile): 6 | format: str 7 | format_description: str 8 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/FitsStubImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import StubImageFile 2 | 3 | def register_handler(handler) -> None: ... 4 | 5 | class FITSStubImageFile(StubImageFile): 6 | format: str 7 | format_description: str 8 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/FliImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import ImageFile 2 | 3 | class FliImageFile(ImageFile): 4 | format: str 5 | format_description: str 6 | def seek(self, frame) -> None: ... 7 | def tell(self): ... 8 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/GribStubImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import StubImageFile 2 | 3 | def register_handler(handler) -> None: ... 4 | 5 | class GribStubImageFile(StubImageFile): 6 | format: str 7 | format_description: str 8 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/Hdf5StubImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import StubImageFile 2 | 3 | def register_handler(handler) -> None: ... 4 | 5 | class HDF5StubImageFile(StubImageFile): 6 | format: str 7 | format_description: str 8 | -------------------------------------------------------------------------------- /stubs/Pygments/pygments/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def lex(code, lexer): ... 4 | def format(tokens, formatter, outfile: Any | None = ...): ... 5 | def highlight(code, lexer, formatter, outfile: Any | None = ...): ... 6 | -------------------------------------------------------------------------------- /stubs/chardet/chardet/langhebrewmodel.pyi: -------------------------------------------------------------------------------- 1 | from typing import Tuple 2 | 3 | from . import _LangModelType 4 | 5 | WIN1255_CHAR_TO_ORDER_MAP: Tuple[int, ...] 6 | HEBREW_LANG_MODEL: Tuple[int, ...] 7 | Win1255HebrewModel: _LangModelType 8 | -------------------------------------------------------------------------------- /stubs/psycopg2/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | psycopg2.connection 2 | psycopg2.cursor 3 | psycopg2.pool.AbstractConnectionPool.closeall 4 | psycopg2.pool.AbstractConnectionPool.getconn 5 | psycopg2.pool.AbstractConnectionPool.putconn 6 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/billing_portal/__init__.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.billing_portal.configuration import Configuration as Configuration 2 | from stripe.api_resources.billing_portal.session import Session as Session 3 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/identity/verification_report.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class VerificationReport(ListableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/terminal/connection_token.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import CreateableAPIResource as CreateableAPIResource 2 | 3 | class ConnectionToken(CreateableAPIResource): 4 | OBJECT_NAME: str 5 | -------------------------------------------------------------------------------- /tests/stubtest_allowlists/darwin-py37.txt: -------------------------------------------------------------------------------- 1 | _?curses.A_ITALIC 2 | ctypes.wintypes 3 | ftplib.FTP.trust_server_pasv_ipv4_address # Dangerous to use, intentionally undocumented, intentionally missing from typeshed. #6154 4 | pwd.getpwnam 5 | -------------------------------------------------------------------------------- /stdlib/@python2/lib2to3/pgen2/literals.pyi: -------------------------------------------------------------------------------- 1 | from typing import Dict, Match, Text 2 | 3 | simple_escapes: Dict[Text, Text] 4 | 5 | def escape(m: Match[str]) -> Text: ... 6 | def evalString(s: Text) -> Text: ... 7 | def test() -> None: ... 8 | -------------------------------------------------------------------------------- /stdlib/asyncio/selector_events.pyi: -------------------------------------------------------------------------------- 1 | import selectors 2 | 3 | from . import base_events 4 | 5 | class BaseSelectorEventLoop(base_events.BaseEventLoop): 6 | def __init__(self, selector: selectors.BaseSelector | None = ...) -> None: ... 7 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/models/traceid.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class TraceId: 4 | VERSION: str 5 | DELIMITER: str 6 | start_time: Any 7 | def __init__(self) -> None: ... 8 | def to_id(self): ... 9 | -------------------------------------------------------------------------------- /stubs/chardet/chardet/langturkishmodel.pyi: -------------------------------------------------------------------------------- 1 | from typing import Tuple 2 | 3 | from . import _LangModelType 4 | 5 | Latin5_TurkishCharToOrderMap: Tuple[int, ...] 6 | TurkishLangModel: Tuple[int, ...] 7 | Latin5TurkishModel: _LangModelType 8 | -------------------------------------------------------------------------------- /stubs/mysqlclient/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | MySQLdb.Connection 2 | MySQLdb.connections 3 | MySQLdb.constants.CLIENT 4 | MySQLdb.constants.CR 5 | MySQLdb.constants.ER 6 | MySQLdb.constants.FLAG 7 | MySQLdb.converters 8 | MySQLdb.cursors 9 | -------------------------------------------------------------------------------- /stdlib/@python2/CGIHTTPServer.pyi: -------------------------------------------------------------------------------- 1 | import SimpleHTTPServer 2 | from typing import List 3 | 4 | class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): 5 | cgi_directories: List[str] 6 | def do_POST(self) -> None: ... 7 | -------------------------------------------------------------------------------- /stdlib/asyncio/threads.pyi: -------------------------------------------------------------------------------- 1 | import sys 2 | from typing import Any, Callable, TypeVar 3 | 4 | _T = TypeVar("_T") 5 | 6 | if sys.version_info >= (3, 9): 7 | async def to_thread(__func: Callable[..., _T], *args: Any, **kwargs: Any) -> _T: ... 8 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/PcxImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .ImageFile import ImageFile 4 | 5 | logger: Any 6 | 7 | class PcxImageFile(ImageFile): 8 | format: str 9 | format_description: str 10 | 11 | SAVE: Any 12 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/TgaImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .ImageFile import ImageFile 4 | 5 | MODES: Any 6 | 7 | class TgaImageFile(ImageFile): 8 | format: str 9 | format_description: str 10 | 11 | SAVE: Any 12 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/target_poller.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | log: Any 4 | 5 | class TargetPoller: 6 | def __init__(self, cache, rule_poller, connector) -> None: ... 7 | def start(self) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/dispute_details/paypal_message.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class DisputePayPalMessage(AttributeGetter): 4 | def __init__(self, attributes) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/dispute_details/status_history.pyi: -------------------------------------------------------------------------------- 1 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 2 | 3 | class DisputeStatusHistory(AttributeGetter): 4 | def __init__(self, attributes) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/cachetools/cachetools/keys.pyi: -------------------------------------------------------------------------------- 1 | from typing import Hashable, Tuple 2 | 3 | def hashkey(*args: Hashable, **kwargs: Hashable) -> Tuple[Hashable, ...]: ... 4 | def typedkey(*args: Hashable, **kwargs: Hashable) -> Tuple[Hashable, ...]: ... 5 | -------------------------------------------------------------------------------- /stubs/redis/redis/commands/helpers.pyi: -------------------------------------------------------------------------------- 1 | def list_or_args(keys, args): ... 2 | def nativestr(x): ... 3 | def delist(x): ... 4 | def parse_to_list(response): ... 5 | def random_string(length: int = ...) -> str: ... 6 | def quote_string(v): ... 7 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/abstract/deletable_api_resource.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract.api_resource import APIResource as APIResource 2 | 3 | class DeletableAPIResource(APIResource): 4 | def delete(self, **params): ... 5 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/bdist_msi.pyi: -------------------------------------------------------------------------------- 1 | from distutils.cmd import Command 2 | 3 | class bdist_msi(Command): 4 | def initialize_options(self) -> None: ... 5 | def finalize_options(self) -> None: ... 6 | def run(self) -> None: ... 7 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/command/build_py.pyi: -------------------------------------------------------------------------------- 1 | from distutils.cmd import Command 2 | 3 | class build_py(Command): 4 | def initialize_options(self) -> None: ... 5 | def finalize_options(self) -> None: ... 6 | def run(self) -> None: ... 7 | -------------------------------------------------------------------------------- /stdlib/@python2/encodings/__init__.pyi: -------------------------------------------------------------------------------- 1 | import codecs 2 | from typing import Any 3 | 4 | def search_function(encoding: str) -> codecs.CodecInfo: ... 5 | 6 | # Explicitly mark this package as incomplete. 7 | def __getattr__(name: str) -> Any: ... 8 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/MspImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import ImageFile, PyDecoder 2 | 3 | class MspImageFile(ImageFile): 4 | format: str 5 | format_description: str 6 | 7 | class MspDecoder(PyDecoder): 8 | def decode(self, buffer): ... 9 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/PpmImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .ImageFile import ImageFile 4 | 5 | b_whitespace: bytes 6 | MODES: Any 7 | 8 | class PpmImageFile(ImageFile): 9 | format: str 10 | format_description: str 11 | -------------------------------------------------------------------------------- /stubs/PyMySQL/pymysql/times.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | Date: Any 4 | Time: Any 5 | TimeDelta: Any 6 | Timestamp: Any 7 | 8 | def DateFromTicks(ticks): ... 9 | def TimeFromTicks(ticks): ... 10 | def TimestampFromTicks(ticks): ... 11 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/modification.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.resource import Resource as Resource 4 | 5 | class Modification(Resource): 6 | amount: Any 7 | def __init__(self, gateway, attributes) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/status_event.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.resource import Resource as Resource 4 | 5 | class StatusEvent(Resource): 6 | amount: Any 7 | def __init__(self, gateway, attributes) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/commonmark/commonmark/render/renderer.pyi: -------------------------------------------------------------------------------- 1 | class Renderer: 2 | buf: str 3 | last_out: str 4 | def render(self, ast): ... 5 | def lit(self, s) -> None: ... 6 | def cr(self) -> None: ... 7 | def out(self, s) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/dateparser/dateparser/utils/strptime.pyi: -------------------------------------------------------------------------------- 1 | from datetime import datetime 2 | from typing import Any 3 | 4 | TIME_MATCHER: Any 5 | MS_SEARCHER: Any 6 | 7 | def patch_strptime() -> Any: ... 8 | def strptime(date_string, format) -> datetime: ... 9 | -------------------------------------------------------------------------------- /stubs/httplib2/httplib2/certs.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | certifi_available: bool 4 | certifi_where: Any 5 | custom_ca_locater_available: bool 6 | custom_ca_locater_where: Any 7 | BUILTIN_CA_CERTS: Any 8 | 9 | def where(): ... 10 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/common/by.pyi: -------------------------------------------------------------------------------- 1 | class By: 2 | ID: str 3 | XPATH: str 4 | LINK_TEXT: str 5 | PARTIAL_LINK_TEXT: str 6 | NAME: str 7 | TAG_NAME: str 8 | CLASS_NAME: str 9 | CSS_SELECTOR: str 10 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/remote/utils.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | LOGGER: Any 4 | 5 | def format_json(json_struct): ... 6 | def dump_json(json_struct): ... 7 | def load_json(s): ... 8 | def unzip_to_temp_dir(zip_file_name): ... 9 | -------------------------------------------------------------------------------- /stdlib/@python2/_json.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, Tuple 2 | 3 | def encode_basestring_ascii(*args, **kwargs) -> str: ... 4 | def scanstring(a, b, *args, **kwargs) -> Tuple[Any, ...]: ... 5 | 6 | class Encoder(object): ... 7 | class Scanner(object): ... 8 | -------------------------------------------------------------------------------- /stdlib/@python2/sndhdr.pyi: -------------------------------------------------------------------------------- 1 | from typing import Text, Tuple, Union 2 | 3 | _SndHeaders = Tuple[str, int, int, int, Union[int, str]] 4 | 5 | def what(filename: Text) -> _SndHeaders | None: ... 6 | def whathdr(filename: Text) -> _SndHeaders | None: ... 7 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/GbrImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .ImageFile import ImageFile 4 | 5 | class GbrImageFile(ImageFile): 6 | format: str 7 | format_description: str 8 | im: Any 9 | def load(self) -> None: ... 10 | -------------------------------------------------------------------------------- /stubs/Pygments/pygments/console.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | esc: str 4 | codes: Any 5 | dark_colors: Any 6 | light_colors: Any 7 | 8 | def reset_color(): ... 9 | def colorize(color_key, text): ... 10 | def ansiformat(attr, text): ... 11 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/add_on.pyi: -------------------------------------------------------------------------------- 1 | from braintree.configuration import Configuration as Configuration 2 | from braintree.modification import Modification as Modification 3 | 4 | class AddOn(Modification): 5 | @staticmethod 6 | def all(): ... 7 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/paginated_result.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class PaginatedResult: 4 | total_items: Any 5 | page_size: Any 6 | current_page: Any 7 | def __init__(self, total_items, page_size, current_page) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/venmo_account.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.resource import Resource as Resource 4 | 5 | class VenmoAccount(Resource): 6 | subscriptions: Any 7 | def __init__(self, gateway, attributes) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/filters/inject_meta_charset.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from . import base 4 | 5 | class Filter(base.Filter): 6 | encoding: Any 7 | def __init__(self, source, encoding) -> None: ... 8 | def __iter__(self): ... 9 | -------------------------------------------------------------------------------- /stubs/pyvmomi/pyVmomi/vim/fault.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | 5 | class InvalidName(Exception): ... 6 | class RestrictedByAdministrator(Exception): ... 7 | class NoPermission(Exception): ... 8 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/request_metrics.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class RequestMetrics: 4 | request_id: Any 5 | request_duration_ms: Any 6 | def __init__(self, request_id, request_duration_ms) -> None: ... 7 | def payload(self): ... 8 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/spawn.pyi: -------------------------------------------------------------------------------- 1 | from typing import List 2 | 3 | def spawn(cmd: List[str], search_path: bool = ..., verbose: bool = ..., dry_run: bool = ...) -> None: ... 4 | def find_executable(executable: str, path: str | None = ...) -> str | None: ... 5 | -------------------------------------------------------------------------------- /stdlib/@python2/msilib/text.pyi: -------------------------------------------------------------------------------- 1 | import sys 2 | from typing import List, Tuple 3 | 4 | if sys.platform == "win32": 5 | 6 | ActionText: List[Tuple[str, str, str | None]] 7 | UIText: List[Tuple[str, str | None]] 8 | 9 | tables: List[str] 10 | -------------------------------------------------------------------------------- /stdlib/distutils/dep_util.pyi: -------------------------------------------------------------------------------- 1 | def newer(source: str, target: str) -> bool: ... 2 | def newer_pairwise(sources: list[str], targets: list[str]) -> list[tuple[str, str]]: ... 3 | def newer_group(sources: list[str], target: str, missing: str = ...) -> bool: ... 4 | -------------------------------------------------------------------------------- /stdlib/email/encoders.pyi: -------------------------------------------------------------------------------- 1 | from email.message import Message 2 | 3 | def encode_base64(msg: Message) -> None: ... 4 | def encode_quopri(msg: Message) -> None: ... 5 | def encode_7or8bit(msg: Message) -> None: ... 6 | def encode_noop(msg: Message) -> None: ... 7 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/ImageStat.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class Stat: 4 | h: Any 5 | bands: Any 6 | def __init__(self, image_or_list, mask: Any | None = ...) -> None: ... 7 | def __getattr__(self, id): ... 8 | 9 | Global = Stat 10 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/PcdImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .ImageFile import ImageFile 4 | 5 | class PcdImageFile(ImageFile): 6 | format: str 7 | format_description: str 8 | im: Any 9 | def load_end(self) -> None: ... 10 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/discount.pyi: -------------------------------------------------------------------------------- 1 | from braintree.configuration import Configuration as Configuration 2 | from braintree.modification import Modification as Modification 3 | 4 | class Discount(Modification): 5 | @staticmethod 6 | def all(): ... 7 | -------------------------------------------------------------------------------- /stubs/emoji/emoji/unicode_codes/en.pyi: -------------------------------------------------------------------------------- 1 | from typing import Text 2 | 3 | EMOJI_ALIAS_UNICODE_ENGLISH: dict[Text, Text] 4 | EMOJI_UNICODE_ENGLISH: dict[Text, Text] 5 | UNICODE_EMOJI_ENGLISH: dict[Text, Text] 6 | UNICODE_EMOJI_ALIAS_ENGLISH: dict[Text, Text] 7 | -------------------------------------------------------------------------------- /stubs/humanfriendly/humanfriendly/usage.pyi: -------------------------------------------------------------------------------- 1 | USAGE_MARKER: str 2 | 3 | def format_usage(usage_text): ... 4 | def find_meta_variables(usage_text): ... 5 | def parse_usage(text): ... 6 | def render_usage(text): ... 7 | def inject_usage(module_name) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/BdfFontFile.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .FontFile import FontFile 4 | 5 | bdf_slant: Any 6 | bdf_spacing: Any 7 | 8 | def bdf_char(f): ... 9 | 10 | class BdfFontFile(FontFile): 11 | def __init__(self, fp) -> None: ... 12 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/utils.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from ..exceptions.exceptions import MissingPluginNames as MissingPluginNames 4 | 5 | module_prefix: str 6 | PLUGIN_MAPPING: Any 7 | 8 | def get_plugin_modules(plugins): ... 9 | -------------------------------------------------------------------------------- /stubs/dateparser/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | dateparser.calendars.hijri 2 | dateparser.calendars.hijri_parser 3 | dateparser.calendars.jalali 4 | dateparser.calendars.jalali_parser 5 | dateparser.search.detection.BaseLanguageDetector.iterate_applicable_languages 6 | -------------------------------------------------------------------------------- /stubs/jmespath/jmespath/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from jmespath import parser as parser 4 | from jmespath.visitor import Options as Options 5 | 6 | def compile(expression): ... 7 | def search(expression, data, options: Any | None = ...): ... 8 | -------------------------------------------------------------------------------- /stubs/oauthlib/oauthlib/oauth1/rfc5849/endpoints/base.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class BaseEndpoint: 4 | request_validator: Any 5 | token_generator: Any 6 | def __init__(self, request_validator, token_generator: Any | None = ...) -> None: ... 7 | -------------------------------------------------------------------------------- /tests/pyright_exclude_list.txt: -------------------------------------------------------------------------------- 1 | Pyright is configured using a "pyrightconfig.json" file. You will find 2 | it at the root of the repo. It contains an "exclude" section that accepts 3 | globs for specifying which files and/or directories to exclude from analysis. 4 | -------------------------------------------------------------------------------- /stdlib/keyword.pyi: -------------------------------------------------------------------------------- 1 | import sys 2 | from typing import Sequence 3 | 4 | def iskeyword(s: str) -> bool: ... 5 | 6 | kwlist: Sequence[str] 7 | 8 | if sys.version_info >= (3, 9): 9 | def issoftkeyword(s: str) -> bool: ... 10 | softkwlist: Sequence[str] 11 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/FpxImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .ImageFile import ImageFile 4 | 5 | MODES: Any 6 | 7 | class FpxImageFile(ImageFile): 8 | format: str 9 | format_description: str 10 | fp: Any 11 | def load(self): ... 12 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/XpmImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .ImageFile import ImageFile 4 | 5 | xpm_head: Any 6 | 7 | class XpmImageFile(ImageFile): 8 | format: str 9 | format_description: str 10 | def load_read(self, bytes): ... 11 | -------------------------------------------------------------------------------- /stubs/Pygments/pygments/regexopt.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | CS_ESCAPE: Any 4 | FIRST_ELEMENT: Any 5 | 6 | def make_charset(letters): ... 7 | def regex_opt_inner(strings, open_paren): ... 8 | def regex_opt(strings, prefix: str = ..., suffix: str = ...): ... 9 | -------------------------------------------------------------------------------- /stubs/google-cloud-ndb/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | # inconsistency of signatures between stub and implementation (cls vs self) 2 | google.cloud.ndb.ModelAdapter.__new__ 3 | google.cloud.ndb.metadata.EntityGroup.__new__ 4 | google.cloud.ndb.model.ModelAdapter.__new__ 5 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/identity/__init__.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.identity.verification_report import VerificationReport as VerificationReport 2 | from stripe.api_resources.identity.verification_session import VerificationSession as VerificationSession 3 | -------------------------------------------------------------------------------- /stdlib/_markupbase.pyi: -------------------------------------------------------------------------------- 1 | class ParserBase: 2 | def __init__(self) -> None: ... 3 | def error(self, message: str) -> None: ... 4 | def reset(self) -> None: ... 5 | def getpos(self) -> tuple[int, int]: ... 6 | def unknown_decl(self, data: str) -> None: ... 7 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/ach_mandate.pyi: -------------------------------------------------------------------------------- 1 | from braintree.resource import Resource as Resource 2 | from braintree.util.datetime_parser import parse_datetime as parse_datetime 3 | 4 | class AchMandate(Resource): 5 | def __init__(self, gateway, attributes) -> None: ... 6 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/util/generator.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | integer_types = int 4 | text_type = str 5 | binary_type = bytes 6 | 7 | class Generator: 8 | dict: Any 9 | def __init__(self, dict) -> None: ... 10 | def generate(self): ... 11 | -------------------------------------------------------------------------------- /stubs/caldav/caldav/elements/ical.pyi: -------------------------------------------------------------------------------- 1 | from typing import ClassVar 2 | 3 | from .base import ValuedBaseElement 4 | 5 | class CalendarColor(ValuedBaseElement): 6 | tag: ClassVar[str] 7 | 8 | class CalendarOrder(ValuedBaseElement): 9 | tag: ClassVar[str] 10 | -------------------------------------------------------------------------------- /stubs/httplib2/httplib2/iri2uri.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | __author__: str 4 | __copyright__: str 5 | __contributors__: list[str] 6 | __version__: str 7 | __license__: str 8 | 9 | escape_range: Any 10 | 11 | def encode(c): ... 12 | def iri2uri(uri): ... 13 | -------------------------------------------------------------------------------- /stubs/six/six/moves/urllib/__init__.pyi: -------------------------------------------------------------------------------- 1 | import six.moves.urllib.error as error 2 | import six.moves.urllib.parse as parse 3 | import six.moves.urllib.request as request 4 | import six.moves.urllib.response as response 5 | import six.moves.urllib.robotparser as robotparser 6 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/three_d_secure.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import CreateableAPIResource as CreateableAPIResource 2 | 3 | class ThreeDSecure(CreateableAPIResource): 4 | OBJECT_NAME: str 5 | @classmethod 6 | def class_url(cls): ... 7 | -------------------------------------------------------------------------------- /stdlib/@python2/future_builtins.pyi: -------------------------------------------------------------------------------- 1 | from itertools import ifilter, imap, izip 2 | from typing import Any 3 | 4 | filter = ifilter 5 | map = imap 6 | zip = izip 7 | 8 | def ascii(obj: Any) -> str: ... 9 | def hex(x: int) -> str: ... 10 | def oct(x: int) -> str: ... 11 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/Jpeg2KImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .ImageFile import ImageFile 4 | 5 | class Jpeg2KImageFile(ImageFile): 6 | format: str 7 | format_description: str 8 | reduce: Any 9 | tile: Any 10 | def load(self): ... 11 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/models/default_dynamic_naming.pyi: -------------------------------------------------------------------------------- 1 | from ..utils.search_pattern import wildcard_match as wildcard_match 2 | 3 | class DefaultDynamicNaming: 4 | def __init__(self, pattern, fallback) -> None: ... 5 | def get_name(self, host_name): ... 6 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/utils/compat.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | PY2: Any 4 | PY35: Any 5 | annotation_value_types: Any 6 | string_types = str 7 | 8 | def is_classmethod(func): ... 9 | def is_instance_method(parent_class, func_name, func): ... 10 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/transaction_details.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 4 | 5 | class TransactionDetails(AttributeGetter): 6 | amount: Any 7 | def __init__(self, attributes) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/futures/@python2/concurrent/futures/process.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, Optional 2 | 3 | from ._base import Executor 4 | 5 | EXTRA_QUEUED_CALLS: Any 6 | 7 | class ProcessPoolExecutor(Executor): 8 | def __init__(self, max_workers: Optional[int] = ...) -> None: ... 9 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/filters/lint.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from . import base 4 | 5 | class Filter(base.Filter): 6 | require_matching_tags: Any 7 | def __init__(self, source, require_matching_tags: bool = ...) -> None: ... 8 | def __iter__(self): ... 9 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/filters/whitespace.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from . import base 4 | 5 | SPACES_REGEX: Any 6 | 7 | class Filter(base.Filter): 8 | spacePreserveElements: Any 9 | def __iter__(self): ... 10 | 11 | def collapse_spaces(text): ... 12 | -------------------------------------------------------------------------------- /stubs/oauthlib/oauthlib/oauth2/rfc6749/utils.pyi: -------------------------------------------------------------------------------- 1 | def list_to_scope(scope): ... 2 | def scope_to_list(scope): ... 3 | def params_from_uri(uri): ... 4 | def host_from_uri(uri): ... 5 | def escape(u): ... 6 | def generate_age(issue_time): ... 7 | def is_secure_transport(uri): ... 8 | -------------------------------------------------------------------------------- /stubs/pyvmomi/pyVmomi/vim/option.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def __getattr__(name: str) -> Any: ... # incomplete 4 | 5 | class OptionManager: 6 | def QueryOptions(self, name: str) -> list[OptionValue]: ... 7 | 8 | class OptionValue: 9 | value: Any 10 | -------------------------------------------------------------------------------- /stubs/requests/requests/packages/urllib3/util/connection.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | poll: Any 4 | select: Any 5 | HAS_IPV6: bool 6 | 7 | def is_connection_dropped(conn): ... 8 | def create_connection(address, timeout=..., source_address=..., socket_options=...): ... 9 | -------------------------------------------------------------------------------- /stdlib/@python2/rlcompleter.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, Dict, Union 2 | 3 | _Text = Union[str, unicode] 4 | 5 | class Completer: 6 | def __init__(self, namespace: Dict[str, Any] | None = ...) -> None: ... 7 | def complete(self, text: _Text, state: int) -> str | None: ... 8 | -------------------------------------------------------------------------------- /stdlib/pyexpat/model.pyi: -------------------------------------------------------------------------------- 1 | XML_CTYPE_ANY: int 2 | XML_CTYPE_CHOICE: int 3 | XML_CTYPE_EMPTY: int 4 | XML_CTYPE_MIXED: int 5 | XML_CTYPE_NAME: int 6 | XML_CTYPE_SEQ: int 7 | 8 | XML_CQUANT_NONE: int 9 | XML_CQUANT_OPT: int 10 | XML_CQUANT_PLUS: int 11 | XML_CQUANT_REP: int 12 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/ImageMode.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class ModeDescriptor: 4 | mode: Any 5 | bands: Any 6 | basemode: Any 7 | basetype: Any 8 | def __init__(self, mode, bands, basemode, basetype) -> None: ... 9 | 10 | def getmode(mode): ... 11 | -------------------------------------------------------------------------------- /stubs/bleach/bleach/callbacks.pyi: -------------------------------------------------------------------------------- 1 | from collections.abc import MutableMapping 2 | from typing import Any 3 | 4 | _Attrs = MutableMapping[Any, str] 5 | 6 | def nofollow(attrs: _Attrs, new: bool = ...) -> _Attrs: ... 7 | def target_blank(attrs: _Attrs, new: bool = ...) -> _Attrs: ... 8 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/webhook_testing.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.configuration import Configuration as Configuration 4 | 5 | class WebhookTesting: 6 | @staticmethod 7 | def sample_notification(kind, id, source_merchant_id: Any | None = ...): ... 8 | -------------------------------------------------------------------------------- /stubs/colorama/colorama/__init__.pyi: -------------------------------------------------------------------------------- 1 | from .ansi import Back as Back, Cursor as Cursor, Fore as Fore, Style as Style 2 | from .ansitowin32 import AnsiToWin32 as AnsiToWin32 3 | from .initialise import colorama_text as colorama_text, deinit as deinit, init as init, reinit as reinit 4 | -------------------------------------------------------------------------------- /stubs/python-dateutil/dateutil/easter.pyi: -------------------------------------------------------------------------------- 1 | from datetime import date 2 | from typing_extensions import Literal 3 | 4 | EASTER_JULIAN: Literal[1] 5 | EASTER_ORTHODOX: Literal[2] 6 | EASTER_WESTERN: Literal[3] 7 | 8 | def easter(year: int, method: Literal[1, 2, 3] = ...) -> date: ... 9 | -------------------------------------------------------------------------------- /stubs/six/@python2/six/moves/urllib/__init__.pyi: -------------------------------------------------------------------------------- 1 | import six.moves.urllib.error as error 2 | import six.moves.urllib.parse as parse 3 | import six.moves.urllib.request as request 4 | import six.moves.urllib.response as response 5 | import six.moves.urllib.robotparser as robotparser 6 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/sigma/scheduled_query_run.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.abstract import ListableAPIResource as ListableAPIResource 2 | 3 | class ScheduledQueryRun(ListableAPIResource): 4 | OBJECT_NAME: str 5 | @classmethod 6 | def class_url(cls): ... 7 | -------------------------------------------------------------------------------- /stubs/ttkthemes/ttkthemes/__init__.pyi: -------------------------------------------------------------------------------- 1 | from collections.abc import Sequence 2 | 3 | from ttkthemes.themed_style import ThemedStyle as ThemedStyle 4 | from ttkthemes.themed_tk import ThemedTk as ThemedTk 5 | 6 | # actually a list, but shouldn't be modified 7 | THEMES: Sequence[str] 8 | -------------------------------------------------------------------------------- /stdlib/@python2/robotparser.pyi: -------------------------------------------------------------------------------- 1 | class RobotFileParser: 2 | def set_url(self, url: str): ... 3 | def read(self): ... 4 | def parse(self, lines: str): ... 5 | def can_fetch(self, user_agent: str, url: str): ... 6 | def mtime(self): ... 7 | def modified(self): ... 8 | -------------------------------------------------------------------------------- /stdlib/fnmatch.pyi: -------------------------------------------------------------------------------- 1 | from typing import AnyStr, Iterable 2 | 3 | def fnmatch(name: AnyStr, pat: AnyStr) -> bool: ... 4 | def fnmatchcase(name: AnyStr, pat: AnyStr) -> bool: ... 5 | def filter(names: Iterable[AnyStr], pat: AnyStr) -> list[AnyStr]: ... 6 | def translate(pat: str) -> str: ... 7 | -------------------------------------------------------------------------------- /stubs/Markdown/markdown/extensions/extra.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from markdown.extensions import Extension 4 | 5 | extensions: Any 6 | 7 | class ExtraExtension(Extension): 8 | def __init__(self, **kwargs) -> None: ... 9 | 10 | def makeExtension(**kwargs): ... 11 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/local/reservoir.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class Reservoir: 4 | traces_per_sec: Any 5 | used_this_sec: int 6 | this_sec: Any 7 | def __init__(self, traces_per_sec: int = ...) -> None: ... 8 | def take(self): ... 9 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/authorization_adjustment.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 4 | 5 | class AuthorizationAdjustment(AttributeGetter): 6 | amount: Any 7 | def __init__(self, attributes) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/exceptions/http/timeout_error.pyi: -------------------------------------------------------------------------------- 1 | from braintree.exceptions.unexpected_error import UnexpectedError as UnexpectedError 2 | 3 | class TimeoutError(UnexpectedError): ... 4 | class ConnectTimeoutError(TimeoutError): ... 5 | class ReadTimeoutError(TimeoutError): ... 6 | -------------------------------------------------------------------------------- /stubs/jsonschema/jsonschema/_reflect.pyi: -------------------------------------------------------------------------------- 1 | class _NoModuleFound(Exception): ... 2 | class InvalidName(ValueError): ... 3 | class ModuleNotFound(InvalidName): ... 4 | class ObjectNotFound(InvalidName): ... 5 | 6 | def reraise(exception, traceback) -> None: ... 7 | def namedAny(name): ... 8 | -------------------------------------------------------------------------------- /stdlib/@python2/ensurepip/__init__.pyi: -------------------------------------------------------------------------------- 1 | def version() -> str: ... 2 | def bootstrap( 3 | root: str | None = ..., 4 | upgrade: bool = ..., 5 | user: bool = ..., 6 | altinstall: bool = ..., 7 | default_pip: bool = ..., 8 | verbosity: int = ..., 9 | ) -> None: ... 10 | -------------------------------------------------------------------------------- /stdlib/@python2/pyexpat/model.pyi: -------------------------------------------------------------------------------- 1 | XML_CTYPE_ANY: int 2 | XML_CTYPE_CHOICE: int 3 | XML_CTYPE_EMPTY: int 4 | XML_CTYPE_MIXED: int 5 | XML_CTYPE_NAME: int 6 | XML_CTYPE_SEQ: int 7 | 8 | XML_CQUANT_NONE: int 9 | XML_CQUANT_OPT: int 10 | XML_CQUANT_PLUS: int 11 | XML_CQUANT_REP: int 12 | -------------------------------------------------------------------------------- /stdlib/email/mime/text.pyi: -------------------------------------------------------------------------------- 1 | from email.mime.nonmultipart import MIMENonMultipart 2 | from email.policy import Policy 3 | 4 | class MIMEText(MIMENonMultipart): 5 | def __init__(self, _text: str, _subtype: str = ..., _charset: str | None = ..., *, policy: Policy | None = ...) -> None: ... 6 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/FtexImagePlugin.pyi: -------------------------------------------------------------------------------- 1 | from .ImageFile import ImageFile 2 | 3 | MAGIC: bytes 4 | FORMAT_DXT1: int 5 | FORMAT_UNCOMPRESSED: int 6 | 7 | class FtexImageFile(ImageFile): 8 | format: str 9 | format_description: str 10 | def load_seek(self, pos) -> None: ... 11 | -------------------------------------------------------------------------------- /stubs/boto/boto/plugin.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class Plugin: 4 | capability: Any 5 | @classmethod 6 | def is_capable(cls, requested_capability): ... 7 | 8 | def get_plugin(cls, requested_capability: Any | None = ...): ... 9 | def load_plugins(config): ... 10 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/merchant_account/address_details.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 4 | 5 | class AddressDetails(AttributeGetter): 6 | detail_list: Any 7 | def __init__(self, attributes) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/merchant_account/funding_details.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.attribute_getter import AttributeGetter as AttributeGetter 4 | 5 | class FundingDetails(AttributeGetter): 6 | detail_list: Any 7 | def __init__(self, attributes) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/subscription_status_event.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.resource import Resource as Resource 4 | 5 | class SubscriptionStatusEvent(Resource): 6 | balance: Any 7 | price: Any 8 | def __init__(self, gateway, attributes) -> None: ... 9 | -------------------------------------------------------------------------------- /stubs/dateparser/dateparser/languages/validation.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class LanguageValidator: 4 | logger: Any 5 | VALID_KEYS: Any 6 | @classmethod 7 | def get_logger(cls): ... 8 | @classmethod 9 | def validate_info(cls, language_id, info): ... 10 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/filters/optionaltags.pyi: -------------------------------------------------------------------------------- 1 | from . import base 2 | 3 | class Filter(base.Filter): 4 | def slider(self) -> None: ... 5 | def __iter__(self): ... 6 | def is_optional_start(self, tagname, previous, next): ... 7 | def is_optional_end(self, tagname, next): ... 8 | -------------------------------------------------------------------------------- /stubs/oauthlib/oauthlib/oauth1/rfc5849/parameters.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def prepare_headers(oauth_params, headers: Any | None = ..., realm: Any | None = ...): ... 4 | def prepare_form_encoded_body(oauth_params, body): ... 5 | def prepare_request_uri_query(oauth_params, uri): ... 6 | -------------------------------------------------------------------------------- /stubs/opentracing/opentracing/propagation.pyi: -------------------------------------------------------------------------------- 1 | class UnsupportedFormatException(Exception): ... 2 | class InvalidCarrierException(Exception): ... 3 | class SpanContextCorruptedException(Exception): ... 4 | 5 | class Format: 6 | BINARY: str 7 | TEXT_MAP: str 8 | HTTP_HEADERS: str 9 | -------------------------------------------------------------------------------- /stubs/vobject/vobject/hcalendar.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .icalendar import VCalendar2_0 4 | 5 | class HCalendar(VCalendar2_0): 6 | name: str 7 | @classmethod 8 | def serialize(cls, obj, buf: Any | None = ..., lineLength: Any | None = ..., validate: bool = ...): ... 9 | -------------------------------------------------------------------------------- /stdlib/email/iterators.pyi: -------------------------------------------------------------------------------- 1 | from email.message import Message 2 | from typing import Iterator 3 | 4 | def body_line_iterator(msg: Message, decode: bool = ...) -> Iterator[str]: ... 5 | def typed_subpart_iterator(msg: Message, maintype: str = ..., subtype: str | None = ...) -> Iterator[str]: ... 6 | -------------------------------------------------------------------------------- /stdlib/ensurepip/__init__.pyi: -------------------------------------------------------------------------------- 1 | def version() -> str: ... 2 | def bootstrap( 3 | *, 4 | root: str | None = ..., 5 | upgrade: bool = ..., 6 | user: bool = ..., 7 | altinstall: bool = ..., 8 | default_pip: bool = ..., 9 | verbosity: int = ..., 10 | ) -> None: ... 11 | -------------------------------------------------------------------------------- /stdlib/marshal.pyi: -------------------------------------------------------------------------------- 1 | from typing import IO, Any 2 | 3 | version: int 4 | 5 | def dump(__value: Any, __file: IO[Any], __version: int = ...) -> None: ... 6 | def load(__file: IO[Any]) -> Any: ... 7 | def dumps(__value: Any, __version: int = ...) -> bytes: ... 8 | def loads(__bytes: bytes) -> Any: ... 9 | -------------------------------------------------------------------------------- /stubs/Markdown/markdown/extensions/md_in_html.pyi: -------------------------------------------------------------------------------- 1 | from markdown.blockprocessors import BlockProcessor 2 | from markdown.extensions import Extension 3 | 4 | class MarkdownInHtmlProcessor(BlockProcessor): ... 5 | class MarkdownInHtmlExtension(Extension): ... 6 | 7 | def makeExtension(**kwargs): ... 8 | -------------------------------------------------------------------------------- /stubs/Pillow/PIL/ImageGrab.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from .Image import Image, _Box 4 | 5 | def grab( 6 | bbox: _Box | None = ..., include_layered_windows: bool = ..., all_screens: bool = ..., xdisplay: Any | None = ... 7 | ) -> Image: ... 8 | def grabclipboard() -> Image | None: ... 9 | -------------------------------------------------------------------------------- /stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/rule_poller.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | log: Any 4 | DEFAULT_INTERVAL: Any 5 | 6 | class RulePoller: 7 | def __init__(self, cache, connector) -> None: ... 8 | def start(self) -> None: ... 9 | def wake_up(self) -> None: ... 10 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/connected_merchant_paypal_status_changed.pyi: -------------------------------------------------------------------------------- 1 | from braintree.resource import Resource as Resource 2 | 3 | class ConnectedMerchantPayPalStatusChanged(Resource): 4 | def __init__(self, gateway, attributes) -> None: ... 5 | @property 6 | def merchant_id(self): ... 7 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/connected_merchant_status_transitioned.pyi: -------------------------------------------------------------------------------- 1 | from braintree.resource import Resource as Resource 2 | 3 | class ConnectedMerchantStatusTransitioned(Resource): 4 | def __init__(self, gateway, attributes) -> None: ... 5 | @property 6 | def merchant_id(self): ... 7 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/granted_payment_instrument_update.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.resource import Resource as Resource 4 | 5 | class GrantedPaymentInstrumentUpdate(Resource): 6 | payment_method_nonce: Any 7 | def __init__(self, gateway, attributes) -> None: ... 8 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/util/xml_util.pyi: -------------------------------------------------------------------------------- 1 | from braintree.util.generator import Generator as Generator 2 | from braintree.util.parser import Parser as Parser 3 | 4 | class XmlUtil: 5 | @staticmethod 6 | def xml_from_dict(dict): ... 7 | @staticmethod 8 | def dict_from_xml(xml): ... 9 | -------------------------------------------------------------------------------- /stubs/protobuf/google/protobuf/reflection.pyi: -------------------------------------------------------------------------------- 1 | class GeneratedProtocolMessageType(type): 2 | def __new__(cls, name, bases, dictionary): ... 3 | def __init__(self, name, bases, dictionary) -> None: ... 4 | 5 | def ParseMessage(descriptor, byte_str): ... 6 | def MakeClass(descriptor): ... 7 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/chrome/remote_connection.pyi: -------------------------------------------------------------------------------- 1 | from selenium.webdriver.remote.remote_connection import RemoteConnection as RemoteConnection 2 | 3 | class ChromeRemoteConnection(RemoteConnection): 4 | def __init__(self, remote_server_addr, keep_alive: bool = ...) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/firefox/remote_connection.pyi: -------------------------------------------------------------------------------- 1 | from selenium.webdriver.remote.remote_connection import RemoteConnection as RemoteConnection 2 | 3 | class FirefoxRemoteConnection(RemoteConnection): 4 | def __init__(self, remote_server_addr, keep_alive: bool = ...) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/selenium/selenium/webdriver/safari/remote_connection.pyi: -------------------------------------------------------------------------------- 1 | from selenium.webdriver.remote.remote_connection import RemoteConnection as RemoteConnection 2 | 3 | class SafariRemoteConnection(RemoteConnection): 4 | def __init__(self, remote_server_addr, keep_alive: bool = ...) -> None: ... 5 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/namespaces.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | flatten: Any 4 | 5 | class Installer: 6 | nspkg_ext: str 7 | def install_namespaces(self) -> None: ... 8 | def uninstall_namespaces(self) -> None: ... 9 | 10 | class DevelopInstaller(Installer): ... 11 | -------------------------------------------------------------------------------- /stubs/stripe/stripe/api_resources/terminal/__init__.pyi: -------------------------------------------------------------------------------- 1 | from stripe.api_resources.terminal.connection_token import ConnectionToken as ConnectionToken 2 | from stripe.api_resources.terminal.location import Location as Location 3 | from stripe.api_resources.terminal.reader import Reader as Reader 4 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/util/parser.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from braintree.util.datetime_parser import parse_datetime as parse_datetime 4 | 5 | binary_type = bytes 6 | 7 | class Parser: 8 | doc: Any 9 | def __init__(self, xml) -> None: ... 10 | def parse(self): ... 11 | -------------------------------------------------------------------------------- /stubs/psycopg2/psycopg2/_ipaddress.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | ipaddress: Any 4 | 5 | def register_ipaddress(conn_or_curs: Any | None = ...) -> None: ... 6 | def cast_interface(s, cur: Any | None = ...): ... 7 | def cast_network(s, cur: Any | None = ...): ... 8 | def adapt_ipaddress(obj): ... 9 | -------------------------------------------------------------------------------- /stubs/python-dateutil/@tests/stubtest_allowlist.txt: -------------------------------------------------------------------------------- 1 | dateutil.parser._tzparser.__init__ 2 | dateutil.parser.parserinfo.convertyear 3 | dateutil.rrule.weekday.__init__ 4 | dateutil.tz.tz.tzoffset.instance 5 | dateutil.tz.tz.tzstr.instance 6 | dateutil.tz.tzoffset.instance 7 | dateutil.tz.tzstr.instance 8 | -------------------------------------------------------------------------------- /stubs/setuptools/setuptools/monkey.pyi: -------------------------------------------------------------------------------- 1 | def get_unpatched(item): ... 2 | def get_unpatched_class(cls): ... 3 | def patch_all() -> None: ... 4 | def patch_func(replacement, target_mod, func_name) -> None: ... 5 | def get_unpatched_function(candidate): ... 6 | def patch_for_msvc_specialized_compiler(): ... 7 | -------------------------------------------------------------------------------- /stubs/ttkthemes/ttkthemes/_utils.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | def temporary_chdir(new_dir) -> None: ... 4 | def get_file_directory(): ... 5 | def get_temp_directory(): ... 6 | def get_themes_directory(theme_name: Any | None = ..., png: bool = ...): ... 7 | def create_directory(directory): ... 8 | -------------------------------------------------------------------------------- /requirements-tests.txt: -------------------------------------------------------------------------------- 1 | mypy==0.910 2 | pytype==2021.11.29; platform_system != "Windows" 3 | # must match .pre-commit-config.yaml 4 | black==21.12b0 5 | flake8==4.0.1 6 | flake8-bugbear==21.11.29 7 | flake8-pyi==20.10.0 8 | # must match .pre-commit-config.yaml 9 | isort==5.10.1 10 | tomli==1.2.2 11 | -------------------------------------------------------------------------------- /stdlib/@python2/distutils/dep_util.pyi: -------------------------------------------------------------------------------- 1 | from typing import List, Tuple 2 | 3 | def newer(source: str, target: str) -> bool: ... 4 | def newer_pairwise(sources: List[str], targets: List[str]) -> List[Tuple[str, str]]: ... 5 | def newer_group(sources: List[str], target: str, missing: str = ...) -> bool: ... 6 | -------------------------------------------------------------------------------- /stdlib/@python2/email/iterators.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, Generator 2 | 3 | def walk(self) -> Generator[Any, Any, Any]: ... 4 | def body_line_iterator(msg, decode: bool = ...) -> Generator[Any, Any, Any]: ... 5 | def typed_subpart_iterator(msg, maintype=..., subtype=...) -> Generator[Any, Any, Any]: ... 6 | -------------------------------------------------------------------------------- /stdlib/@python2/marshal.pyi: -------------------------------------------------------------------------------- 1 | from typing import IO, Any 2 | 3 | version: int 4 | 5 | def dump(__value: Any, __file: IO[Any], __version: int = ...) -> None: ... 6 | def load(__file: IO[Any]) -> Any: ... 7 | def dumps(__value: Any, __version: int = ...) -> bytes: ... 8 | def loads(__bytes: bytes) -> Any: ... 9 | -------------------------------------------------------------------------------- /stdlib/@python2/sha.pyi: -------------------------------------------------------------------------------- 1 | class sha(object): 2 | def update(self, arg: str) -> None: ... 3 | def digest(self) -> str: ... 4 | def hexdigest(self) -> str: ... 5 | def copy(self) -> sha: ... 6 | 7 | def new(string: str = ...) -> sha: ... 8 | 9 | blocksize: int 10 | digest_size: int 11 | -------------------------------------------------------------------------------- /stdlib/tkinter/colorchooser.pyi: -------------------------------------------------------------------------------- 1 | from tkinter.commondialog import Dialog 2 | from typing import Any, ClassVar 3 | 4 | class Chooser(Dialog): 5 | command: ClassVar[str] 6 | 7 | def askcolor(color: str | bytes | None = ..., **options: Any) -> tuple[None, None] | tuple[tuple[float, float, float], str]: ... 8 | -------------------------------------------------------------------------------- /stubs/babel/babel/messages/plurals.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, Tuple 2 | 3 | LC_CTYPE: Any 4 | PLURALS: Any 5 | DEFAULT_PLURAL: Any 6 | 7 | class _PluralTuple(Tuple[int, str]): 8 | num_plurals: Any 9 | plural_expr: Any 10 | plural_forms: Any 11 | 12 | def get_plural(locale=...): ... 13 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/paginated_collection.pyi: -------------------------------------------------------------------------------- 1 | from collections.abc import Generator 2 | from typing import Any 3 | 4 | class PaginatedCollection: 5 | def __init__(self, method) -> None: ... 6 | @property 7 | def items(self) -> Generator[Any, None, None]: ... 8 | def __iter__(self): ... 9 | -------------------------------------------------------------------------------- /stubs/braintree/braintree/util/crypto.pyi: -------------------------------------------------------------------------------- 1 | text_type = str 2 | 3 | class Crypto: 4 | @staticmethod 5 | def sha1_hmac_hash(secret_key, content): ... 6 | @staticmethod 7 | def sha256_hmac_hash(secret_key, content): ... 8 | @staticmethod 9 | def secure_compare(left, right): ... 10 | -------------------------------------------------------------------------------- /stubs/fpdf2/fpdf/errors.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class FPDFException(Exception): ... 4 | 5 | class FPDFPageFormatException(FPDFException): 6 | argument: Any 7 | unknown: Any 8 | one: Any 9 | def __init__(self, argument, unknown: bool = ..., one: bool = ...) -> None: ... 10 | -------------------------------------------------------------------------------- /stubs/html5lib/html5lib/treewalkers/dom.pyi: -------------------------------------------------------------------------------- 1 | from .base import NonRecursiveTreeWalker 2 | 3 | class TreeWalker(NonRecursiveTreeWalker): 4 | def getNodeDetails(self, node): ... 5 | def getFirstChild(self, node): ... 6 | def getNextSibling(self, node): ... 7 | def getParentNode(self, node): ... 8 | -------------------------------------------------------------------------------- /stubs/opentracing/opentracing/mocktracer/propagator.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | from ..span import SpanContext 4 | 5 | class Propagator: 6 | def inject(self, span_context: SpanContext, carrier: dict[Any, Any]) -> None: ... 7 | def extract(self, carrier: dict[Any, Any]) -> SpanContext: ... 8 | -------------------------------------------------------------------------------- /stubs/opentracing/opentracing/scope_manager.pyi: -------------------------------------------------------------------------------- 1 | from .scope import Scope 2 | from .span import Span 3 | 4 | class ScopeManager: 5 | def __init__(self) -> None: ... 6 | def activate(self, span: Span, finish_on_close: bool) -> Scope: ... 7 | @property 8 | def active(self) -> Scope | None: ... 9 | -------------------------------------------------------------------------------- /stubs/python-dateutil/dateutil/utils.pyi: -------------------------------------------------------------------------------- 1 | from datetime import datetime, timedelta, tzinfo 2 | 3 | def default_tzinfo(dt: datetime, tzinfo: tzinfo) -> datetime: ... 4 | def today(tzinfo: tzinfo | None = ...) -> datetime: ... 5 | def within_delta(dt1: datetime, dt2: datetime, delta: timedelta) -> bool: ... 6 | --------------------------------------------------------------------------------