basedpyright 1.25.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/README.md +1 -1
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/VERSIONS +1 -0
- package/dist/typeshed-fallback/stdlib/_asyncio.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/_blake2.pyi +12 -12
- package/dist/typeshed-fallback/stdlib/_bz2.pyi +7 -1
- package/dist/typeshed-fallback/stdlib/_collections_abc.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/_contextvars.pyi +5 -3
- package/dist/typeshed-fallback/stdlib/_csv.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/_ctypes.pyi +7 -7
- package/dist/typeshed-fallback/stdlib/_curses.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/_dummy_threading.pyi +19 -127
- package/dist/typeshed-fallback/stdlib/_frozen_importlib.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/_interpqueues.pyi +9 -6
- package/dist/typeshed-fallback/stdlib/_interpreters.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/_io.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/_json.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/_lzma.pyi +16 -5
- package/dist/typeshed-fallback/stdlib/_pickle.pyi +286 -0
- package/dist/typeshed-fallback/stdlib/_sitebuiltins.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/_socket.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/_ssl.pyi +3 -4
- package/dist/typeshed-fallback/stdlib/_thread.pyi +87 -39
- package/dist/typeshed-fallback/stdlib/_tkinter.pyi +35 -20
- package/dist/typeshed-fallback/stdlib/_weakrefset.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/argparse.pyi +27 -20
- package/dist/typeshed-fallback/stdlib/array.pyi +13 -10
- package/dist/typeshed-fallback/stdlib/ast.pyi +24 -7
- package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +1300 -0
- package/dist/typeshed-fallback/stdlib/asyncio/base_events.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/asyncio/coroutines.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/exceptions.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/locks.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/proactor_events.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/queues.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/runners.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/selector_events.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/asyncio/streams.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/subprocess.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/taskgroups.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/threads.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/timeouts.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/transports.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/builtins.pyi +21 -15
- package/dist/typeshed-fallback/stdlib/codecs.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/codeop.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/collections/__init__.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/concurrent/futures/process.pyi +12 -2
- package/dist/typeshed-fallback/stdlib/contextlib.pyi +21 -22
- package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +69 -18
- package/dist/typeshed-fallback/stdlib/dataclasses.pyi +11 -3
- package/dist/typeshed-fallback/stdlib/datetime.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/decimal.pyi +0 -1
- package/dist/typeshed-fallback/stdlib/email/charset.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/email/header.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/email/headerregistry.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/fractions.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/gzip.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/http/__init__.pyi +15 -6
- package/dist/typeshed-fallback/stdlib/http/client.pyi +80 -58
- package/dist/typeshed-fallback/stdlib/inspect.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/ipaddress.pyi +5 -3
- package/dist/typeshed-fallback/stdlib/itertools.pyi +12 -12
- package/dist/typeshed-fallback/stdlib/json/scanner.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/pgen.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/lib2to3/pytree.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/mmap.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +63 -17
- package/dist/typeshed-fallback/stdlib/multiprocessing/pool.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/numbers.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/operator.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/optparse.pyi +89 -32
- package/dist/typeshed-fallback/stdlib/os/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/parser.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/pickle.pyi +51 -266
- package/dist/typeshed-fallback/stdlib/pickletools.pyi +8 -1
- package/dist/typeshed-fallback/stdlib/plistlib.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/sched.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/select.pyi +19 -13
- package/dist/typeshed-fallback/stdlib/selectors.pyi +5 -3
- package/dist/typeshed-fallback/stdlib/signal.pyi +47 -47
- package/dist/typeshed-fallback/stdlib/socket.pyi +8 -6
- package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/ssl.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +9 -3
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +24 -10
- package/dist/typeshed-fallback/stdlib/telnetlib.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/threading.pyi +6 -53
- package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +193 -3
- package/dist/typeshed-fallback/stdlib/tkinter/filedialog.pyi +9 -9
- package/dist/typeshed-fallback/stdlib/tkinter/font.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/token.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/tokenize.pyi +3 -4
- package/dist/typeshed-fallback/stdlib/traceback.pyi +17 -4
- package/dist/typeshed-fallback/stdlib/types.pyi +45 -10
- package/dist/typeshed-fallback/stdlib/typing.pyi +45 -47
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +53 -12
- package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/unittest/runner.pyi +11 -12
- package/dist/typeshed-fallback/stdlib/unittest/suite.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/weakref.pyi +19 -5
- package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/xml/sax/expatreader.pyi +53 -0
- package/dist/typeshed-fallback/stdlib/xmlrpc/client.pyi +4 -3
- package/dist/typeshed-fallback/stdlib/xxlimited.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/zipfile/_path/glob.pyi +22 -0
- package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/METADATA.toml +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/encoding.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/errors.pyi +26 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/security.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/urls.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/consts.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/deprecate.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/__init__.pyi +29 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_app.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_openid.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/errors.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/framework_integration.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/registry.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_app.pyi +93 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_openid.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/__init__.pyi +44 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_algorithms.pyi +27 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptodome.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptography.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/errors.pyi +72 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/jwk.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/jws.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/models.pyi +25 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/__init__.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/jwe.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/models.pyi +56 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/__init__.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/_cryptography_key.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/asymmetric_key.pyi +39 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/base_key.pyi +28 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/jwk.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/key_set.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/__init__.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/ec_key.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_algs.pyi +64 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_encs.pyi +27 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_zips.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jws_algs.pyi +63 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/oct_key.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/rsa_key.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/util.pyi +2 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/claims.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/jwt.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/jws_eddsa.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/okp_key.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/util.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/__init__.pyi +33 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/client.pyi +39 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/errors.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/__init__.pyi +35 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/authorization_server.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/base_server.pyi +12 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/client_auth.pyi +41 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/errors.pyi +56 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/models.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/parameters.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/resource_protector.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/rsa.pyi +2 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/signature.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/util.pyi +2 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/wrapper.pyi +33 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/__init__.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/auth.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/base.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/client.pyi +96 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/__init__.pyi +76 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authenticate_client.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authorization_server.pyi +46 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/errors.pyi +92 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/__init__.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/authorization_code.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/base.pyi +55 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/client_credentials.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/implicit.pyi +12 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/refresh_token.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/resource_owner_password_credentials.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/models.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/parameters.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/requests.pyi +48 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/resource_protector.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/token_endpoint.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/util.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/wrappers.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/__init__.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/errors.pyi +27 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/parameters.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/token.pyi +41 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/validator.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/parameters.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/revocation.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7521/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7521/client.pyi +39 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/__init__.pyi +18 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/assertion.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/auth.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/client.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/jwt_bearer.pyi +28 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/token.pyi +30 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/validator.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/__init__.pyi +17 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/claims.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/endpoint.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/errors.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/endpoint.pyi +26 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7636/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7636/challenge.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/introspection.pyi +11 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/models.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/token_validator.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/models.pyi +40 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/well_known.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/__init__.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/device_code.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/endpoint.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/errors.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/models.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8693/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/__init__.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/claims.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/introspection.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/revocation.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token_validator.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/__init__.pyi +29 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/claims.pyi +37 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/errors.pyi +28 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/code.pyi +17 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/hybrid.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/implicit.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/util.pyi +18 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/models.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/util.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/models.pyi +36 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/well_known.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Flask-Migrate/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Flask-Migrate/flask_migrate/__init__.pyi +2 -4
- package/dist/typeshed-fallback/stubs/Flask-SocketIO/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Flask-SocketIO/flask_socketio/__init__.pyi +30 -4
- package/dist/typeshed-fallback/stubs/Markdown/markdown/core.pyi +2 -13
- package/dist/typeshed-fallback/stubs/PyAutoGUI/pyautogui/__init__.pyi +2 -2
- package/dist/typeshed-fallback/stubs/PyYAML/yaml/constructor.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Pygments/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/WebOb/webob/exc.pyi +1 -1
- package/dist/typeshed-fallback/stubs/click-log/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/click-log/click_log/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/click-log/click_log/core.pyi +15 -0
- package/dist/typeshed-fallback/stubs/click-log/click_log/options.pyi +12 -0
- package/dist/typeshed-fallback/stubs/click-web/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/__init__.pyi +16 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/exceptions.pyi +2 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/cmd_exec.pyi +79 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/cmd_form.pyi +6 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/index.pyi +6 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/input_fields.pyi +49 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/web_click_types.pyi +18 -0
- package/dist/typeshed-fallback/stubs/croniter/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/croniter/croniter/croniter.pyi +7 -0
- package/dist/typeshed-fallback/stubs/django-import-export/METADATA.toml +6 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/admin.pyi +114 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/exceptions.pyi +2 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/fields.pyi +34 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/formats/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/formats/base_formats.pyi +57 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/forms.pyi +31 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/instance_loaders.pyi +23 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/mixins.pyi +66 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/resources.pyi +232 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/results.pyi +73 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/signals.pyi +4 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/templatetags/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/templatetags/import_export_tags.pyi +8 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/tmp_storages.pyi +34 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/utils.pyi +18 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/widgets.pyi +66 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +2 -2
- package/dist/typeshed-fallback/stubs/flake8-bugbear/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/annotations.pyi +2 -2
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/enums.pyi +50 -4
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fonts.pyi +3 -3
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fpdf.pyi +53 -18
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/html.pyi +2 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/image_parsing.pyi +10 -2
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/line_break.pyi +9 -3
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/outline.pyi +21 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/output.pyi +19 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/prefs.pyi +38 -4
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/table.pyi +13 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/util.pyi +1 -0
- package/dist/typeshed-fallback/stubs/gdb/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +126 -9
- package/dist/typeshed-fallback/stubs/gdb/gdb/unwinder.pyi +2 -3
- package/dist/typeshed-fallback/stubs/gevent/gevent/select.pyi +7 -2
- package/dist/typeshed-fallback/stubs/hdbcli/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/ibm-db/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/ibm-db/ibm_db.pyi +11 -1
- package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -5
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/tzp.pyi +1 -1
- package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +0 -2
- package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwk.pyi +4 -4
- package/dist/typeshed-fallback/stubs/lupa/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/m3u8/m3u8/httpclient.pyi +1 -1
- package/dist/typeshed-fallback/stubs/nanoleafapi/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/__init__.pyi +16 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/digital_twin.pyi +12 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/discovery.pyi +1 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/nanoleaf.pyi +68 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/cell_style.pyi +1 -1
- package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +4 -4
- package/dist/typeshed-fallback/stubs/pexpect/pexpect/pty_spawn.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pika/pika/credentials.pyi +10 -7
- package/dist/typeshed-fallback/stubs/polib/polib.pyi +3 -2
- package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/api_pb2.pyi +1 -1
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +4 -8
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/runtime_version.pyi +23 -0
- package/dist/typeshed-fallback/stubs/pycocotools/METADATA.toml +1 -0
- package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/coco.pyi +6 -11
- package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/cocoeval.pyi +16 -30
- package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/mask.pyi +7 -9
- package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +33 -32
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +65 -65
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/relativedelta.pyi +3 -11
- package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +3 -3
- package/dist/typeshed-fallback/stubs/qrbill/qrbill/bill.pyi +2 -2
- package/dist/typeshed-fallback/stubs/requests-oauthlib/requests_oauthlib/oauth1_auth.pyi +1 -1
- package/dist/typeshed-fallback/stubs/seaborn/METADATA.toml +1 -11
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/algorithms.pyi +13 -13
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +5 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/bdist.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_data.pyi +2 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/dist.pyi +21 -21
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/extension.pyi +3 -4
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/extension.pyi +2 -3
- package/dist/typeshed-fallback/stubs/shapely/shapely/_enum.pyi +1 -1
- package/dist/typeshed-fallback/stubs/six/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/tabulate/tabulate/__init__.pyi +2 -1
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/asyncio.pyi +2 -2
- package/dist/typeshed-fallback/stubs/vobject/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/vobject/vobject/__init__.pyi +2 -4
- package/dist/typeshed-fallback/stubs/vobject/vobject/base.pyi +26 -24
- package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +5 -4
- package/dist/typeshed-fallback/stubs/vobject/vobject/icalendar.pyi +28 -37
- package/dist/typeshed-fallback/stubs/vobject/vobject/vcard.pyi +20 -20
- package/dist/typeshed-fallback/stubs/vobject/vobject/win32tz.pyi +22 -22
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/python-gflags/METADATA.toml +0 -2
- package/dist/typeshed-fallback/stubs/python-gflags/gflags.pyi +0 -309
- package/dist/typeshed-fallback/stubs/redis/METADATA.toml +0 -12
- package/dist/typeshed-fallback/stubs/redis/redis/__init__.pyi +0 -72
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/__init__.pyi +0 -64
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/client.pyi +0 -1091
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/cluster.pyi +0 -229
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/connection.pyi +0 -363
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/lock.pyi +0 -51
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/parser.pyi +0 -9
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/retry.pyi +0 -12
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/sentinel.pyi +0 -162
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/utils.pyi +0 -15
- package/dist/typeshed-fallback/stubs/redis/redis/backoff.pyi +0 -31
- package/dist/typeshed-fallback/stubs/redis/redis/client.pyi +0 -817
- package/dist/typeshed-fallback/stubs/redis/redis/cluster.pyi +0 -265
- package/dist/typeshed-fallback/stubs/redis/redis/commands/__init__.pyi +0 -17
- package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/__init__.pyi +0 -58
- package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/commands.pyi +0 -112
- package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/info.pyi +0 -43
- package/dist/typeshed-fallback/stubs/redis/redis/commands/cluster.pyi +0 -60
- package/dist/typeshed-fallback/stubs/redis/redis/commands/core.pyi +0 -1743
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/__init__.pyi +0 -26
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/commands.pyi +0 -25
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/edge.pyi +0 -14
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/exceptions.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/node.pyi +0 -18
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/path.pyi +0 -18
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/query_result.pyi +0 -74
- package/dist/typeshed-fallback/stubs/redis/redis/commands/helpers.pyi +0 -10
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/__init__.pyi +0 -15
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/commands.pyi +0 -32
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/decoders.pyi +0 -4
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/path.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/commands/parser.pyi +0 -8
- package/dist/typeshed-fallback/stubs/redis/redis/commands/redismodules.pyi +0 -14
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/__init__.pyi +0 -22
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/aggregation.pyi +0 -53
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/commands.pyi +0 -111
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/query.pyi +0 -52
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/result.pyi +0 -7
- package/dist/typeshed-fallback/stubs/redis/redis/commands/sentinel.pyi +0 -17
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/__init__.pyi +0 -14
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/commands.pyi +0 -160
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/info.pyi +0 -18
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/utils.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/connection.pyi +0 -289
- package/dist/typeshed-fallback/stubs/redis/redis/crc.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/credentials.pyi +0 -11
- package/dist/typeshed-fallback/stubs/redis/redis/exceptions.pyi +0 -42
- package/dist/typeshed-fallback/stubs/redis/redis/lock.pyi +0 -56
- package/dist/typeshed-fallback/stubs/redis/redis/ocsp.pyi +0 -21
- package/dist/typeshed-fallback/stubs/redis/redis/retry.pyi +0 -11
- package/dist/typeshed-fallback/stubs/redis/redis/sentinel.pyi +0 -62
- package/dist/typeshed-fallback/stubs/redis/redis/typing.pyi +0 -34
- package/dist/typeshed-fallback/stubs/redis/redis/utils.pyi +0 -22
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py310.pyi +0 -9
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py311.pyi +0 -4
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py312.pyi +0 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py39.pyi +0 -7
- /package/dist/typeshed-fallback/stdlib/zipfile/{_path.pyi → _path/__init__.pyi} +0 -0
- /package/dist/typeshed-fallback/stubs/{setuptools/setuptools/compat → Authlib/authlib/common}/__init__.pyi +0 -0
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
1
|
from collections.abc import Collection, Sequence
|
|
3
2
|
from pathlib import Path
|
|
4
3
|
from typing import Generic, Literal, TypedDict, TypeVar, overload
|
|
5
4
|
from typing_extensions import TypeAlias
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
import numpy as np
|
|
7
|
+
import numpy.typing as npt
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
# import numpy as np
|
|
11
|
-
# import numpy.typing as npt
|
|
9
|
+
from . import _EncodedRLE
|
|
12
10
|
|
|
13
|
-
PYTHON_VERSION:
|
|
14
|
-
_NDArray: TypeAlias = Incomplete
|
|
11
|
+
PYTHON_VERSION: int
|
|
15
12
|
|
|
16
13
|
class _Image(TypedDict):
|
|
17
14
|
id: int
|
|
@@ -82,13 +79,11 @@ class COCO:
|
|
|
82
79
|
def showAnns(self, anns: Sequence[_Annotation], draw_bbox: bool = False) -> None: ...
|
|
83
80
|
def loadRes(self, resFile: str) -> COCO: ...
|
|
84
81
|
def download(self, tarDir: str | None = None, imgIds: Collection[int] = []) -> Literal[-1] | None: ...
|
|
85
|
-
def loadNumpyAnnotations(self, data:
|
|
86
|
-
# def loadNumpyAnnotations(self, data: npt.NDArray[np.float64]) -> list[_Annotation]: ...
|
|
82
|
+
def loadNumpyAnnotations(self, data: npt.NDArray[np.float64]) -> list[_Annotation]: ...
|
|
87
83
|
@overload
|
|
88
84
|
def annToRLE(self, ann: _AnnotationG[_RLE]) -> _RLE: ...
|
|
89
85
|
@overload
|
|
90
86
|
def annToRLE(self, ann: _AnnotationG[_EncodedRLE]) -> _EncodedRLE: ...
|
|
91
87
|
@overload
|
|
92
88
|
def annToRLE(self, ann: _AnnotationG[_TPolygonSegmentation]) -> _EncodedRLE: ...
|
|
93
|
-
def annToMask(self, ann: _Annotation) ->
|
|
94
|
-
# def annToMask(self, ann: _Annotation) -> npt.NDArray[np.uint8]: ...
|
|
89
|
+
def annToMask(self, ann: _Annotation) -> npt.NDArray[np.uint8]: ...
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
1
|
from typing import Literal, TypedDict
|
|
3
2
|
from typing_extensions import TypeAlias
|
|
4
3
|
|
|
5
|
-
|
|
4
|
+
import numpy as np
|
|
5
|
+
import numpy.typing as npt
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
# import numpy as np
|
|
9
|
-
# import numpy.typing as npt
|
|
7
|
+
from .coco import COCO
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
_NDFloatArray: TypeAlias = npt.NDArray[np.float64]
|
|
12
10
|
_TIOU: TypeAlias = Literal["segm", "bbox", "keypoints"]
|
|
13
11
|
|
|
14
12
|
class _ImageEvaluationResult(TypedDict):
|
|
@@ -18,26 +16,19 @@ class _ImageEvaluationResult(TypedDict):
|
|
|
18
16
|
maxDet: int
|
|
19
17
|
dtIds: list[int]
|
|
20
18
|
gtIds: list[int]
|
|
21
|
-
dtMatches:
|
|
22
|
-
|
|
23
|
-
gtMatches: _NDArray
|
|
24
|
-
# gtMatches: npt.NDArray[np.float64]
|
|
19
|
+
dtMatches: _NDFloatArray
|
|
20
|
+
gtMatches: _NDFloatArray
|
|
25
21
|
dtScores: list[float]
|
|
26
|
-
gtIgnore:
|
|
27
|
-
|
|
28
|
-
dtIgnore: _NDArray
|
|
29
|
-
# dtIgnore: npt.NDArray[np.float64]
|
|
22
|
+
gtIgnore: _NDFloatArray
|
|
23
|
+
dtIgnore: _NDFloatArray
|
|
30
24
|
|
|
31
25
|
class _EvaluationResult(TypedDict):
|
|
32
26
|
params: Params
|
|
33
27
|
counts: list[int]
|
|
34
28
|
date: str
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
recall: _NDArray
|
|
39
|
-
# scores: npt.NDArray[np.float64]
|
|
40
|
-
scores: _NDArray
|
|
29
|
+
precision: _NDFloatArray
|
|
30
|
+
recall: _NDFloatArray
|
|
31
|
+
scores: _NDFloatArray
|
|
41
32
|
|
|
42
33
|
class COCOeval:
|
|
43
34
|
cocoGt: COCO
|
|
@@ -45,14 +36,12 @@ class COCOeval:
|
|
|
45
36
|
evalImgs: list[_ImageEvaluationResult]
|
|
46
37
|
eval: _EvaluationResult
|
|
47
38
|
params: Params
|
|
48
|
-
stats:
|
|
49
|
-
# stats: npt.NDArray[np.float64]
|
|
39
|
+
stats: _NDFloatArray
|
|
50
40
|
ious: dict[tuple[int, int], list[float]]
|
|
51
41
|
def __init__(self, cocoGt: COCO | None = None, cocoDt: COCO | None = None, iouType: _TIOU = "segm") -> None: ...
|
|
52
42
|
def evaluate(self) -> None: ...
|
|
53
43
|
def computeIoU(self, imgId: int, catId: int) -> list[float]: ...
|
|
54
|
-
def computeOks(self, imgId: int, catId: int) ->
|
|
55
|
-
# def computeOks(self, imgId: int, catId: int) -> npt.NDArray[np.float64]: ...
|
|
44
|
+
def computeOks(self, imgId: int, catId: int) -> _NDFloatArray: ...
|
|
56
45
|
def evaluateImg(self, imgId: int, catId: int, aRng: list[int], maxDet: int) -> _ImageEvaluationResult: ...
|
|
57
46
|
def accumulate(self, p: Params | None = None) -> None: ...
|
|
58
47
|
def summarize(self) -> None: ...
|
|
@@ -60,16 +49,13 @@ class COCOeval:
|
|
|
60
49
|
class Params:
|
|
61
50
|
imgIds: list[int]
|
|
62
51
|
catIds: list[int]
|
|
63
|
-
iouThrs:
|
|
64
|
-
|
|
65
|
-
recThrs: _NDArray
|
|
66
|
-
# recThrs: npt.NDArray[np.float64]
|
|
52
|
+
iouThrs: _NDFloatArray
|
|
53
|
+
recThrs: _NDFloatArray
|
|
67
54
|
maxDets: list[int]
|
|
68
55
|
areaRng: list[list[float]]
|
|
69
56
|
areaRngLbl: list[str]
|
|
70
57
|
useCats: int
|
|
71
|
-
kpt_oks_sigmas:
|
|
72
|
-
# kpt_oks_sigmas: npt.NDArray[np.float64]
|
|
58
|
+
kpt_oks_sigmas: _NDFloatArray
|
|
73
59
|
iouType: _TIOU
|
|
74
60
|
useSegm: int | None
|
|
75
61
|
def __init__(self, iouType: _TIOU = "segm") -> None: ...
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
1
|
from typing import Any, overload
|
|
3
2
|
from typing_extensions import TypeAlias
|
|
4
3
|
|
|
5
|
-
|
|
4
|
+
import numpy as np
|
|
5
|
+
import numpy.typing as npt
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
# import numpy as np
|
|
9
|
-
# import numpy.typing as npt
|
|
7
|
+
from . import _EncodedRLE
|
|
10
8
|
|
|
11
|
-
_NPUInt32: TypeAlias =
|
|
12
|
-
_NDArrayUInt8: TypeAlias =
|
|
13
|
-
_NDArrayUInt32: TypeAlias =
|
|
14
|
-
_NDArrayFloat64: TypeAlias =
|
|
9
|
+
_NPUInt32: TypeAlias = np.uint32
|
|
10
|
+
_NDArrayUInt8: TypeAlias = npt.NDArray[np.uint8]
|
|
11
|
+
_NDArrayUInt32: TypeAlias = npt.NDArray[np.uint32]
|
|
12
|
+
_NDArrayFloat64: TypeAlias = npt.NDArray[np.float64]
|
|
15
13
|
|
|
16
14
|
def iou(
|
|
17
15
|
dt: _NDArrayUInt32 | list[float] | list[_EncodedRLE],
|
|
@@ -30,7 +30,7 @@ class Curl:
|
|
|
30
30
|
def errstr(self) -> str: ...
|
|
31
31
|
def duphandle(self) -> Self: ...
|
|
32
32
|
def errstr_raw(self) -> bytes: ...
|
|
33
|
-
if sys.platform == "linux":
|
|
33
|
+
if sys.platform == "linux" or sys.platform == "darwin":
|
|
34
34
|
def set_ca_certs(self, value: bytes | str, /) -> None: ...
|
|
35
35
|
|
|
36
36
|
@final
|
|
@@ -53,45 +53,16 @@ class CurlShare:
|
|
|
53
53
|
def close(self) -> None: ...
|
|
54
54
|
def setopt(self, option: int, value): ...
|
|
55
55
|
|
|
56
|
-
if sys.platform != "linux":
|
|
57
|
-
AWS_SIGV4: Final = 10305
|
|
58
|
-
CAINFO_BLOB: Final = 40309
|
|
59
|
-
CURL_HTTP_VERSION_3: Final = 30
|
|
60
|
-
CURL_VERSION_ALTSVC: Final = 16777216
|
|
61
|
-
CURL_VERSION_GSASL: Final = 536870912
|
|
62
|
-
CURL_VERSION_HSTS: Final = 268435456
|
|
63
|
-
CURL_VERSION_HTTP3: Final = 33554432
|
|
64
|
-
CURL_VERSION_UNICODE: Final = 134217728
|
|
65
|
-
CURL_VERSION_ZSTD: Final = 67108864
|
|
66
|
-
DOH_URL: Final = 10279
|
|
67
|
-
HTTP09_ALLOWED: Final = 285
|
|
68
|
-
ISSUERCERT_BLOB: Final = 40295
|
|
69
|
-
MAXLIFETIME_CONN: Final = 314
|
|
70
|
-
MAXAGE_CONN: Final = 288
|
|
71
|
-
M_MAX_CONCURRENT_STREAMS: Final = 16
|
|
72
|
-
PROXY_CAINFO_BLOB: Final = 40310
|
|
73
|
-
PROXY_ISSUERCERT: Final = 10296
|
|
74
|
-
PROXY_ISSUERCERT_BLOB: Final = 40297
|
|
75
|
-
PROXY_SSLCERT_BLOB: Final = 40293
|
|
76
|
-
PROXY_SSLKEY_BLOB: Final = 40294
|
|
77
|
-
SSLCERT_BLOB: Final = 40291
|
|
78
|
-
SSLKEY_BLOB: Final = 40292
|
|
79
|
-
UPLOAD_BUFFERSIZE: Final = 280
|
|
80
|
-
VERSION_ALTSVC: Final = 16777216
|
|
81
|
-
VERSION_GSASL: Final = 536870912
|
|
82
|
-
VERSION_HSTS: Final = 268435456
|
|
83
|
-
VERSION_HTTP3: Final = 33554432
|
|
84
|
-
VERSION_UNICODE: Final = 134217728
|
|
85
|
-
VERSION_ZSTD: Final = 67108864
|
|
86
|
-
|
|
87
56
|
ACCEPTTIMEOUT_MS: Final = 212
|
|
88
57
|
ACCEPT_ENCODING: Final = 10102
|
|
89
58
|
ADDRESS_SCOPE: Final = 171
|
|
90
59
|
APPCONNECT_TIME: Final = 3145761
|
|
91
60
|
APPEND: Final = 50
|
|
92
61
|
AUTOREFERER: Final = 58
|
|
62
|
+
AWS_SIGV4: Final = 10305
|
|
93
63
|
BUFFERSIZE: Final = 98
|
|
94
64
|
CAINFO: Final = 10065
|
|
65
|
+
CAINFO_BLOB: Final = 40309
|
|
95
66
|
CAPATH: Final = 10097
|
|
96
67
|
CLOSESOCKETFUNCTION: Final = 20208
|
|
97
68
|
COMPILE_LIBCURL_VERSION_NUM: Final = 525824
|
|
@@ -123,11 +94,19 @@ CURL_HTTP_VERSION_2: Final = 3
|
|
|
123
94
|
CURL_HTTP_VERSION_2TLS: Final = 4
|
|
124
95
|
CURL_HTTP_VERSION_2_0: Final = 3
|
|
125
96
|
CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE: Final = 5
|
|
97
|
+
CURL_HTTP_VERSION_3: Final = 30
|
|
98
|
+
CURL_HTTP_VERSION_3ONLY: Final = 31
|
|
126
99
|
CURL_HTTP_VERSION_LAST: Final = 32
|
|
127
100
|
CURL_HTTP_VERSION_NONE: Final = 0
|
|
101
|
+
CURL_VERSION_ALTSVC: Final = 16777216
|
|
128
102
|
CURL_VERSION_BROTLI: Final = 8388608
|
|
103
|
+
CURL_VERSION_GSASL: Final = 536870912
|
|
104
|
+
CURL_VERSION_HSTS: Final = 268435456
|
|
105
|
+
CURL_VERSION_HTTP3: Final = 33554432
|
|
129
106
|
CURL_VERSION_HTTPS_PROXY: Final = 2097152
|
|
130
107
|
CURL_VERSION_MULTI_SSL: Final = 4194304
|
|
108
|
+
CURL_VERSION_UNICODE: Final = 134217728
|
|
109
|
+
CURL_VERSION_ZSTD: Final = 67108864
|
|
131
110
|
CUSTOMREQUEST: Final = 10036
|
|
132
111
|
DEBUGFUNCTION: Final = 20094
|
|
133
112
|
DEFAULT_PROTOCOL: Final = 10238
|
|
@@ -135,7 +114,9 @@ DIRLISTONLY: Final = 48
|
|
|
135
114
|
DNS_CACHE_TIMEOUT: Final = 92
|
|
136
115
|
DNS_SERVERS: Final = 10211
|
|
137
116
|
DNS_USE_GLOBAL_CACHE: Final = 91
|
|
117
|
+
DOH_URL: Final = 10279
|
|
138
118
|
EFFECTIVE_URL: Final = 1048577
|
|
119
|
+
EFFECTIVE_METHOD: Final = 1048634
|
|
139
120
|
EGDSOCKET: Final = 10077
|
|
140
121
|
ENCODING: Final = 10102
|
|
141
122
|
EXPECT_100_TIMEOUT_MS: Final = 227
|
|
@@ -310,12 +291,14 @@ GSSAPI_DELEGATION_FLAG: Final = 2
|
|
|
310
291
|
GSSAPI_DELEGATION_NONE: Final = 0
|
|
311
292
|
GSSAPI_DELEGATION_POLICY_FLAG: Final = 1
|
|
312
293
|
HAPROXYPROTOCOL: Final = 274
|
|
294
|
+
HAPROXY_CLIENT_IP: Final = 10323
|
|
313
295
|
HEADER: Final = 42
|
|
314
296
|
HEADERFUNCTION: Final = 20079
|
|
315
297
|
HEADEROPT: Final = 229
|
|
316
298
|
HEADER_SEPARATE: Final = 1
|
|
317
299
|
HEADER_SIZE: Final = 2097163
|
|
318
300
|
HEADER_UNIFIED: Final = 0
|
|
301
|
+
HTTP09_ALLOWED: Final = 285
|
|
319
302
|
HTTP200ALIASES: Final = 10104
|
|
320
303
|
HTTPAUTH: Final = 107
|
|
321
304
|
HTTPAUTH_ANY: Final = -17
|
|
@@ -370,6 +353,7 @@ IPRESOLVE_V4: Final = 1
|
|
|
370
353
|
IPRESOLVE_V6: Final = 2
|
|
371
354
|
IPRESOLVE_WHATEVER: Final = 0
|
|
372
355
|
ISSUERCERT: Final = 10170
|
|
356
|
+
ISSUERCERT_BLOB: Final = 40295
|
|
373
357
|
KEYPASSWD: Final = 10026
|
|
374
358
|
KHMATCH_MISMATCH: Final = 1
|
|
375
359
|
KHMATCH_MISSING: Final = 2
|
|
@@ -400,15 +384,18 @@ LOW_SPEED_TIME: Final = 20
|
|
|
400
384
|
MAIL_AUTH: Final = 10217
|
|
401
385
|
MAIL_FROM: Final = 10186
|
|
402
386
|
MAIL_RCPT: Final = 10187
|
|
387
|
+
MAXAGE_CONN: Final = 288
|
|
403
388
|
MAXCONNECTS: Final = 71
|
|
404
389
|
MAXFILESIZE: Final = 30117
|
|
405
390
|
MAXFILESIZE_LARGE: Final = 30117
|
|
391
|
+
MAXLIFETIME_CONN: Final = 314
|
|
406
392
|
MAXREDIRS: Final = 68
|
|
407
393
|
MAX_RECV_SPEED_LARGE: Final = 30146
|
|
408
394
|
MAX_SEND_SPEED_LARGE: Final = 30145
|
|
409
395
|
M_CHUNK_LENGTH_PENALTY_SIZE: Final = 30010
|
|
410
396
|
M_CONTENT_LENGTH_PENALTY_SIZE: Final = 30009
|
|
411
397
|
M_MAXCONNECTS: Final = 6
|
|
398
|
+
M_MAX_CONCURRENT_STREAMS: Final = 16
|
|
412
399
|
M_MAX_HOST_CONNECTIONS: Final = 7
|
|
413
400
|
M_MAX_PIPELINE_LENGTH: Final = 8
|
|
414
401
|
M_MAX_TOTAL_CONNECTIONS: Final = 13
|
|
@@ -517,15 +504,20 @@ PROXYTYPE_SOCKS5_HOSTNAME: Final = 7
|
|
|
517
504
|
PROXYUSERNAME: Final = 10175
|
|
518
505
|
PROXYUSERPWD: Final = 10006
|
|
519
506
|
PROXY_CAINFO: Final = 10246
|
|
507
|
+
PROXY_CAINFO_BLOB: Final = 40310
|
|
520
508
|
PROXY_CAPATH: Final = 10247
|
|
521
509
|
PROXY_CRLFILE: Final = 10260
|
|
510
|
+
PROXY_ISSUERCERT: Final = 10296
|
|
511
|
+
PROXY_ISSUERCERT_BLOB: Final = 40297
|
|
522
512
|
PROXY_KEYPASSWD: Final = 10258
|
|
523
513
|
PROXY_PINNEDPUBLICKEY: Final = 10263
|
|
524
514
|
PROXY_SERVICE_NAME: Final = 10235
|
|
525
515
|
PROXY_SSLCERT: Final = 10254
|
|
526
516
|
PROXY_SSLCERTTYPE: Final = 10255
|
|
517
|
+
PROXY_SSLCERT_BLOB: Final = 40293
|
|
527
518
|
PROXY_SSLKEY: Final = 10256
|
|
528
519
|
PROXY_SSLKEYTYPE: Final = 10257
|
|
520
|
+
PROXY_SSLKEY_BLOB: Final = 40294
|
|
529
521
|
PROXY_SSLVERSION: Final = 250
|
|
530
522
|
PROXY_SSL_CIPHER_LIST: Final = 10259
|
|
531
523
|
PROXY_SSL_OPTIONS: Final = 261
|
|
@@ -612,11 +604,13 @@ SSH_PUBLIC_KEYFILE: Final = 10152
|
|
|
612
604
|
SSLCERT: Final = 10025
|
|
613
605
|
SSLCERTPASSWD: Final = 10026
|
|
614
606
|
SSLCERTTYPE: Final = 10086
|
|
607
|
+
SSLCERT_BLOB: Final = 40291
|
|
615
608
|
SSLENGINE: Final = 10089
|
|
616
609
|
SSLENGINE_DEFAULT: Final = 90
|
|
617
610
|
SSLKEY: Final = 10087
|
|
618
611
|
SSLKEYPASSWD: Final = 10026
|
|
619
612
|
SSLKEYTYPE: Final = 10088
|
|
613
|
+
SSLKEY_BLOB: Final = 40292
|
|
620
614
|
SSLOPT_ALLOW_BEAST: Final = 1
|
|
621
615
|
SSLOPT_NO_REVOKE: Final = 2
|
|
622
616
|
SSLVERSION: Final = 32
|
|
@@ -671,6 +665,7 @@ TRANSFER_ENCODING: Final = 207
|
|
|
671
665
|
UNIX_SOCKET_PATH: Final = 10231
|
|
672
666
|
UNRESTRICTED_AUTH: Final = 105
|
|
673
667
|
UPLOAD: Final = 46
|
|
668
|
+
UPLOAD_BUFFERSIZE: Final = 280
|
|
674
669
|
URL: Final = 10002
|
|
675
670
|
USERAGENT: Final = 10018
|
|
676
671
|
USERNAME: Final = 10173
|
|
@@ -681,14 +676,18 @@ USESSL_NONE: Final = 0
|
|
|
681
676
|
USESSL_TRY: Final = 1
|
|
682
677
|
USE_SSL: Final = 119
|
|
683
678
|
VERBOSE: Final = 41
|
|
679
|
+
VERSION_ALTSVC: Final = 16777216
|
|
684
680
|
VERSION_ASYNCHDNS: Final = 128
|
|
685
681
|
VERSION_BROTLI: Final = 8388608
|
|
686
682
|
VERSION_CONV: Final = 4096
|
|
687
683
|
VERSION_CURLDEBUG: Final = 8192
|
|
688
684
|
VERSION_DEBUG: Final = 64
|
|
685
|
+
VERSION_GSASL: Final = 536870912
|
|
689
686
|
VERSION_GSSAPI: Final = 131072
|
|
690
687
|
VERSION_GSSNEGOTIATE: Final = 32
|
|
688
|
+
VERSION_HSTS: Final = 268435456
|
|
691
689
|
VERSION_HTTP2: Final = 65536
|
|
690
|
+
VERSION_HTTP3: Final = 33554432
|
|
692
691
|
VERSION_HTTPS_PROXY: Final = 2097152
|
|
693
692
|
VERSION_IDN: Final = 1024
|
|
694
693
|
VERSION_IPV6: Final = 1
|
|
@@ -704,7 +703,9 @@ VERSION_SPNEGO: Final = 256
|
|
|
704
703
|
VERSION_SSL: Final = 4
|
|
705
704
|
VERSION_SSPI: Final = 2048
|
|
706
705
|
VERSION_TLSAUTH_SRP: Final = 16384
|
|
706
|
+
VERSION_UNICODE: Final = 134217728
|
|
707
707
|
VERSION_UNIX_SOCKETS: Final = 524288
|
|
708
|
+
VERSION_ZSTD: Final = 67108864
|
|
708
709
|
WILDCARDMATCH: Final = 197
|
|
709
710
|
WRITEDATA: Final = 10001
|
|
710
711
|
WRITEFUNCTION: Final = 20011
|
|
@@ -2,7 +2,7 @@ import contextlib
|
|
|
2
2
|
import enum
|
|
3
3
|
import sys
|
|
4
4
|
from collections.abc import Callable, Generator, Iterable, Iterator
|
|
5
|
-
from typing import Any, ClassVar
|
|
5
|
+
from typing import Any, ClassVar, cast
|
|
6
6
|
from typing_extensions import Self
|
|
7
7
|
|
|
8
8
|
from pynput._util import AbstractListener
|
|
@@ -25,71 +25,71 @@ class KeyCode:
|
|
|
25
25
|
def from_dead(cls, char: str, **kwargs: Any) -> Self: ...
|
|
26
26
|
|
|
27
27
|
class Key(enum.Enum):
|
|
28
|
-
alt
|
|
29
|
-
alt_l
|
|
30
|
-
alt_r
|
|
31
|
-
alt_gr
|
|
32
|
-
backspace
|
|
33
|
-
caps_lock
|
|
34
|
-
cmd
|
|
35
|
-
cmd_l
|
|
36
|
-
cmd_r
|
|
37
|
-
ctrl
|
|
38
|
-
ctrl_l
|
|
39
|
-
ctrl_r
|
|
40
|
-
delete
|
|
41
|
-
down
|
|
42
|
-
end
|
|
43
|
-
enter
|
|
44
|
-
esc
|
|
45
|
-
f1
|
|
46
|
-
f2
|
|
47
|
-
f3
|
|
48
|
-
f4
|
|
49
|
-
f5
|
|
50
|
-
f6
|
|
51
|
-
f7
|
|
52
|
-
f8
|
|
53
|
-
f9
|
|
54
|
-
f10
|
|
55
|
-
f11
|
|
56
|
-
f12
|
|
57
|
-
f13
|
|
58
|
-
f14
|
|
59
|
-
f15
|
|
60
|
-
f16
|
|
61
|
-
f17
|
|
62
|
-
f18
|
|
63
|
-
f19
|
|
64
|
-
f20
|
|
28
|
+
alt = cast(KeyCode, ...)
|
|
29
|
+
alt_l = cast(KeyCode, ...)
|
|
30
|
+
alt_r = cast(KeyCode, ...)
|
|
31
|
+
alt_gr = cast(KeyCode, ...)
|
|
32
|
+
backspace = cast(KeyCode, ...)
|
|
33
|
+
caps_lock = cast(KeyCode, ...)
|
|
34
|
+
cmd = cast(KeyCode, ...)
|
|
35
|
+
cmd_l = cast(KeyCode, ...)
|
|
36
|
+
cmd_r = cast(KeyCode, ...)
|
|
37
|
+
ctrl = cast(KeyCode, ...)
|
|
38
|
+
ctrl_l = cast(KeyCode, ...)
|
|
39
|
+
ctrl_r = cast(KeyCode, ...)
|
|
40
|
+
delete = cast(KeyCode, ...)
|
|
41
|
+
down = cast(KeyCode, ...)
|
|
42
|
+
end = cast(KeyCode, ...)
|
|
43
|
+
enter = cast(KeyCode, ...)
|
|
44
|
+
esc = cast(KeyCode, ...)
|
|
45
|
+
f1 = cast(KeyCode, ...)
|
|
46
|
+
f2 = cast(KeyCode, ...)
|
|
47
|
+
f3 = cast(KeyCode, ...)
|
|
48
|
+
f4 = cast(KeyCode, ...)
|
|
49
|
+
f5 = cast(KeyCode, ...)
|
|
50
|
+
f6 = cast(KeyCode, ...)
|
|
51
|
+
f7 = cast(KeyCode, ...)
|
|
52
|
+
f8 = cast(KeyCode, ...)
|
|
53
|
+
f9 = cast(KeyCode, ...)
|
|
54
|
+
f10 = cast(KeyCode, ...)
|
|
55
|
+
f11 = cast(KeyCode, ...)
|
|
56
|
+
f12 = cast(KeyCode, ...)
|
|
57
|
+
f13 = cast(KeyCode, ...)
|
|
58
|
+
f14 = cast(KeyCode, ...)
|
|
59
|
+
f15 = cast(KeyCode, ...)
|
|
60
|
+
f16 = cast(KeyCode, ...)
|
|
61
|
+
f17 = cast(KeyCode, ...)
|
|
62
|
+
f18 = cast(KeyCode, ...)
|
|
63
|
+
f19 = cast(KeyCode, ...)
|
|
64
|
+
f20 = cast(KeyCode, ...)
|
|
65
65
|
if sys.platform == "win32":
|
|
66
|
-
f21
|
|
67
|
-
f22
|
|
68
|
-
f23
|
|
69
|
-
f24
|
|
70
|
-
home
|
|
71
|
-
left
|
|
72
|
-
page_down
|
|
73
|
-
page_up
|
|
74
|
-
right
|
|
75
|
-
shift
|
|
76
|
-
shift_l
|
|
77
|
-
shift_r
|
|
78
|
-
space
|
|
79
|
-
tab
|
|
80
|
-
up
|
|
81
|
-
media_play_pause
|
|
82
|
-
media_volume_mute
|
|
83
|
-
media_volume_down
|
|
84
|
-
media_volume_up
|
|
85
|
-
media_previous
|
|
86
|
-
media_next
|
|
87
|
-
insert
|
|
88
|
-
menu
|
|
89
|
-
num_lock
|
|
90
|
-
pause
|
|
91
|
-
print_screen
|
|
92
|
-
scroll_lock
|
|
66
|
+
f21 = cast(KeyCode, ...)
|
|
67
|
+
f22 = cast(KeyCode, ...)
|
|
68
|
+
f23 = cast(KeyCode, ...)
|
|
69
|
+
f24 = cast(KeyCode, ...)
|
|
70
|
+
home = cast(KeyCode, ...)
|
|
71
|
+
left = cast(KeyCode, ...)
|
|
72
|
+
page_down = cast(KeyCode, ...)
|
|
73
|
+
page_up = cast(KeyCode, ...)
|
|
74
|
+
right = cast(KeyCode, ...)
|
|
75
|
+
shift = cast(KeyCode, ...)
|
|
76
|
+
shift_l = cast(KeyCode, ...)
|
|
77
|
+
shift_r = cast(KeyCode, ...)
|
|
78
|
+
space = cast(KeyCode, ...)
|
|
79
|
+
tab = cast(KeyCode, ...)
|
|
80
|
+
up = cast(KeyCode, ...)
|
|
81
|
+
media_play_pause = cast(KeyCode, ...)
|
|
82
|
+
media_volume_mute = cast(KeyCode, ...)
|
|
83
|
+
media_volume_down = cast(KeyCode, ...)
|
|
84
|
+
media_volume_up = cast(KeyCode, ...)
|
|
85
|
+
media_previous = cast(KeyCode, ...)
|
|
86
|
+
media_next = cast(KeyCode, ...)
|
|
87
|
+
insert = cast(KeyCode, ...)
|
|
88
|
+
menu = cast(KeyCode, ...)
|
|
89
|
+
num_lock = cast(KeyCode, ...)
|
|
90
|
+
pause = cast(KeyCode, ...)
|
|
91
|
+
print_screen = cast(KeyCode, ...)
|
|
92
|
+
scroll_lock = cast(KeyCode, ...)
|
|
93
93
|
|
|
94
94
|
class Controller:
|
|
95
95
|
_KeyCode: ClassVar[type[KeyCode]] # undocumented
|
|
@@ -63,24 +63,16 @@ class relativedelta:
|
|
|
63
63
|
@weeks.setter
|
|
64
64
|
def weeks(self, value: int) -> None: ...
|
|
65
65
|
def normalized(self) -> Self: ...
|
|
66
|
-
# TODO: use Union when mypy will handle it properly in overloaded operator
|
|
67
|
-
# methods (#2129, #1442, #1264 in mypy)
|
|
68
66
|
@overload
|
|
69
|
-
def __add__(self, other: relativedelta) -> Self: ...
|
|
70
|
-
@overload
|
|
71
|
-
def __add__(self, other: timedelta) -> Self: ...
|
|
67
|
+
def __add__(self, other: timedelta | relativedelta) -> Self: ...
|
|
72
68
|
@overload
|
|
73
69
|
def __add__(self, other: _DateT) -> _DateT: ...
|
|
74
70
|
@overload
|
|
75
|
-
def __radd__(self, other: relativedelta) -> Self: ...
|
|
76
|
-
@overload
|
|
77
|
-
def __radd__(self, other: timedelta) -> Self: ...
|
|
71
|
+
def __radd__(self, other: timedelta | relativedelta) -> Self: ...
|
|
78
72
|
@overload
|
|
79
73
|
def __radd__(self, other: _DateT) -> _DateT: ...
|
|
80
74
|
@overload
|
|
81
|
-
def __rsub__(self, other: relativedelta) -> Self: ...
|
|
82
|
-
@overload
|
|
83
|
-
def __rsub__(self, other: timedelta) -> Self: ...
|
|
75
|
+
def __rsub__(self, other: timedelta | relativedelta) -> Self: ...
|
|
84
76
|
@overload
|
|
85
77
|
def __rsub__(self, other: _DateT) -> _DateT: ...
|
|
86
78
|
def __sub__(self, other: relativedelta) -> Self: ...
|
|
@@ -170,13 +170,13 @@ class PRINTER_DEFAULTS:
|
|
|
170
170
|
class PyACL:
|
|
171
171
|
def Initialize(self) -> None: ...
|
|
172
172
|
def IsValid(self) -> bool: ...
|
|
173
|
+
@overload
|
|
173
174
|
@deprecated(
|
|
174
175
|
"""\
|
|
175
176
|
Early versions of this function supported only two arguments. \
|
|
176
177
|
This has been deprecated in preference of the three argument version, \
|
|
177
178
|
which reflects the win32 API and the new functions in this module."""
|
|
178
179
|
)
|
|
179
|
-
@overload
|
|
180
180
|
def AddAccessAllowedAce(self, access: int, sid: PySID, /) -> None: ...
|
|
181
181
|
@overload
|
|
182
182
|
def AddAccessAllowedAce(self, revision: int, access: int, sid: PySID, /) -> None: ...
|
|
@@ -184,13 +184,13 @@ which reflects the win32 API and the new functions in this module."""
|
|
|
184
184
|
def AddAccessAllowedObjectAce(
|
|
185
185
|
self, AceRevision, AceFlags, AccessMask, ObjectTypeGuid: PyIID, InheritedObjectTypeGuid: PyIID, sid: PySID, /
|
|
186
186
|
) -> None: ...
|
|
187
|
+
@overload
|
|
187
188
|
@deprecated(
|
|
188
189
|
"""\
|
|
189
190
|
Early versions of this function supported only two arguments. \
|
|
190
191
|
This has been deprecated in preference of the three argument version, \
|
|
191
192
|
which reflects the win32 API and the new functions in this module."""
|
|
192
193
|
)
|
|
193
|
-
@overload
|
|
194
194
|
def AddAccessDeniedAce(self, access: int, sid: PySID, /) -> None: ...
|
|
195
195
|
@overload
|
|
196
196
|
def AddAccessDeniedAce(self, revision: int, access: int, sid: PySID, /) -> None: ...
|
|
@@ -240,6 +240,7 @@ class PyCERTSTORE:
|
|
|
240
240
|
def HCERTSTORE(self): ...
|
|
241
241
|
@overload
|
|
242
242
|
def CertCloseStore(self) -> None: ...
|
|
243
|
+
@overload
|
|
243
244
|
@deprecated(
|
|
244
245
|
"""\
|
|
245
246
|
`Flags` argument has been deprecated as it is likely to crash the process if \
|
|
@@ -247,7 +248,6 @@ class PyCERTSTORE:
|
|
|
247
248
|
always called with `CERT_CLOSE_STORE_CHECK_FLAG`, and support for this \
|
|
248
249
|
param will be dropped at some point in the future."""
|
|
249
250
|
)
|
|
250
|
-
@overload
|
|
251
251
|
def CertCloseStore(self, Flags: int) -> None: ...
|
|
252
252
|
def CertControlStore(self, Flags, CtrlType, CtrlPara: int) -> None: ...
|
|
253
253
|
def CertEnumCertificatesInStore(self) -> list[PyCERT_CONTEXT]: ...
|
|
@@ -114,8 +114,8 @@ class QRBill:
|
|
|
114
114
|
payment_line: bool = True,
|
|
115
115
|
font_factor: int = 1,
|
|
116
116
|
) -> None: ...
|
|
117
|
-
@deprecated("ref_number is deprecated and replaced by reference_number")
|
|
118
117
|
@overload
|
|
118
|
+
@deprecated("ref_number is deprecated and replaced by reference_number")
|
|
119
119
|
def __init__(
|
|
120
120
|
self,
|
|
121
121
|
account: str,
|
|
@@ -135,8 +135,8 @@ class QRBill:
|
|
|
135
135
|
payment_line: bool = True,
|
|
136
136
|
font_factor: int = 1,
|
|
137
137
|
) -> None: ...
|
|
138
|
-
@deprecated("extra_infos is deprecated and replaced by additional_information")
|
|
139
138
|
@overload
|
|
139
|
+
@deprecated("extra_infos is deprecated and replaced by additional_information")
|
|
140
140
|
def __init__(
|
|
141
141
|
self,
|
|
142
142
|
account: str,
|
|
@@ -23,7 +23,7 @@ class OAuth1(AuthBase):
|
|
|
23
23
|
signature_type="AUTH_HEADER",
|
|
24
24
|
rsa_key: Incomplete | None = None,
|
|
25
25
|
verifier: Incomplete | None = None,
|
|
26
|
-
decoding: str = "utf-8",
|
|
26
|
+
decoding: str | None = "utf-8",
|
|
27
27
|
client_class: type[Client] | None = None,
|
|
28
28
|
force_include_body: bool = False,
|
|
29
29
|
*,
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
version = "0.13.2"
|
|
2
2
|
# Requires a version of numpy and matplotlib with a `py.typed` file
|
|
3
|
-
|
|
4
|
-
# TODO: Specifying the python-version for matplotlib should not be necessary,
|
|
5
|
-
# because of the requires_python field. However, this needs changes to
|
|
6
|
-
# get_typeshed_stub_version.py (see there).
|
|
7
|
-
requires = [
|
|
8
|
-
"matplotlib>=3.8; python_version>='3.9'",
|
|
9
|
-
"numpy>=1.20",
|
|
10
|
-
"pandas-stubs",
|
|
11
|
-
]
|
|
12
|
-
# matplotlib>=3.8 requires Python >=3.9
|
|
13
|
-
requires_python = ">=3.9"
|
|
3
|
+
requires = ["matplotlib>=3.8", "numpy>=1.20", "pandas-stubs"]
|
|
14
4
|
upstream_repository = "https://github.com/mwaskom/seaborn"
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
from collections.abc import Callable
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any, overload
|
|
3
|
+
from typing_extensions import deprecated
|
|
3
4
|
|
|
4
5
|
from numpy.typing import ArrayLike, NDArray
|
|
5
6
|
|
|
6
7
|
from .utils import _Seed
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
# @deprecated("Parameter `random_seed` is deprecated in favor of `seed`")
|
|
9
|
+
@overload
|
|
10
|
+
def bootstrap(
|
|
11
|
+
*args: ArrayLike,
|
|
12
|
+
n_boot: int = 10000,
|
|
13
|
+
func: str | Callable[..., Any] = "mean",
|
|
14
|
+
axis: int | None = None,
|
|
15
|
+
units: ArrayLike | None = None,
|
|
16
|
+
seed: _Seed | None = None,
|
|
17
|
+
) -> NDArray[Any]: ...
|
|
18
|
+
@overload
|
|
19
|
+
@deprecated("Parameter `random_seed` is deprecated in favor of `seed`")
|
|
20
20
|
def bootstrap(
|
|
21
21
|
*args: ArrayLike,
|
|
22
22
|
n_boot: int = 10000,
|