basedpyright 1.28.3 → 1.28.4
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/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/_hashlib.pyi +15 -2
- package/dist/typeshed-fallback/stdlib/_socket.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi +7 -4
- package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +2 -178
- package/dist/typeshed-fallback/stdlib/asyncio/base_events.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/builtins.pyi +51 -33
- package/dist/typeshed-fallback/stdlib/configparser.pyi +61 -42
- package/dist/typeshed-fallback/stdlib/contextlib.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/distutils/cmd.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/distutils/dist.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/distutils/fancy_getopt.pyi +15 -5
- package/dist/typeshed-fallback/stdlib/functools.pyi +18 -13
- package/dist/typeshed-fallback/stdlib/getopt.pyi +15 -3
- package/dist/typeshed-fallback/stdlib/hashlib.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/heapq.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/hmac.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/http/server.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/importlib/metadata/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/importlib/readers.pyi +11 -7
- package/dist/typeshed-fallback/stdlib/inspect.pyi +10 -10
- package/dist/typeshed-fallback/stdlib/logging/config.pyi +6 -1
- package/dist/typeshed-fallback/stdlib/math.pyi +33 -3
- package/dist/typeshed-fallback/stdlib/multiprocessing/connection.pyi +9 -9
- package/dist/typeshed-fallback/stdlib/pathlib.pyi +13 -9
- package/dist/typeshed-fallback/stdlib/pkgutil.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/shutil.pyi +9 -5
- package/dist/typeshed-fallback/stdlib/socketserver.pyi +8 -8
- package/dist/typeshed-fallback/stdlib/statistics.pyi +14 -15
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +181 -162
- package/dist/typeshed-fallback/stdlib/types.pyi +27 -4
- package/dist/typeshed-fallback/stdlib/typing.pyi +10 -7
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +95 -48
- package/dist/typeshed-fallback/stdlib/unittest/case.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/xml/dom/NodeFilter.pyi +7 -4
- package/dist/typeshed-fallback/stdlib/xml/dom/__init__.pyi +84 -53
- package/dist/typeshed-fallback/stdlib/xml/dom/expatbuilder.pyi +66 -45
- package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +524 -193
- package/dist/typeshed-fallback/stdlib/xml/dom/pulldom.pyi +70 -55
- package/dist/typeshed-fallback/stdlib/xml/dom/xmlbuilder.pyi +20 -49
- package/dist/typeshed-fallback/stdlib/xml/etree/ElementInclude.pyi +13 -10
- package/dist/typeshed-fallback/stdlib/xml/etree/ElementPath.pyi +19 -12
- package/dist/typeshed-fallback/stdlib/xml/etree/ElementTree.pyi +83 -41
- package/dist/typeshed-fallback/stdlib/xml/sax/_exceptions.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/xml/sax/expatreader.pyi +53 -24
- package/dist/typeshed-fallback/stdlib/xml/sax/handler.pyi +48 -17
- package/dist/typeshed-fallback/stdlib/xml/sax/saxutils.pyi +24 -16
- package/dist/typeshed-fallback/stdlib/xml/sax/xmlreader.pyi +59 -56
- package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +0 -8
- package/dist/typeshed-fallback/stdlib/zipfile/_path/__init__.pyi +32 -52
- package/dist/typeshed-fallback/stubs/Deprecated/deprecated/classic.pyi +6 -1
- package/dist/typeshed-fallback/stubs/Deprecated/deprecated/sphinx.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Pygments/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Pygments/pygments/plugin.pyi +11 -3
- package/dist/typeshed-fallback/stubs/RPi.GPIO/RPi/GPIO/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/WTForms/wtforms/validators.pyi +13 -5
- package/dist/typeshed-fallback/stubs/WebOb/webob/__init__.pyi +15 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/_types.pyi +21 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/acceptparse.pyi +496 -285
- package/dist/typeshed-fallback/stubs/WebOb/webob/byterange.pyi +2 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/cachecontrol.pyi +75 -75
- package/dist/typeshed-fallback/stubs/WebOb/webob/client.pyi +2 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/compat.pyi +24 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/cookies.pyi +39 -34
- package/dist/typeshed-fallback/stubs/WebOb/webob/datetime_utils.pyi +16 -0
- package/dist/typeshed-fallback/stubs/WebOb/webob/dec.pyi +40 -40
- package/dist/typeshed-fallback/stubs/WebOb/webob/descriptors.pyi +23 -34
- package/dist/typeshed-fallback/stubs/WebOb/webob/etag.pyi +11 -18
- package/dist/typeshed-fallback/stubs/WebOb/webob/exc.pyi +70 -7
- package/dist/typeshed-fallback/stubs/WebOb/webob/headers.pyi +20 -2
- package/dist/typeshed-fallback/stubs/WebOb/webob/multidict.pyi +97 -31
- package/dist/typeshed-fallback/stubs/WebOb/webob/request.pyi +70 -79
- package/dist/typeshed-fallback/stubs/WebOb/webob/response.pyi +62 -62
- package/dist/typeshed-fallback/stubs/WebOb/webob/static.pyi +12 -9
- package/dist/typeshed-fallback/stubs/WebOb/webob/util.pyi +2 -5
- package/dist/typeshed-fallback/stubs/atheris/METADATA.toml +4 -0
- package/dist/typeshed-fallback/stubs/boltons/boltons/dictutils.pyi +1 -3
- package/dist/typeshed-fallback/stubs/boltons/boltons/tbutils.pyi +13 -13
- package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/braintree_gateway.pyi +2 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/credit_card.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +40 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_payment_resource.pyi +10 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/paypal_payment_resource_gateway.pyi +10 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/credit_card_numbers.pyi +1 -0
- package/dist/typeshed-fallback/stubs/braintree/braintree/test/nonces.pyi +1 -0
- package/dist/typeshed-fallback/stubs/cffi/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/cffi/_cffi_backend.pyi +8 -8
- package/dist/typeshed-fallback/stubs/cffi/cffi/recompiler.pyi +1 -0
- package/dist/typeshed-fallback/stubs/corus/METADATA.toml +4 -0
- package/dist/typeshed-fallback/stubs/dirhash/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/dirhash/dirhash/__init__.pyi +93 -0
- package/dist/typeshed-fallback/stubs/dirhash/dirhash/cli.pyi +5 -0
- package/dist/typeshed-fallback/stubs/fanstatic/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fanstatic/fanstatic/registry.pyi +8 -3
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fonts.pyi +2 -8
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/geodataframe.pyi +1 -1
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/io/sql.pyi +0 -3
- package/dist/typeshed-fallback/stubs/gevent/gevent/hub.pyi +1 -1
- package/dist/typeshed-fallback/stubs/gevent/gevent/libev/corecext.pyi +1 -1
- package/dist/typeshed-fallback/stubs/gevent/gevent/libev/corecffi.pyi +1 -1
- package/dist/typeshed-fallback/stubs/gevent/gevent/libuv/loop.pyi +1 -1
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/METADATA.toml +0 -1
- package/dist/typeshed-fallback/stubs/greenlet/greenlet/_greenlet.pyi +5 -1
- package/dist/typeshed-fallback/stubs/hdbcli/hdbcli/dbapi.pyi +1 -1
- package/dist/typeshed-fallback/stubs/hnswlib/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/hnswlib/hnswlib.pyi +8 -6
- package/dist/typeshed-fallback/stubs/humanfriendly/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/ibm-db/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +6 -6
- package/dist/typeshed-fallback/stubs/mock/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/mock/mock/backports.pyi +6 -1
- package/dist/typeshed-fallback/stubs/mock/mock/mock.pyi +1 -1
- package/dist/typeshed-fallback/stubs/mysqlclient/MySQLdb/_mysql.pyi +32 -32
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/clique.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/clustering_coefficient.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/connectivity.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/distance_measures.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/dominating_set.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/kcomponents.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/matching.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/maxcut.pyi +8 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/ramsey.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/steinertree.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/traveling_salesman.pyi +33 -23
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/treewidth.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/vertex_cover.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/connectivity.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/correlation.pyi +6 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/mixing.pyi +16 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/neighbor_degree.pyi +7 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/pairs.pyi +6 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/asteroidal.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/basic.pyi +8 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/centrality.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/cluster.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/covering.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/edgelist.pyi +13 -12
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/extendability.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/generators.pyi +22 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matching.pyi +11 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matrix.pyi +9 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/projection.pyi +9 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/redundancy.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/spectral.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/boundary.pyi +53 -58
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bridges.pyi +5 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness.pyi +7 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/betweenness_subset.pyi +10 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/closeness.pyi +7 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_betweenness.pyi +9 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_betweenness_subset.pyi +16 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_closeness.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/eigenvector.pyi +10 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/flow_matrix.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/group.pyi +16 -12
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/harmonic.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/katz.pyi +15 -10
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/laplacian.pyi +6 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/load.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/percolation.pyi +6 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/reaching.pyi +9 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/second_order.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/subgraph_alg.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/trophic.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/voterank_alg.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/chordal.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/clique.pyi +9 -14
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cluster.pyi +10 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/equitable_coloring.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/greedy_coloring.pyi +2 -20
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/communicability_alg.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/asyn_fluid.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/centrality.pyi +5 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/community_utils.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/divisive.pyi +5 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/kclique.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/kernighan_lin.pyi +7 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/label_propagation.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/louvain.pyi +13 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/lukes.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/modularity_max.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/quality.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/biconnected.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/connected.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/semiconnected.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/strongly_connected.pyi +5 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/weakly_connected.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/connectivity.pyi +29 -23
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/cuts.pyi +21 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/disjoint_paths.pyi +17 -16
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_augmentation.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_kcomponents.pyi +7 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcomponents.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcutsets.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/stoerwagner.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/core.pyi +9 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/covering.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cuts.pyi +10 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cycles.pyi +9 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/d_separation.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dag.pyi +13 -10
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_measures.pyi +8 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_regular.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dominance.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dominating.pyi +4 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/efficiency_measures.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/euler.pyi +8 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/boykovkolmogorov.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/capacityscaling.pyi +4 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/dinitz_alg.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/edmondskarp.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/gomory_hu.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/maxflow.pyi +34 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/mincost.pyi +7 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/networksimplex.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/preflowpush.pyi +5 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/shortestaugmentingpath.pyi +6 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/flow/utils.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/graph_hashing.pyi +12 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/graphical.pyi +9 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/hierarchy.pyi +1 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/hybrid.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isolate.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/ismags.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorph.pyi +11 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/isomorphvf2.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/temporalisomorphvf2.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/tree_isomorphism.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/vf2pp.pyi +6 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/vf2userfunc.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/hits_alg.pyi +9 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_analysis/pagerank_alg.pyi +16 -14
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/link_prediction.pyi +9 -10
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/lowest_common_ancestors.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/matching.pyi +7 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/minors/contraction.pyi +10 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/mis.pyi +6 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/moral.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/node_classification.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/non_randomness.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/all.pyi +7 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/binary.pyi +11 -11
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/product.pyi +14 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/operators/unary.pyi +2 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +6 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/polynomials.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/reciprocity.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/regular.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/richclub.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/astar.pyi +22 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/dense.pyi +7 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/generic.pyi +33 -11
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/unweighted.pyi +9 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/shortest_paths/weighted.pyi +116 -30
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/similarity.pyi +69 -55
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/simple_paths.pyi +11 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/smallworld.pyi +6 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/smetric.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/sparsifiers.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/structuralholes.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/summarization.pyi +5 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/swap.pyi +8 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/threshold.pyi +3 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/time_dependent.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tournament.pyi +8 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/beamsearch.pyi +5 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/breadth_first_search.pyi +16 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/depth_first_search.pyi +20 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgebfs.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/traversal/edgedfs.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/branchings.pyi +13 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/coding.pyi +8 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/mst.pyi +22 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/operations.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/recognition.pyi +6 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/triads.pyi +11 -8
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/vitality.pyi +2 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/voronoi.pyi +10 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/walks.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/wiener.pyi +2 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/coreviews.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/graph.pyi +4 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multigraph.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/reportviews.pyi +39 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/time_series.pyi +4 -0
- package/dist/typeshed-fallback/stubs/passlib/passlib/hosts.pyi +3 -1
- package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +19 -19
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor.pyi +6 -0
- package/dist/typeshed-fallback/stubs/psycopg2/psycopg2/_psycopg.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +18 -0
- package/dist/typeshed-fallback/stubs/pygit2/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/build_main.pyi +19 -7
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/building/splash.pyi +18 -16
- package/dist/typeshed-fallback/stubs/pyinstaller/PyInstaller/utils/hooks/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pynput/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pynput/pynput/_util.pyi +4 -4
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/__init__.pyi +4 -2
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +3 -0
- package/dist/typeshed-fallback/stubs/pynput/pynput/mouse/__init__.pyi +6 -3
- package/dist/typeshed-fallback/stubs/pyserial/serial/tools/miniterm.pyi +2 -2
- package/dist/typeshed-fallback/stubs/pytz/pytz/tzinfo.pyi +3 -3
- package/dist/typeshed-fallback/stubs/pywin32/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/pythoncom.pyi +19 -2
- package/dist/typeshed-fallback/stubs/pywin32/win32/lib/win32con.pyi +4895 -4764
- package/dist/typeshed-fallback/stubs/pywin32/win32/lib/win32timezone.pyi +81 -42
- package/dist/typeshed-fallback/stubs/pywin32/win32/lib/winerror.pyi +7258 -2574
- package/dist/typeshed-fallback/stubs/pywin32/win32/servicemanager.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32trace.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pywin32/win32/win32ts.pyi +1 -0
- package/dist/typeshed-fallback/stubs/pywin32/win32com/client/__init__.pyi +3 -1
- package/dist/typeshed-fallback/stubs/regex/regex/regex.pyi +5 -5
- package/dist/typeshed-fallback/stubs/requests/requests/__init__.pyi +12 -13
- package/dist/typeshed-fallback/stubs/requests-oauthlib/requests_oauthlib/oauth1_auth.pyi +3 -0
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +4 -3
- package/dist/typeshed-fallback/stubs/setuptools/distutils/ccompiler.pyi +11 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/compilers/C/base.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/compilers/C/errors.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/distutils/compilers/C/msvc.pyi +1 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/_msvccompiler.pyi +2 -21
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/archive_util.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/ccompiler.pyi +13 -178
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/bdist_rpm.pyi +6 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_clib.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_ext.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_py.pyi +3 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install.pyi +5 -5
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_data.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_lib.pyi +4 -4
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_scripts.pyi +2 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/sdist.pyi +6 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compat/__init__.pyi +6 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/base.pyi +196 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/errors.pyi +6 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/msvc.pyi +24 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/dist.pyi +23 -20
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/errors.pyi +12 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/filelist.pyi +12 -11
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/spawn.pyi +6 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/util.pyi +6 -6
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/command/bdist_wheel.pyi +0 -2
- package/dist/typeshed-fallback/stubs/simplejson/simplejson/encoder.pyi +1 -1
- package/dist/typeshed-fallback/stubs/six/six/moves/builtins.pyi +0 -1
- package/dist/typeshed-fallback/stubs/tqdm/METADATA.toml +4 -1
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/asyncio.pyi +4 -3
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/std.pyi +10 -3
- package/dist/typeshed-fallback/stubs/tree-sitter-languages/METADATA.toml +6 -0
- package/dist/typeshed-fallback/stubs/vobject/vobject/vcard.pyi +15 -8
- package/dist/typeshed-fallback/stubs/watchpoints/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/__init__.pyi +10 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/ast_monkey.pyi +3 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/util.pyi +6 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch.pyi +68 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch_element.pyi +56 -0
- package/dist/typeshed-fallback/stubs/watchpoints/watchpoints/watch_print.pyi +24 -0
- package/dist/typeshed-fallback/stubs/zstd/METADATA.toml +1 -1
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/__init__.pyi +0 -543
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/__init__.pyi +0 -8
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/markers.pyi +0 -13
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/requirements.pyi +0 -14
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/specifiers.pyi +0 -66
- package/dist/typeshed-fallback/stubs/setuptools/pkg_resources/_vendored_packaging/version.pyi +0 -49
|
@@ -15,7 +15,7 @@ def PrepareToHostSingle(klass: Incomplete | None = ..., /) -> None: ...
|
|
|
15
15
|
def PrepareToHostMultiple(service_name: str, klass, /) -> None: ...
|
|
16
16
|
def RunningAsService(): ...
|
|
17
17
|
def SetEventSourceName(sourceName: str, registerNow: bool = ..., /) -> None: ...
|
|
18
|
-
def StartServiceCtrlDispatcher(
|
|
18
|
+
def StartServiceCtrlDispatcher(): ...
|
|
19
19
|
|
|
20
20
|
COINIT_APARTMENTTHREADED: int
|
|
21
21
|
COINIT_DISABLE_OLE1DDE: int
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from win32.lib.pywintypes import error as error
|
|
2
2
|
|
|
3
3
|
def GetHandle(*args): ... # incomplete
|
|
4
|
-
def GetTracer(
|
|
4
|
+
def GetTracer(): ...
|
|
5
5
|
def InitRead(*args): ... # incomplete
|
|
6
6
|
def InitWrite(*args): ... # incomplete
|
|
7
7
|
def TermRead(*args): ... # incomplete
|
|
@@ -3,6 +3,7 @@ from typing import Final
|
|
|
3
3
|
from typing_extensions import TypeAlias
|
|
4
4
|
|
|
5
5
|
import _win32typing
|
|
6
|
+
from pythoncom import com_record
|
|
6
7
|
from win32com.client import dynamic
|
|
7
8
|
|
|
8
9
|
_Stringifiable: TypeAlias = object
|
|
@@ -46,7 +47,8 @@ class EventsProxy:
|
|
|
46
47
|
def DispatchWithEvents(clsid, user_event_class): ...
|
|
47
48
|
def WithEvents(disp, user_event_class): ...
|
|
48
49
|
def getevents(clsid): ...
|
|
49
|
-
def Record(name, object): ...
|
|
50
|
+
def Record(name, object) -> com_record: ...
|
|
51
|
+
def register_record_class(cls) -> None: ...
|
|
50
52
|
|
|
51
53
|
class DispatchBaseClass:
|
|
52
54
|
def __init__(self, oobj: Incomplete | None = ...) -> None: ...
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import sys
|
|
2
|
-
from _typeshed import ReadableBuffer
|
|
2
|
+
from _typeshed import ReadableBuffer, Unused
|
|
3
3
|
from collections.abc import Callable, Mapping
|
|
4
4
|
from typing import Any, AnyStr, Generic, Literal, TypeVar, final, overload
|
|
5
5
|
from typing_extensions import Self
|
|
@@ -568,7 +568,7 @@ class Pattern(Generic[AnyStr]):
|
|
|
568
568
|
timeout: float | None = None,
|
|
569
569
|
) -> _regex.Scanner[bytes]: ...
|
|
570
570
|
def __copy__(self) -> Self: ...
|
|
571
|
-
def __deepcopy__(self) -> Self: ...
|
|
571
|
+
def __deepcopy__(self, memo: Unused, /) -> Self: ...
|
|
572
572
|
if sys.version_info >= (3, 9):
|
|
573
573
|
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
|
|
574
574
|
|
|
@@ -632,8 +632,8 @@ class Match(Generic[AnyStr]):
|
|
|
632
632
|
def ends(self, group: int | str = ..., /) -> list[int]: ...
|
|
633
633
|
@overload
|
|
634
634
|
def ends(self, group1: int | str, group2: int | str, /, *groups: int | str) -> tuple[list[int], ...]: ...
|
|
635
|
-
def expand(self, template: AnyStr) -> AnyStr: ...
|
|
636
|
-
def expandf(self, format: AnyStr) -> AnyStr: ...
|
|
635
|
+
def expand(self, template: AnyStr, /) -> AnyStr: ...
|
|
636
|
+
def expandf(self, format: AnyStr, /) -> AnyStr: ...
|
|
637
637
|
@overload
|
|
638
638
|
def captures(self, group: int | str = ..., /) -> list[AnyStr]: ...
|
|
639
639
|
@overload
|
|
@@ -647,6 +647,6 @@ class Match(Generic[AnyStr]):
|
|
|
647
647
|
@overload
|
|
648
648
|
def __getitem__(self, key: int | str, /) -> AnyStr | Any: ...
|
|
649
649
|
def __copy__(self) -> Self: ...
|
|
650
|
-
def __deepcopy__(self) -> Self: ...
|
|
650
|
+
def __deepcopy__(self, memo: Unused, /) -> Self: ...
|
|
651
651
|
if sys.version_info >= (3, 9):
|
|
652
652
|
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
from . import packages as packages, utils as utils
|
|
2
|
-
from .__version__ import (
|
|
3
|
-
__author__ as __author__,
|
|
4
|
-
__author_email__ as __author_email__,
|
|
5
|
-
__build__ as __build__,
|
|
6
|
-
__cake__ as __cake__,
|
|
7
|
-
__copyright__ as __copyright__,
|
|
8
|
-
__description__ as __description__,
|
|
9
|
-
__license__ as __license__,
|
|
10
|
-
__title__ as __title__,
|
|
11
|
-
__url__ as __url__,
|
|
12
|
-
__version__ as __version__,
|
|
13
|
-
)
|
|
1
|
+
from . import __version__ as version_mod, packages as packages, utils as utils
|
|
14
2
|
from .api import (
|
|
15
3
|
delete as delete,
|
|
16
4
|
get as get,
|
|
@@ -37,4 +25,15 @@ from .models import PreparedRequest as PreparedRequest, Request as Request, Resp
|
|
|
37
25
|
from .sessions import Session as Session, session as session
|
|
38
26
|
from .status_codes import codes as codes
|
|
39
27
|
|
|
28
|
+
__author__ = version_mod.__author__
|
|
29
|
+
__author_email__ = version_mod.__author_email__
|
|
30
|
+
__build__ = version_mod.__build__
|
|
31
|
+
__cake__ = version_mod.__cake__
|
|
32
|
+
__copyright__ = version_mod.__copyright__
|
|
33
|
+
__description__ = version_mod.__description__
|
|
34
|
+
__license__ = version_mod.__license__
|
|
35
|
+
__title__ = version_mod.__title__
|
|
36
|
+
__url__ = version_mod.__url__
|
|
37
|
+
__version__ = version_mod.__version__
|
|
38
|
+
|
|
40
39
|
def check_compatibility(urllib3_version: str, chardet_version: str | None, charset_normalizer_version: str | None) -> None: ...
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from logging import Logger
|
|
3
|
+
from typing import Any
|
|
3
4
|
|
|
4
5
|
from oauthlib.oauth1 import Client
|
|
5
6
|
from requests.auth import AuthBase
|
|
@@ -27,7 +28,9 @@ class OAuth1(AuthBase):
|
|
|
27
28
|
client_class: type[Client] | None = None,
|
|
28
29
|
force_include_body: bool = False,
|
|
29
30
|
*,
|
|
31
|
+
realm: Incomplete | None = None,
|
|
30
32
|
encoding: str = "utf-8",
|
|
31
33
|
nonce: Incomplete | None = None,
|
|
32
34
|
timestamp: Incomplete | None = None,
|
|
35
|
+
**kwargs: Any, # passed to client_class's __init__
|
|
33
36
|
) -> None: ...
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
version = "
|
|
1
|
+
version = "~=76.0.0"
|
|
2
2
|
upstream_repository = "https://github.com/pypa/setuptools"
|
|
3
3
|
extra_description = """\
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
Given that `pkg_resources` is typed since `setuptools >= 71.1`, \
|
|
5
|
+
it is no longer included with `types-setuptools`.
|
|
6
6
|
"""
|
|
7
|
+
requires = ["setuptools"] # For pkg_resources
|
|
7
8
|
|
|
8
9
|
[tool.stubtest]
|
|
9
10
|
# darwin is equivalent to linux for OS-specific methods
|
|
@@ -1 +1,12 @@
|
|
|
1
1
|
from setuptools._distutils.ccompiler import *
|
|
2
|
+
from setuptools._distutils.ccompiler import CCompiler as CCompiler
|
|
3
|
+
|
|
4
|
+
__all__ = [
|
|
5
|
+
"CompileError",
|
|
6
|
+
"LinkError",
|
|
7
|
+
"gen_lib_options",
|
|
8
|
+
"gen_preprocess_options",
|
|
9
|
+
"get_default_compiler",
|
|
10
|
+
"new_compiler",
|
|
11
|
+
"show_compilers",
|
|
12
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from setuptools._distutils.compilers.C.base import *
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from setuptools._distutils.compilers.C.errors import *
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from setuptools._distutils.compilers.C.msvc import *
|
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
from
|
|
2
|
-
from typing import ClassVar, Final
|
|
1
|
+
from .compilers.C import msvc
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
PLAT_SPEC_TO_RUNTIME: Final[dict[str, str]]
|
|
7
|
-
|
|
8
|
-
class MSVCCompiler(CCompiler):
|
|
9
|
-
compiler_type: ClassVar[str]
|
|
10
|
-
executables: ClassVar[dict[Incomplete, Incomplete]]
|
|
11
|
-
src_extensions: ClassVar[list[str]]
|
|
12
|
-
res_extension: ClassVar[str]
|
|
13
|
-
obj_extension: ClassVar[str]
|
|
14
|
-
static_lib_extension: ClassVar[str]
|
|
15
|
-
shared_lib_extension: ClassVar[str]
|
|
16
|
-
shared_lib_format: ClassVar[str]
|
|
17
|
-
static_lib_format = shared_lib_format
|
|
18
|
-
exe_extension: ClassVar[str]
|
|
19
|
-
initialized: bool
|
|
20
|
-
def initialize(self, plat_name: str | None = None) -> None: ...
|
|
21
|
-
@property
|
|
22
|
-
def out_extensions(self) -> dict[str, str]: ...
|
|
3
|
+
MSVCCompiler = msvc.Compiler
|
|
@@ -32,4 +32,4 @@ def make_tarball(
|
|
|
32
32
|
owner: str | None = None,
|
|
33
33
|
group: str | None = None,
|
|
34
34
|
) -> str: ...
|
|
35
|
-
def make_zipfile(base_name: str, base_dir:
|
|
35
|
+
def make_zipfile(base_name: str, base_dir: StrPath, verbose: bool = False, dry_run: bool = False) -> str: ...
|
|
@@ -1,180 +1,15 @@
|
|
|
1
|
-
from
|
|
2
|
-
from
|
|
3
|
-
from
|
|
4
|
-
from typing_extensions import TypeAlias, TypeVarTuple, Unpack
|
|
1
|
+
from .compilers.C import base
|
|
2
|
+
from .compilers.C.base import gen_lib_options, gen_preprocess_options, get_default_compiler, new_compiler, show_compilers
|
|
3
|
+
from .compilers.C.errors import CompileError, LinkError
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
__all__ = [
|
|
6
|
+
"CompileError",
|
|
7
|
+
"LinkError",
|
|
8
|
+
"gen_lib_options",
|
|
9
|
+
"gen_preprocess_options",
|
|
10
|
+
"get_default_compiler",
|
|
11
|
+
"new_compiler",
|
|
12
|
+
"show_compilers",
|
|
13
|
+
]
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
compiler: CCompiler, library_dirs: list[str], runtime_library_dirs: list[str], libraries: list[str]
|
|
13
|
-
) -> list[str]: ...
|
|
14
|
-
def gen_preprocess_options(macros: list[_Macro], include_dirs: list[str]) -> list[str]: ...
|
|
15
|
-
def get_default_compiler(osname: str | None = None, platform: str | None = None) -> str: ...
|
|
16
|
-
def new_compiler(
|
|
17
|
-
plat: str | None = None, compiler: str | None = None, verbose: bool = False, dry_run: bool = False, force: bool = False
|
|
18
|
-
) -> CCompiler: ...
|
|
19
|
-
def show_compilers() -> None: ...
|
|
20
|
-
|
|
21
|
-
class CCompiler:
|
|
22
|
-
src_extensions: ClassVar[list[str] | None]
|
|
23
|
-
obj_extension: ClassVar[str | None]
|
|
24
|
-
static_lib_extension: ClassVar[str | None]
|
|
25
|
-
shared_lib_extension: ClassVar[str | None]
|
|
26
|
-
static_lib_format: ClassVar[str | None]
|
|
27
|
-
shared_lib_format: ClassVar[str | None]
|
|
28
|
-
exe_extension: ClassVar[str | None]
|
|
29
|
-
language_map: ClassVar[dict[str, str]]
|
|
30
|
-
language_order: ClassVar[list[str]]
|
|
31
|
-
dry_run: bool
|
|
32
|
-
force: bool
|
|
33
|
-
verbose: bool
|
|
34
|
-
output_dir: str | None
|
|
35
|
-
macros: list[_Macro]
|
|
36
|
-
include_dirs: list[str]
|
|
37
|
-
libraries: list[str]
|
|
38
|
-
library_dirs: list[str]
|
|
39
|
-
runtime_library_dirs: list[str]
|
|
40
|
-
objects: list[str]
|
|
41
|
-
def __init__(self, verbose: bool = False, dry_run: bool = False, force: bool = False) -> None: ...
|
|
42
|
-
def add_include_dir(self, dir: str) -> None: ...
|
|
43
|
-
def set_include_dirs(self, dirs: list[str]) -> None: ...
|
|
44
|
-
def add_library(self, libname: str) -> None: ...
|
|
45
|
-
def set_libraries(self, libnames: list[str]) -> None: ...
|
|
46
|
-
def add_library_dir(self, dir: str) -> None: ...
|
|
47
|
-
def set_library_dirs(self, dirs: list[str]) -> None: ...
|
|
48
|
-
def add_runtime_library_dir(self, dir: str) -> None: ...
|
|
49
|
-
def set_runtime_library_dirs(self, dirs: list[str]) -> None: ...
|
|
50
|
-
def define_macro(self, name: str, value: str | None = None) -> None: ...
|
|
51
|
-
def undefine_macro(self, name: str) -> None: ...
|
|
52
|
-
def add_link_object(self, object: str) -> None: ...
|
|
53
|
-
def set_link_objects(self, objects: list[str]) -> None: ...
|
|
54
|
-
def detect_language(self, sources: str | list[str]) -> str | None: ...
|
|
55
|
-
def find_library_file(self, dirs: list[str], lib: str, debug: bool = False) -> str | None: ...
|
|
56
|
-
def has_function(
|
|
57
|
-
self,
|
|
58
|
-
funcname: str,
|
|
59
|
-
includes: list[str] | None = None,
|
|
60
|
-
include_dirs: list[str] | None = None,
|
|
61
|
-
libraries: list[str] | None = None,
|
|
62
|
-
library_dirs: list[str] | None = None,
|
|
63
|
-
) -> bool: ...
|
|
64
|
-
def library_dir_option(self, dir: str) -> str: ...
|
|
65
|
-
def library_option(self, lib: str) -> str: ...
|
|
66
|
-
def runtime_library_dir_option(self, dir: str) -> str: ...
|
|
67
|
-
def set_executables(self, **args: str) -> None: ...
|
|
68
|
-
def compile(
|
|
69
|
-
self,
|
|
70
|
-
sources: Sequence[StrPath],
|
|
71
|
-
output_dir: str | None = None,
|
|
72
|
-
macros: list[_Macro] | None = None,
|
|
73
|
-
include_dirs: list[str] | None = None,
|
|
74
|
-
debug: bool = False,
|
|
75
|
-
extra_preargs: list[str] | None = None,
|
|
76
|
-
extra_postargs: list[str] | None = None,
|
|
77
|
-
depends: list[str] | None = None,
|
|
78
|
-
) -> list[str]: ...
|
|
79
|
-
def create_static_lib(
|
|
80
|
-
self,
|
|
81
|
-
objects: list[str],
|
|
82
|
-
output_libname: str,
|
|
83
|
-
output_dir: str | None = None,
|
|
84
|
-
debug: bool = False,
|
|
85
|
-
target_lang: str | None = None,
|
|
86
|
-
) -> None: ...
|
|
87
|
-
def link(
|
|
88
|
-
self,
|
|
89
|
-
target_desc: str,
|
|
90
|
-
objects: list[str],
|
|
91
|
-
output_filename: str,
|
|
92
|
-
output_dir: str | None = None,
|
|
93
|
-
libraries: list[str] | None = None,
|
|
94
|
-
library_dirs: list[str] | None = None,
|
|
95
|
-
runtime_library_dirs: list[str] | None = None,
|
|
96
|
-
export_symbols: list[str] | None = None,
|
|
97
|
-
debug: bool = False,
|
|
98
|
-
extra_preargs: list[str] | None = None,
|
|
99
|
-
extra_postargs: list[str] | None = None,
|
|
100
|
-
build_temp: str | None = None,
|
|
101
|
-
target_lang: str | None = None,
|
|
102
|
-
) -> None: ...
|
|
103
|
-
def link_executable(
|
|
104
|
-
self,
|
|
105
|
-
objects: list[str],
|
|
106
|
-
output_progname: str,
|
|
107
|
-
output_dir: str | None = None,
|
|
108
|
-
libraries: list[str] | None = None,
|
|
109
|
-
library_dirs: list[str] | None = None,
|
|
110
|
-
runtime_library_dirs: list[str] | None = None,
|
|
111
|
-
debug: bool = False,
|
|
112
|
-
extra_preargs: list[str] | None = None,
|
|
113
|
-
extra_postargs: list[str] | None = None,
|
|
114
|
-
target_lang: str | None = None,
|
|
115
|
-
) -> None: ...
|
|
116
|
-
def link_shared_lib(
|
|
117
|
-
self,
|
|
118
|
-
objects: list[str],
|
|
119
|
-
output_libname: str,
|
|
120
|
-
output_dir: str | None = None,
|
|
121
|
-
libraries: list[str] | None = None,
|
|
122
|
-
library_dirs: list[str] | None = None,
|
|
123
|
-
runtime_library_dirs: list[str] | None = None,
|
|
124
|
-
export_symbols: list[str] | None = None,
|
|
125
|
-
debug: bool = False,
|
|
126
|
-
extra_preargs: list[str] | None = None,
|
|
127
|
-
extra_postargs: list[str] | None = None,
|
|
128
|
-
build_temp: str | None = None,
|
|
129
|
-
target_lang: str | None = None,
|
|
130
|
-
) -> None: ...
|
|
131
|
-
def link_shared_object(
|
|
132
|
-
self,
|
|
133
|
-
objects: list[str],
|
|
134
|
-
output_filename: str,
|
|
135
|
-
output_dir: str | None = None,
|
|
136
|
-
libraries: list[str] | None = None,
|
|
137
|
-
library_dirs: list[str] | None = None,
|
|
138
|
-
runtime_library_dirs: list[str] | None = None,
|
|
139
|
-
export_symbols: list[str] | None = None,
|
|
140
|
-
debug: bool = False,
|
|
141
|
-
extra_preargs: list[str] | None = None,
|
|
142
|
-
extra_postargs: list[str] | None = None,
|
|
143
|
-
build_temp: str | None = None,
|
|
144
|
-
target_lang: str | None = None,
|
|
145
|
-
) -> None: ...
|
|
146
|
-
def preprocess(
|
|
147
|
-
self,
|
|
148
|
-
source: str,
|
|
149
|
-
output_file: str | None = None,
|
|
150
|
-
macros: list[_Macro] | None = None,
|
|
151
|
-
include_dirs: list[str] | None = None,
|
|
152
|
-
extra_preargs: list[str] | None = None,
|
|
153
|
-
extra_postargs: list[str] | None = None,
|
|
154
|
-
) -> None: ...
|
|
155
|
-
@overload
|
|
156
|
-
def executable_filename(self, basename: str, strip_dir: Literal[0, False] = 0, output_dir: StrPath = "") -> str: ...
|
|
157
|
-
@overload
|
|
158
|
-
def executable_filename(self, basename: StrPath, strip_dir: Literal[1, True], output_dir: StrPath = "") -> str: ...
|
|
159
|
-
def library_filename(
|
|
160
|
-
self, libname: str, lib_type: str = "static", strip_dir: bool = False, output_dir: StrPath = ""
|
|
161
|
-
) -> str: ...
|
|
162
|
-
def object_filenames(
|
|
163
|
-
self, source_filenames: Iterable[StrPath], strip_dir: bool = False, output_dir: StrPath | None = ""
|
|
164
|
-
) -> list[str]: ...
|
|
165
|
-
@overload
|
|
166
|
-
def shared_object_filename(self, basename: str, strip_dir: Literal[0, False] = 0, output_dir: StrPath = "") -> str: ...
|
|
167
|
-
@overload
|
|
168
|
-
def shared_object_filename(self, basename: StrPath, strip_dir: Literal[1, True], output_dir: StrPath = "") -> str: ...
|
|
169
|
-
def execute(
|
|
170
|
-
self, func: Callable[[Unpack[_Ts]], Unused], args: tuple[Unpack[_Ts]], msg: str | None = None, level: int = 1
|
|
171
|
-
) -> None: ...
|
|
172
|
-
def spawn(self, cmd: MutableSequence[str]) -> None: ...
|
|
173
|
-
def mkpath(self, name: str, mode: int = 0o777) -> None: ...
|
|
174
|
-
@overload
|
|
175
|
-
def move_file(self, src: StrPath, dst: _StrPathT) -> _StrPathT | str: ...
|
|
176
|
-
@overload
|
|
177
|
-
def move_file(self, src: BytesPath, dst: _BytesPathT) -> _BytesPathT | bytes: ...
|
|
178
|
-
def announce(self, msg: str, level: int = 1) -> None: ...
|
|
179
|
-
def warn(self, msg: str) -> None: ...
|
|
180
|
-
def debug_print(self, msg: str) -> None: ...
|
|
15
|
+
CCompiler = base.Compiler
|
|
@@ -4,7 +4,7 @@ from typing import ClassVar
|
|
|
4
4
|
from ..cmd import Command
|
|
5
5
|
|
|
6
6
|
class bdist_rpm(Command):
|
|
7
|
-
description: str
|
|
7
|
+
description: ClassVar[str]
|
|
8
8
|
user_options: ClassVar[list[tuple[str, str | None, str]]]
|
|
9
9
|
boolean_options: ClassVar[list[str]]
|
|
10
10
|
negative_opt: ClassVar[dict[str, str]]
|
|
@@ -41,12 +41,12 @@ class bdist_rpm(Command):
|
|
|
41
41
|
conflicts: Incomplete
|
|
42
42
|
build_requires: Incomplete
|
|
43
43
|
obsoletes: Incomplete
|
|
44
|
-
keep_temp:
|
|
45
|
-
use_rpm_opt_flags:
|
|
46
|
-
rpm3_mode:
|
|
47
|
-
no_autoreq:
|
|
44
|
+
keep_temp: bool
|
|
45
|
+
use_rpm_opt_flags: bool
|
|
46
|
+
rpm3_mode: bool
|
|
47
|
+
no_autoreq: bool
|
|
48
48
|
force_arch: Incomplete
|
|
49
|
-
quiet:
|
|
49
|
+
quiet: bool
|
|
50
50
|
def initialize_options(self) -> None: ...
|
|
51
51
|
def finalize_options(self) -> None: ...
|
|
52
52
|
def finalize_package_data(self) -> None: ...
|
|
@@ -7,7 +7,7 @@ from ..cmd import Command
|
|
|
7
7
|
def show_compilers() -> None: ...
|
|
8
8
|
|
|
9
9
|
class build(Command):
|
|
10
|
-
description: str
|
|
10
|
+
description: ClassVar[str]
|
|
11
11
|
user_options: ClassVar[list[tuple[str, str | None, str]]]
|
|
12
12
|
boolean_options: ClassVar[list[str]]
|
|
13
13
|
help_options: ClassVar[list[tuple[str, str | None, str, Callable[[], Unused]]]]
|
|
@@ -20,7 +20,7 @@ class build(Command):
|
|
|
20
20
|
compiler: Incomplete
|
|
21
21
|
plat_name: Incomplete
|
|
22
22
|
debug: Incomplete
|
|
23
|
-
force:
|
|
23
|
+
force: bool
|
|
24
24
|
executable: Incomplete
|
|
25
25
|
parallel: Incomplete
|
|
26
26
|
def initialize_options(self) -> None: ...
|
package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/build_clib.pyi
CHANGED
|
@@ -5,7 +5,7 @@ from typing import ClassVar
|
|
|
5
5
|
from ..cmd import Command
|
|
6
6
|
|
|
7
7
|
class build_clib(Command):
|
|
8
|
-
description: str
|
|
8
|
+
description: ClassVar[str]
|
|
9
9
|
user_options: ClassVar[list[tuple[str, str, str]]]
|
|
10
10
|
boolean_options: ClassVar[list[str]]
|
|
11
11
|
help_options: ClassVar[list[tuple[str, str | None, str, Callable[[], Unused]]]]
|
|
@@ -16,7 +16,7 @@ class build_clib(Command):
|
|
|
16
16
|
define: Incomplete
|
|
17
17
|
undef: Incomplete
|
|
18
18
|
debug: Incomplete
|
|
19
|
-
force:
|
|
19
|
+
force: bool
|
|
20
20
|
compiler: Incomplete
|
|
21
21
|
def initialize_options(self) -> None: ...
|
|
22
22
|
def finalize_options(self) -> None: ...
|
|
@@ -6,7 +6,7 @@ from ..cmd import Command
|
|
|
6
6
|
from ..extension import Extension
|
|
7
7
|
|
|
8
8
|
class build_ext(Command):
|
|
9
|
-
description: str
|
|
9
|
+
description: ClassVar[str]
|
|
10
10
|
sep_by: Incomplete
|
|
11
11
|
user_options: ClassVar[list[tuple[str, str | None, str]]]
|
|
12
12
|
boolean_options: ClassVar[list[str]]
|
|
@@ -15,7 +15,7 @@ class build_ext(Command):
|
|
|
15
15
|
build_lib: Incomplete
|
|
16
16
|
plat_name: Incomplete
|
|
17
17
|
build_temp: Incomplete
|
|
18
|
-
inplace:
|
|
18
|
+
inplace: bool
|
|
19
19
|
package: Incomplete
|
|
20
20
|
include_dirs: Incomplete
|
|
21
21
|
define: Incomplete
|
|
@@ -4,7 +4,7 @@ from typing import ClassVar
|
|
|
4
4
|
from ..cmd import Command
|
|
5
5
|
|
|
6
6
|
class build_py(Command):
|
|
7
|
-
description: str
|
|
7
|
+
description: ClassVar[str]
|
|
8
8
|
user_options: ClassVar[list[tuple[str, str | None, str]]]
|
|
9
9
|
boolean_options: ClassVar[list[str]]
|
|
10
10
|
negative_opt: ClassVar[dict[str, str]]
|
|
@@ -13,8 +13,8 @@ class build_py(Command):
|
|
|
13
13
|
package: Incomplete
|
|
14
14
|
package_data: Incomplete
|
|
15
15
|
package_dir: Incomplete
|
|
16
|
-
compile:
|
|
17
|
-
optimize:
|
|
16
|
+
compile: bool
|
|
17
|
+
optimize: bool
|
|
18
18
|
force: Incomplete
|
|
19
19
|
def initialize_options(self) -> None: ...
|
|
20
20
|
packages: Incomplete
|
|
@@ -4,7 +4,7 @@ from typing import ClassVar
|
|
|
4
4
|
from ..cmd import Command
|
|
5
5
|
|
|
6
6
|
class install(Command):
|
|
7
|
-
description: str
|
|
7
|
+
description: ClassVar[str]
|
|
8
8
|
user_options: ClassVar[list[tuple[str, str | None, str]]]
|
|
9
9
|
boolean_options: ClassVar[list[str]]
|
|
10
10
|
negative_opt: ClassVar[dict[str, str]]
|
|
@@ -26,10 +26,10 @@ class install(Command):
|
|
|
26
26
|
compile: Incomplete
|
|
27
27
|
optimize: Incomplete
|
|
28
28
|
extra_path: Incomplete
|
|
29
|
-
install_path_file:
|
|
30
|
-
force:
|
|
31
|
-
skip_build:
|
|
32
|
-
warn_dir:
|
|
29
|
+
install_path_file: bool
|
|
30
|
+
force: bool
|
|
31
|
+
skip_build: bool
|
|
32
|
+
warn_dir: bool
|
|
33
33
|
build_base: Incomplete
|
|
34
34
|
build_lib: Incomplete
|
|
35
35
|
record: Incomplete
|
package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_lib.pyi
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
1
|
+
from _typeshed import Incomplete, MaybeNone
|
|
2
2
|
from typing import ClassVar
|
|
3
3
|
|
|
4
4
|
from ..cmd import Command
|
|
5
5
|
|
|
6
6
|
class install_lib(Command):
|
|
7
|
-
description: str
|
|
7
|
+
description: ClassVar[str]
|
|
8
8
|
user_options: ClassVar[list[tuple[str, str | None, str]]]
|
|
9
9
|
boolean_options: ClassVar[list[str]]
|
|
10
10
|
negative_opt: ClassVar[dict[str, str]]
|
|
11
11
|
install_dir: Incomplete
|
|
12
12
|
build_dir: Incomplete
|
|
13
|
-
force:
|
|
13
|
+
force: bool
|
|
14
14
|
compile: Incomplete
|
|
15
15
|
optimize: Incomplete
|
|
16
16
|
skip_build: Incomplete
|
|
@@ -18,7 +18,7 @@ class install_lib(Command):
|
|
|
18
18
|
def finalize_options(self) -> None: ...
|
|
19
19
|
def run(self) -> None: ...
|
|
20
20
|
def build(self) -> None: ...
|
|
21
|
-
def install(self) -> list[str]: ...
|
|
21
|
+
def install(self) -> list[str] | MaybeNone: ...
|
|
22
22
|
def byte_compile(self, files) -> None: ...
|
|
23
23
|
def get_outputs(self): ...
|
|
24
24
|
def get_inputs(self): ...
|
package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_scripts.pyi
CHANGED
|
@@ -4,11 +4,11 @@ from typing import ClassVar
|
|
|
4
4
|
from ..cmd import Command
|
|
5
5
|
|
|
6
6
|
class install_scripts(Command):
|
|
7
|
-
description: str
|
|
7
|
+
description: ClassVar[str]
|
|
8
8
|
user_options: ClassVar[list[tuple[str, str | None, str]]]
|
|
9
9
|
boolean_options: ClassVar[list[str]]
|
|
10
10
|
install_dir: Incomplete
|
|
11
|
-
force:
|
|
11
|
+
force: bool
|
|
12
12
|
build_dir: Incomplete
|
|
13
13
|
skip_build: Incomplete
|
|
14
14
|
def initialize_options(self) -> None: ...
|
|
@@ -18,15 +18,15 @@ class sdist(Command):
|
|
|
18
18
|
READMES: ClassVar[tuple[str, ...]]
|
|
19
19
|
template: Incomplete
|
|
20
20
|
manifest: Incomplete
|
|
21
|
-
use_defaults:
|
|
22
|
-
prune:
|
|
23
|
-
manifest_only:
|
|
24
|
-
force_manifest:
|
|
21
|
+
use_defaults: bool
|
|
22
|
+
prune: bool
|
|
23
|
+
manifest_only: bool
|
|
24
|
+
force_manifest: bool
|
|
25
25
|
formats: Incomplete
|
|
26
|
-
keep_temp:
|
|
26
|
+
keep_temp: bool
|
|
27
27
|
dist_dir: Incomplete
|
|
28
28
|
archive_files: Incomplete
|
|
29
|
-
metadata_check: int
|
|
29
|
+
metadata_check: int # Soon to be updated to boolean upstream
|
|
30
30
|
owner: Incomplete
|
|
31
31
|
group: Incomplete
|
|
32
32
|
def initialize_options(self) -> None: ...
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
from collections.abc import Iterable
|
|
2
|
+
from typing import TypeVar
|
|
3
|
+
|
|
4
|
+
_IterableT = TypeVar("_IterableT", bound=Iterable[str])
|
|
5
|
+
|
|
6
|
+
def consolidate_linker_args(args: _IterableT) -> _IterableT | str: ...
|