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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
from _typeshed import
|
|
2
|
-
from collections.abc import Generator, Iterable, Iterator
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Generator, Iterable, Iterator
|
|
3
3
|
from typing import overload
|
|
4
4
|
|
|
5
5
|
from networkx.classes.graph import Graph, _Node
|
|
@@ -8,23 +8,18 @@ from networkx.utils.backends import _dispatchable
|
|
|
8
8
|
@_dispatchable
|
|
9
9
|
def enumerate_all_cliques(G: Graph[_Node]) -> Generator[list[_Node], None, None]: ...
|
|
10
10
|
@_dispatchable
|
|
11
|
-
def find_cliques(G: Graph[_Node], nodes:
|
|
11
|
+
def find_cliques(G: Graph[_Node], nodes: Iterable[Incomplete] | None = None) -> Generator[list[_Node], None, None]: ...
|
|
12
12
|
@_dispatchable
|
|
13
|
-
def find_cliques_recursive(G: Graph[_Node], nodes:
|
|
13
|
+
def find_cliques_recursive(G: Graph[_Node], nodes: Iterable[Incomplete] | None = None) -> Iterator[list[_Node]]: ...
|
|
14
14
|
@_dispatchable
|
|
15
|
-
def make_max_clique_graph(G: Graph[_Node], create_using:
|
|
15
|
+
def make_max_clique_graph(G: Graph[_Node], create_using: Graph[_Node] | None = None) -> Graph[_Node]: ...
|
|
16
16
|
@_dispatchable
|
|
17
17
|
def make_clique_bipartite(
|
|
18
|
-
G: Graph[_Node], fpos:
|
|
18
|
+
G: Graph[_Node], fpos: bool | None = None, create_using: Graph[_Node] | None = None, name=None
|
|
19
19
|
) -> Graph[_Node]: ...
|
|
20
20
|
@overload
|
|
21
|
-
def node_clique_number(
|
|
22
|
-
G: Graph[_Node],
|
|
23
|
-
nodes: Iterable[_Node] | None = None,
|
|
24
|
-
cliques: Iterable[Iterable[_Node]] | None = None,
|
|
25
|
-
separate_nodes: Unused = False,
|
|
21
|
+
def node_clique_number(
|
|
22
|
+
G: Graph[_Node], nodes=None, cliques: Iterable[Incomplete] | None = None, separate_nodes=False
|
|
26
23
|
) -> dict[_Node, int]: ...
|
|
27
24
|
@overload
|
|
28
|
-
def node_clique_number(
|
|
29
|
-
G: Graph[_Node], nodes: _Node, cliques: Iterable[Sized] | None = None, separate_nodes: Unused = False
|
|
30
|
-
) -> int: ...
|
|
25
|
+
def node_clique_number(G: Graph[_Node], nodes=None, cliques: Iterable[Incomplete] | None = None, separate_nodes=False) -> int: ...
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
from
|
|
1
|
+
from collections.abc import Iterable
|
|
2
2
|
|
|
3
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
4
|
from networkx.utils.backends import _dispatchable
|
|
4
5
|
|
|
5
6
|
@_dispatchable
|
|
6
|
-
def triangles(G, nodes
|
|
7
|
+
def triangles(G: Graph[_Node], nodes=None): ...
|
|
7
8
|
@_dispatchable
|
|
8
|
-
def average_clustering(
|
|
9
|
+
def average_clustering(
|
|
10
|
+
G: Graph[_Node], nodes: Iterable[_Node] | None = None, weight: str | None = None, count_zeros: bool = True
|
|
11
|
+
): ...
|
|
9
12
|
@_dispatchable
|
|
10
|
-
def clustering(G, nodes
|
|
13
|
+
def clustering(G: Graph[_Node], nodes=None, weight: str | None = None): ...
|
|
11
14
|
@_dispatchable
|
|
12
|
-
def transitivity(G): ...
|
|
15
|
+
def transitivity(G: Graph[_Node]): ...
|
|
13
16
|
@_dispatchable
|
|
14
|
-
def square_clustering(G, nodes:
|
|
17
|
+
def square_clustering(G: Graph[_Node], nodes: Iterable[_Node] | None = None): ...
|
|
15
18
|
@_dispatchable
|
|
16
|
-
def generalized_degree(G, nodes:
|
|
19
|
+
def generalized_degree(G: Graph[_Node], nodes: Iterable[_Node] | None = None): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/coloring/greedy_coloring.pyi
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Generator
|
|
3
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
5
|
from networkx.utils.backends import _dispatchable
|
|
5
6
|
|
|
6
7
|
__all__ = [
|
|
@@ -32,23 +33,4 @@ def strategy_connected_sequential(G, colors, traversal: str = "bfs") -> Generato
|
|
|
32
33
|
@_dispatchable
|
|
33
34
|
def strategy_saturation_largest_first(G, colors) -> Generator[Incomplete, None, Incomplete]: ...
|
|
34
35
|
@_dispatchable
|
|
35
|
-
def greedy_color(G, strategy
|
|
36
|
-
|
|
37
|
-
class _Node:
|
|
38
|
-
node_id: Incomplete
|
|
39
|
-
color: int
|
|
40
|
-
adj_list: Incomplete
|
|
41
|
-
adj_color: Incomplete
|
|
42
|
-
def __init__(self, node_id, n) -> None: ...
|
|
43
|
-
def assign_color(self, adj_entry, color) -> None: ...
|
|
44
|
-
def clear_color(self, adj_entry, color) -> None: ...
|
|
45
|
-
def iter_neighbors(self) -> Generator[Incomplete, None, None]: ...
|
|
46
|
-
def iter_neighbors_color(self, color) -> Generator[Incomplete, None, None]: ...
|
|
47
|
-
|
|
48
|
-
class _AdjEntry:
|
|
49
|
-
node_id: Incomplete
|
|
50
|
-
next: Incomplete
|
|
51
|
-
mate: Incomplete
|
|
52
|
-
col_next: Incomplete
|
|
53
|
-
col_prev: Incomplete
|
|
54
|
-
def __init__(self, node_id) -> None: ...
|
|
36
|
+
def greedy_color(G: Graph[_Node], strategy="largest_first", interchange: bool = False): ...
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
1
2
|
from networkx.utils.backends import _dispatchable
|
|
2
3
|
|
|
3
4
|
@_dispatchable
|
|
4
|
-
def communicability(G): ...
|
|
5
|
+
def communicability(G: Graph[_Node]): ...
|
|
5
6
|
@_dispatchable
|
|
6
|
-
def communicability_exp(G): ...
|
|
7
|
+
def communicability_exp(G: Graph[_Node]): ...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
2
|
from networkx.utils.backends import _dispatchable
|
|
3
|
+
from numpy.random import RandomState
|
|
4
4
|
|
|
5
5
|
@_dispatchable
|
|
6
|
-
def asyn_fluidc(G, k, max_iter: int = 100, seed:
|
|
6
|
+
def asyn_fluidc(G: Graph[_Node], k: int, max_iter: int = 100, seed: int | RandomState | None = None): ...
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from collections.abc import Generator
|
|
2
|
+
from collections.abc import Callable, Generator
|
|
3
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
5
|
from networkx.utils.backends import _dispatchable
|
|
5
6
|
|
|
6
7
|
@_dispatchable
|
|
7
|
-
def girvan_newman(
|
|
8
|
+
def girvan_newman(
|
|
9
|
+
G: Graph[_Node], most_valuable_edge: Callable[..., Incomplete] | None = None
|
|
10
|
+
) -> Generator[Incomplete, None, Incomplete]: ...
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
|
|
3
3
|
import networkx as nx
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
5
|
|
|
5
6
|
__all__ = ["edge_betweenness_partition", "edge_current_flow_betweenness_partition"]
|
|
6
7
|
|
|
7
8
|
@nx._dispatchable
|
|
8
|
-
def edge_betweenness_partition(G, number_of_sets: int, *, weight:
|
|
9
|
+
def edge_betweenness_partition(G: Graph[_Node], number_of_sets: int, *, weight: str | None = None) -> list[Incomplete]: ...
|
|
9
10
|
@nx._dispatchable
|
|
10
|
-
def edge_current_flow_betweenness_partition(
|
|
11
|
+
def edge_current_flow_betweenness_partition(
|
|
12
|
+
G: Graph[_Node], number_of_sets: int, *, weight: str | None = None
|
|
13
|
+
) -> list[Incomplete]: ...
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Generator
|
|
3
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
5
|
from networkx.utils.backends import _dispatchable
|
|
5
6
|
|
|
6
7
|
@_dispatchable
|
|
7
|
-
def k_clique_communities(G, k, cliques
|
|
8
|
+
def k_clique_communities(G: Graph[_Node], k: int, cliques=None) -> Generator[Incomplete, None, None]: ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/kernighan_lin.pyi
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
|
|
3
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
4
|
from networkx.utils.backends import _dispatchable
|
|
5
|
+
from numpy.random import RandomState
|
|
4
6
|
|
|
5
7
|
@_dispatchable
|
|
6
8
|
def kernighan_lin_bisection(
|
|
7
|
-
G
|
|
9
|
+
G: Graph[_Node],
|
|
10
|
+
partition: tuple[Incomplete] | None = None,
|
|
11
|
+
max_iter: int = 10,
|
|
12
|
+
weight: str = "weight",
|
|
13
|
+
seed: int | RandomState | None = None,
|
|
8
14
|
): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/label_propagation.pyi
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Generator
|
|
3
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
5
|
from networkx.utils.backends import _dispatchable
|
|
6
|
+
from numpy.random import RandomState
|
|
5
7
|
|
|
6
8
|
@_dispatchable
|
|
7
9
|
def asyn_lpa_communities(
|
|
8
|
-
G, weight:
|
|
10
|
+
G: Graph[_Node], weight: str | None = None, seed: int | RandomState | None = None
|
|
9
11
|
) -> Generator[Incomplete, Incomplete, None]: ...
|
|
10
12
|
@_dispatchable
|
|
11
|
-
def label_propagation_communities(G): ...
|
|
13
|
+
def label_propagation_communities(G: Graph[_Node]): ...
|
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Generator
|
|
3
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
5
|
from networkx.utils.backends import _dispatchable
|
|
6
|
+
from numpy.random import RandomState
|
|
5
7
|
|
|
6
8
|
@_dispatchable
|
|
7
9
|
def louvain_communities(
|
|
8
|
-
G
|
|
10
|
+
G: Graph[_Node],
|
|
11
|
+
weight: str | None = "weight",
|
|
12
|
+
resolution: float | None = 1,
|
|
13
|
+
threshold: float | None = 1e-07,
|
|
14
|
+
max_level: int | None = None,
|
|
15
|
+
seed: int | RandomState | None = None,
|
|
9
16
|
): ...
|
|
10
17
|
@_dispatchable
|
|
11
18
|
def louvain_partitions(
|
|
12
|
-
G
|
|
19
|
+
G: Graph[_Node],
|
|
20
|
+
weight: str | None = "weight",
|
|
21
|
+
resolution: float | None = 1,
|
|
22
|
+
threshold: float | None = 1e-07,
|
|
23
|
+
seed: int | RandomState | None = None,
|
|
13
24
|
) -> Generator[Incomplete, None, None]: ...
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
2
|
from networkx.utils.backends import _dispatchable
|
|
4
3
|
|
|
5
4
|
@_dispatchable
|
|
6
|
-
def lukes_partitioning(G, max_size, node_weight
|
|
5
|
+
def lukes_partitioning(G: Graph[_Node], max_size: int, node_weight=None, edge_weight=None): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/modularity_max.pyi
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
2
|
from networkx.utils.backends import _dispatchable
|
|
4
3
|
|
|
5
4
|
@_dispatchable
|
|
6
5
|
def greedy_modularity_communities(
|
|
7
|
-
G, weight:
|
|
6
|
+
G: Graph[_Node], weight: str | None = None, resolution: float | None = 1, cutoff: int | None = 1, best_n: int | None = None
|
|
8
7
|
): ...
|
|
9
8
|
@_dispatchable
|
|
10
|
-
def naive_greedy_modularity_communities(G, resolution: float = 1, weight:
|
|
9
|
+
def naive_greedy_modularity_communities(G: Graph[_Node], resolution: float = 1, weight: str | None = None): ...
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
1
2
|
from networkx.exception import NetworkXError
|
|
2
3
|
from networkx.utils.backends import _dispatchable
|
|
3
4
|
|
|
@@ -7,6 +8,6 @@ class NotAPartition(NetworkXError):
|
|
|
7
8
|
def __init__(self, G, collection) -> None: ...
|
|
8
9
|
|
|
9
10
|
@_dispatchable
|
|
10
|
-
def modularity(G, communities, weight: str = "weight", resolution: float = 1): ...
|
|
11
|
+
def modularity(G: Graph[_Node], communities, weight: str | None = "weight", resolution: float = 1): ...
|
|
11
12
|
@_dispatchable
|
|
12
|
-
def partition_quality(G, partition): ...
|
|
13
|
+
def partition_quality(G: Graph[_Node], partition): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/biconnected.pyi
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Generator
|
|
3
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
5
|
from networkx.utils.backends import _dispatchable
|
|
5
6
|
|
|
6
7
|
@_dispatchable
|
|
7
|
-
def is_biconnected(G): ...
|
|
8
|
+
def is_biconnected(G: Graph[_Node]): ...
|
|
8
9
|
@_dispatchable
|
|
9
|
-
def biconnected_component_edges(G) -> Generator[Incomplete, Incomplete, None]: ...
|
|
10
|
+
def biconnected_component_edges(G: Graph[_Node]) -> Generator[Incomplete, Incomplete, None]: ...
|
|
10
11
|
@_dispatchable
|
|
11
|
-
def biconnected_components(G) -> Generator[Incomplete, None, None]: ...
|
|
12
|
+
def biconnected_components(G: Graph[_Node]) -> Generator[Incomplete, None, None]: ...
|
|
12
13
|
@_dispatchable
|
|
13
|
-
def articulation_points(G) -> Generator[Incomplete, None, None]: ...
|
|
14
|
+
def articulation_points(G: Graph[_Node]) -> Generator[Incomplete, None, None]: ...
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Generator
|
|
3
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
5
|
from networkx.utils.backends import _dispatchable
|
|
5
6
|
|
|
6
7
|
@_dispatchable
|
|
7
|
-
def connected_components(G) -> Generator[Incomplete, None, None]: ...
|
|
8
|
+
def connected_components(G: Graph[_Node]) -> Generator[Incomplete, None, None]: ...
|
|
8
9
|
@_dispatchable
|
|
9
|
-
def number_connected_components(G): ...
|
|
10
|
+
def number_connected_components(G: Graph[_Node]): ...
|
|
10
11
|
@_dispatchable
|
|
11
|
-
def is_connected(G): ...
|
|
12
|
+
def is_connected(G: Graph[_Node]): ...
|
|
12
13
|
@_dispatchable
|
|
13
|
-
def node_connected_component(G, n): ...
|
|
14
|
+
def node_connected_component(G: Graph[_Node], n: _Node): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/semiconnected.pyi
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
from
|
|
2
|
-
|
|
1
|
+
from networkx.classes.graph import Graph, _Node
|
|
3
2
|
from networkx.utils.backends import _dispatchable
|
|
4
3
|
|
|
5
4
|
@_dispatchable
|
|
6
|
-
def is_semiconnected(G
|
|
5
|
+
def is_semiconnected(G: Graph[_Node]): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/strongly_connected.pyi
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from collections.abc import Generator
|
|
1
|
+
from collections.abc import Generator
|
|
2
2
|
|
|
3
3
|
from networkx.classes.digraph import DiGraph
|
|
4
4
|
from networkx.classes.graph import Graph, _Node
|
|
@@ -7,10 +7,10 @@ from networkx.utils.backends import _dispatchable
|
|
|
7
7
|
@_dispatchable
|
|
8
8
|
def strongly_connected_components(G: Graph[_Node]) -> Generator[set[_Node], None, None]: ...
|
|
9
9
|
@_dispatchable
|
|
10
|
-
def kosaraju_strongly_connected_components(G: Graph[_Node], source
|
|
10
|
+
def kosaraju_strongly_connected_components(G: Graph[_Node], source=None) -> Generator[set[_Node], None, None]: ...
|
|
11
11
|
@_dispatchable
|
|
12
|
-
def number_strongly_connected_components(G: Graph[
|
|
12
|
+
def number_strongly_connected_components(G: Graph[_Node]) -> int: ...
|
|
13
13
|
@_dispatchable
|
|
14
|
-
def is_strongly_connected(G: Graph[
|
|
14
|
+
def is_strongly_connected(G: Graph[_Node]) -> bool: ...
|
|
15
15
|
@_dispatchable
|
|
16
|
-
def condensation(G: DiGraph[_Node], scc
|
|
16
|
+
def condensation(G: DiGraph[_Node], scc=None) -> DiGraph[int]: ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/components/weakly_connected.pyi
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from collections.abc import Generator
|
|
1
|
+
from collections.abc import Generator
|
|
2
2
|
|
|
3
3
|
from networkx.classes.graph import Graph, _Node
|
|
4
4
|
from networkx.utils.backends import _dispatchable
|
|
@@ -6,6 +6,6 @@ from networkx.utils.backends import _dispatchable
|
|
|
6
6
|
@_dispatchable
|
|
7
7
|
def weakly_connected_components(G: Graph[_Node]) -> Generator[set[_Node], None, None]: ...
|
|
8
8
|
@_dispatchable
|
|
9
|
-
def number_weakly_connected_components(G: Graph[
|
|
9
|
+
def number_weakly_connected_components(G: Graph[_Node]) -> int: ...
|
|
10
10
|
@_dispatchable
|
|
11
|
-
def is_weakly_connected(G: Graph[
|
|
11
|
+
def is_weakly_connected(G: Graph[_Node]) -> bool: ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/connectivity.pyi
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Callable, Iterable
|
|
2
3
|
|
|
3
4
|
from networkx.algorithms.flow import edmonds_karp
|
|
5
|
+
from networkx.classes.digraph import DiGraph
|
|
6
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
7
|
from networkx.utils.backends import _dispatchable
|
|
5
8
|
|
|
6
9
|
__all__ = [
|
|
@@ -11,40 +14,43 @@ __all__ = [
|
|
|
11
14
|
"edge_connectivity",
|
|
12
15
|
"all_pairs_node_connectivity",
|
|
13
16
|
]
|
|
14
|
-
|
|
15
17
|
default_flow_func = edmonds_karp
|
|
16
18
|
|
|
17
19
|
@_dispatchable
|
|
18
20
|
def local_node_connectivity(
|
|
19
|
-
G,
|
|
20
|
-
s,
|
|
21
|
-
t,
|
|
22
|
-
flow_func: Incomplete | None = None,
|
|
23
|
-
auxiliary:
|
|
24
|
-
residual:
|
|
25
|
-
cutoff:
|
|
21
|
+
G: Graph[_Node],
|
|
22
|
+
s: _Node,
|
|
23
|
+
t: _Node,
|
|
24
|
+
flow_func: Callable[..., Incomplete] | None = None,
|
|
25
|
+
auxiliary: DiGraph[_Node] | None = None,
|
|
26
|
+
residual: DiGraph[_Node] | None = None,
|
|
27
|
+
cutoff: float | None = None,
|
|
26
28
|
): ...
|
|
27
29
|
@_dispatchable
|
|
28
|
-
def node_connectivity(
|
|
30
|
+
def node_connectivity(
|
|
31
|
+
G: Graph[_Node], s: _Node | None = None, t: _Node | None = None, flow_func: Callable[..., Incomplete] | None = None
|
|
32
|
+
): ...
|
|
29
33
|
@_dispatchable
|
|
30
|
-
def average_node_connectivity(G, flow_func: Incomplete | None = None): ...
|
|
34
|
+
def average_node_connectivity(G: Graph[_Node], flow_func: Callable[..., Incomplete] | None = None): ...
|
|
31
35
|
@_dispatchable
|
|
32
|
-
def all_pairs_node_connectivity(
|
|
36
|
+
def all_pairs_node_connectivity(
|
|
37
|
+
G: Graph[_Node], nbunch: Iterable[Incomplete] | None = None, flow_func: Callable[..., Incomplete] | None = None
|
|
38
|
+
): ...
|
|
33
39
|
@_dispatchable
|
|
34
40
|
def local_edge_connectivity(
|
|
35
|
-
G,
|
|
36
|
-
s,
|
|
37
|
-
t,
|
|
38
|
-
flow_func: Incomplete | None = None,
|
|
39
|
-
auxiliary:
|
|
40
|
-
residual:
|
|
41
|
-
cutoff:
|
|
41
|
+
G: Graph[_Node],
|
|
42
|
+
s: _Node,
|
|
43
|
+
t: _Node,
|
|
44
|
+
flow_func: Callable[..., Incomplete] | None = None,
|
|
45
|
+
auxiliary: DiGraph[_Node] | None = None,
|
|
46
|
+
residual: DiGraph[_Node] | None = None,
|
|
47
|
+
cutoff: float | None = None,
|
|
42
48
|
): ...
|
|
43
49
|
@_dispatchable
|
|
44
50
|
def edge_connectivity(
|
|
45
|
-
G,
|
|
46
|
-
s:
|
|
47
|
-
t:
|
|
48
|
-
flow_func: Incomplete | None = None,
|
|
49
|
-
cutoff:
|
|
51
|
+
G: Graph[_Node],
|
|
52
|
+
s: _Node | None = None,
|
|
53
|
+
t: _Node | None = None,
|
|
54
|
+
flow_func: Callable[..., Incomplete] | None = None,
|
|
55
|
+
cutoff: float | None = None,
|
|
50
56
|
): ...
|
|
@@ -1,21 +1,37 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Callable
|
|
2
3
|
|
|
3
4
|
from networkx.algorithms.flow import edmonds_karp
|
|
5
|
+
from networkx.classes.digraph import DiGraph
|
|
6
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
7
|
from networkx.utils.backends import _dispatchable
|
|
5
8
|
|
|
6
9
|
__all__ = ["minimum_st_node_cut", "minimum_node_cut", "minimum_st_edge_cut", "minimum_edge_cut"]
|
|
7
|
-
|
|
8
10
|
default_flow_func = edmonds_karp
|
|
9
11
|
|
|
10
12
|
@_dispatchable
|
|
11
13
|
def minimum_st_edge_cut(
|
|
12
|
-
G
|
|
14
|
+
G: Graph[_Node],
|
|
15
|
+
s: _Node,
|
|
16
|
+
t: _Node,
|
|
17
|
+
flow_func: Callable[..., Incomplete] | None = None,
|
|
18
|
+
auxiliary: DiGraph[_Node] | None = None,
|
|
19
|
+
residual: DiGraph[_Node] | None = None,
|
|
13
20
|
): ...
|
|
14
21
|
@_dispatchable
|
|
15
22
|
def minimum_st_node_cut(
|
|
16
|
-
G
|
|
23
|
+
G: Graph[_Node],
|
|
24
|
+
s: _Node,
|
|
25
|
+
t: _Node,
|
|
26
|
+
flow_func: Callable[..., Incomplete] | None = None,
|
|
27
|
+
auxiliary: DiGraph[_Node] | None = None,
|
|
28
|
+
residual: DiGraph[_Node] | None = None,
|
|
17
29
|
): ...
|
|
18
30
|
@_dispatchable
|
|
19
|
-
def minimum_node_cut(
|
|
31
|
+
def minimum_node_cut(
|
|
32
|
+
G: Graph[_Node], s: _Node | None = None, t: _Node | None = None, flow_func: Callable[..., Incomplete] | None = None
|
|
33
|
+
): ...
|
|
20
34
|
@_dispatchable
|
|
21
|
-
def minimum_edge_cut(
|
|
35
|
+
def minimum_edge_cut(
|
|
36
|
+
G: Graph[_Node], s: _Node | None = None, t: _Node | None = None, flow_func: Callable[..., Incomplete] | None = None
|
|
37
|
+
): ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/disjoint_paths.pyi
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from collections.abc import Generator
|
|
2
|
+
from collections.abc import Callable, Generator
|
|
3
3
|
|
|
4
4
|
from networkx.algorithms.flow import edmonds_karp
|
|
5
|
+
from networkx.classes.digraph import DiGraph
|
|
6
|
+
from networkx.classes.graph import Graph, _Node
|
|
5
7
|
from networkx.utils.backends import _dispatchable
|
|
6
8
|
|
|
7
9
|
__all__ = ["edge_disjoint_paths", "node_disjoint_paths"]
|
|
8
|
-
|
|
9
10
|
default_flow_func = edmonds_karp
|
|
10
11
|
|
|
11
12
|
@_dispatchable
|
|
12
13
|
def edge_disjoint_paths(
|
|
13
|
-
G,
|
|
14
|
-
s,
|
|
15
|
-
t,
|
|
16
|
-
flow_func: Incomplete | None = None,
|
|
17
|
-
cutoff:
|
|
18
|
-
auxiliary:
|
|
19
|
-
residual:
|
|
14
|
+
G: Graph[_Node],
|
|
15
|
+
s: _Node,
|
|
16
|
+
t: _Node,
|
|
17
|
+
flow_func: Callable[..., Incomplete] | None = None,
|
|
18
|
+
cutoff: int | None = None,
|
|
19
|
+
auxiliary: DiGraph[_Node] | None = None,
|
|
20
|
+
residual: DiGraph[_Node] | None = None,
|
|
20
21
|
) -> Generator[Incomplete, None, None]: ...
|
|
21
22
|
@_dispatchable
|
|
22
23
|
def node_disjoint_paths(
|
|
23
|
-
G,
|
|
24
|
-
s,
|
|
25
|
-
t,
|
|
26
|
-
flow_func: Incomplete | None = None,
|
|
27
|
-
cutoff:
|
|
28
|
-
auxiliary:
|
|
29
|
-
residual:
|
|
24
|
+
G: Graph[_Node],
|
|
25
|
+
s: _Node,
|
|
26
|
+
t: _Node,
|
|
27
|
+
flow_func: Callable[..., Incomplete] | None = None,
|
|
28
|
+
cutoff: int | None = None,
|
|
29
|
+
auxiliary: DiGraph[_Node] | None = None,
|
|
30
|
+
residual: DiGraph[_Node] | None = None,
|
|
30
31
|
) -> Generator[Incomplete, None, None]: ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_augmentation.pyi
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
from
|
|
1
|
+
from _typeshed import SupportsGetItem
|
|
2
|
+
from collections.abc import Generator
|
|
2
3
|
|
|
3
4
|
from networkx.classes.graph import Graph, _Node
|
|
4
5
|
from networkx.utils.backends import _dispatchable
|
|
5
6
|
|
|
6
7
|
@_dispatchable
|
|
7
|
-
def is_k_edge_connected(G: Graph[
|
|
8
|
+
def is_k_edge_connected(G: Graph[_Node], k: int): ...
|
|
8
9
|
@_dispatchable
|
|
9
|
-
def is_locally_k_edge_connected(G, s, t, k): ...
|
|
10
|
+
def is_locally_k_edge_connected(G: Graph[_Node], s: _Node, t: _Node, k: int): ...
|
|
10
11
|
@_dispatchable
|
|
11
12
|
def k_edge_augmentation(
|
|
12
13
|
G: Graph[_Node],
|
|
13
14
|
k: int,
|
|
14
|
-
avail: tuple[
|
|
15
|
+
avail: set[tuple[int, int]] | set[tuple[int, int, float]] | SupportsGetItem[tuple[int, int], float] | None = None,
|
|
15
16
|
weight: str | None = None,
|
|
16
17
|
partial: bool = False,
|
|
17
18
|
) -> Generator[tuple[_Node, _Node], None, None]: ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/edge_kcomponents.pyi
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Generator
|
|
3
3
|
|
|
4
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
5
|
from networkx.utils.backends import _dispatchable
|
|
5
6
|
|
|
6
7
|
@_dispatchable
|
|
7
|
-
def k_edge_components(G, k): ...
|
|
8
|
+
def k_edge_components(G: Graph[_Node], k: int): ...
|
|
8
9
|
@_dispatchable
|
|
9
|
-
def k_edge_subgraphs(G, k): ...
|
|
10
|
+
def k_edge_subgraphs(G: Graph[_Node], k: int): ...
|
|
10
11
|
@_dispatchable
|
|
11
|
-
def bridge_components(G) -> Generator[Incomplete, Incomplete, None]: ...
|
|
12
|
+
def bridge_components(G: Graph[_Node]) -> Generator[Incomplete, Incomplete, None]: ...
|
|
12
13
|
|
|
13
14
|
class EdgeComponentAuxGraph:
|
|
14
15
|
A: Incomplete
|
|
15
16
|
H: Incomplete
|
|
17
|
+
|
|
16
18
|
@classmethod
|
|
17
19
|
def construct(cls, G): ...
|
|
18
|
-
def k_edge_components(self, k) -> Generator[Incomplete, Incomplete, None]: ...
|
|
19
|
-
def k_edge_subgraphs(self, k) -> Generator[Incomplete, Incomplete, None]: ...
|
|
20
|
+
def k_edge_components(self, k: int) -> Generator[Incomplete, Incomplete, None]: ...
|
|
21
|
+
def k_edge_subgraphs(self, k: int) -> Generator[Incomplete, Incomplete, None]: ...
|
package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/connectivity/kcomponents.pyi
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Callable
|
|
2
3
|
|
|
3
4
|
from networkx.algorithms.flow import edmonds_karp
|
|
5
|
+
from networkx.classes.graph import Graph, _Node
|
|
4
6
|
from networkx.utils.backends import _dispatchable
|
|
5
7
|
|
|
6
8
|
__all__ = ["k_components"]
|
|
7
|
-
|
|
8
9
|
default_flow_func = edmonds_karp
|
|
9
10
|
|
|
10
11
|
@_dispatchable
|
|
11
|
-
def k_components(G, flow_func: Incomplete | None = None): ...
|
|
12
|
+
def k_components(G: Graph[_Node], flow_func: Callable[..., Incomplete] | None = None): ...
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from collections.abc import Generator
|
|
2
|
+
from collections.abc import Callable, Generator
|
|
3
3
|
|
|
4
4
|
from networkx.algorithms.flow import edmonds_karp
|
|
5
|
+
from networkx.classes.graph import Graph, _Node
|
|
5
6
|
from networkx.utils.backends import _dispatchable
|
|
6
7
|
|
|
7
8
|
__all__ = ["all_node_cuts"]
|
|
8
|
-
|
|
9
9
|
default_flow_func = edmonds_karp
|
|
10
10
|
|
|
11
11
|
@_dispatchable
|
|
12
|
-
def all_node_cuts(
|
|
12
|
+
def all_node_cuts(
|
|
13
|
+
G: Graph[_Node], k: int | None = None, flow_func: Callable[..., Incomplete] | None = None
|
|
14
|
+
) -> Generator[Incomplete, None, None]: ...
|