Skip to content

Commit dc80a77

Browse files
authored
Merge branch 'master' into fix-force-docker-pull
2 parents 4e54af0 + a8791ab commit dc80a77

File tree

270 files changed

+4552
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+4552
-0
lines changed

typeshed/2and3/graphviz/__init__.pyi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Stubs for graphviz (Python 3.5)
2+
#
3+
# NOTE: This dynamically typed stub was automatically generated by stubgen.
4+
5+
# from .backend import ENGINES as ENGINES, ExecutableNotFound as ExecutableNotFound, FORMATS as FORMATS, pipe as pipe, render as render, version as version, view as view
6+
# from .dot import Digraph as Digraph, Graph as Graph
7+
# from .files import Source as Source
8+
# from .lang import nohtml as nohtml
9+
10+
# ENGINES = ENGINES
11+
# FORMATS = FORMATS
12+
# ExecutableNotFound = ExecutableNotFound

typeshed/2and3/graphviz/_compat.pyi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Stubs for graphviz._compat (Python 3.5)
2+
#
3+
# NOTE: This dynamically typed stub was automatically generated by stubgen.
4+
5+
from typing import Any
6+
7+
PY2: Any
8+
string_classes: Any
9+
text_type = unicode
10+
11+
def iteritems(d): ...
12+
def makedirs(name, mode: int = ..., exist_ok: bool = ...): ...
13+
def stderr_write_binary(data): ...
14+
text_type = str

typeshed/2and3/graphviz/backend.pyi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Stubs for graphviz.backend (Python 3.5)
2+
#
3+
# NOTE: This dynamically typed stub was automatically generated by stubgen.
4+
5+
class ExecutableNotFound(RuntimeError):
6+
def __init__(self, args) -> None: ...
7+
8+
def render(engine, format, filepath, quiet: bool = ...): ...
9+
def pipe(engine, format, data, quiet: bool = ...): ...
10+
def version(): ...
11+
def view(filepath): ...

typeshed/2and3/graphviz/dot.pyi

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Stubs for graphviz.dot (Python 3.5)
2+
#
3+
# NOTE: This dynamically typed stub was automatically generated by stubgen.
4+
5+
from . import files
6+
from typing import Any, Optional
7+
8+
class Dot(files.File):
9+
name: Any = ...
10+
comment: Any = ...
11+
graph_attr: Any = ...
12+
node_attr: Any = ...
13+
edge_attr: Any = ...
14+
body: Any = ...
15+
strict: Any = ...
16+
def __init__(self, name: Optional[Any] = ..., comment: Optional[Any] = ..., filename: Optional[Any] = ..., directory: Optional[Any] = ..., format: Optional[Any] = ..., engine: Optional[Any] = ..., encoding: Any = ..., graph_attr: Optional[Any] = ..., node_attr: Optional[Any] = ..., edge_attr: Optional[Any] = ..., body: Optional[Any] = ..., strict: bool = ...) -> None: ...
17+
def clear(self, keep_attrs: bool = ...): ...
18+
def __iter__(self, subgraph: bool = ...): ...
19+
source: Any = ...
20+
def node(self, name, label: Optional[Any] = ..., _attributes: Optional[Any] = ..., **attrs): ...
21+
def edge(self, tail_name, head_name, label: Optional[Any] = ..., _attributes: Optional[Any] = ..., **attrs): ...
22+
def edges(self, tail_head_iter): ...
23+
def attr(self, kw: Optional[Any] = ..., _attributes: Optional[Any] = ..., **attrs): ...
24+
def subgraph(self, graph: Optional[Any] = ..., name: Optional[Any] = ..., comment: Optional[Any] = ..., graph_attr: Optional[Any] = ..., node_attr: Optional[Any] = ..., edge_attr: Optional[Any] = ..., body: Optional[Any] = ...): ...
25+
26+
class SubgraphContext:
27+
parent: Any = ...
28+
graph: Any = ...
29+
def __init__(self, parent, kwargs) -> None: ...
30+
def __enter__(self): ...
31+
def __exit__(self, type_, value, traceback): ...
32+
33+
class Graph(Dot):
34+
@property
35+
def directed(self): ...
36+
37+
class Digraph(Dot):
38+
@property
39+
def directed(self): ...

typeshed/2and3/graphviz/files.pyi

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Stubs for graphviz.files (Python 3.5)
2+
#
3+
# NOTE: This dynamically typed stub was automatically generated by stubgen.
4+
5+
from typing import Any, Optional
6+
7+
class Base:
8+
@property
9+
def format(self): ...
10+
@format.setter
11+
def format(self, format): ...
12+
@property
13+
def engine(self): ...
14+
@engine.setter
15+
def engine(self, engine): ...
16+
@property
17+
def encoding(self): ...
18+
@encoding.setter
19+
def encoding(self, encoding): ...
20+
def copy(self): ...
21+
22+
class File(Base):
23+
directory: str = ...
24+
filename: Any = ...
25+
format: Any = ...
26+
engine: Any = ...
27+
encoding: Any = ...
28+
def __init__(self, filename: Optional[Any] = ..., directory: Optional[Any] = ..., format: Optional[Any] = ..., engine: Optional[Any] = ..., encoding: Any = ...) -> None: ...
29+
def pipe(self, format: Optional[Any] = ...): ...
30+
@property
31+
def filepath(self): ...
32+
def save(self, filename: Optional[Any] = ..., directory: Optional[Any] = ...): ...
33+
def render(self, filename: Optional[Any] = ..., directory: Optional[Any] = ..., view: bool = ..., cleanup: bool = ...): ...
34+
def view(self, filename: Optional[Any] = ..., directory: Optional[Any] = ..., cleanup: bool = ...): ...
35+
36+
class Source(File):
37+
@classmethod
38+
def from_file(cls, filename, directory: Optional[Any] = ..., format: Optional[Any] = ..., engine: Optional[Any] = ..., encoding: Any = ...): ...
39+
source: Any = ...
40+
def __init__(self, source, filename: Optional[Any] = ..., directory: Optional[Any] = ..., format: Optional[Any] = ..., engine: Optional[Any] = ..., encoding: Any = ...) -> None: ...

typeshed/2and3/graphviz/lang.pyi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Stubs for graphviz.lang (Python 3.5)
2+
#
3+
# NOTE: This dynamically typed stub was automatically generated by stubgen.
4+
5+
from typing import Any, Optional
6+
7+
def quote(identifier, html: Any = ..., valid_id: Any = ..., dot_keywords: Any = ...): ...
8+
def quote_edge(identifier): ...
9+
def a_list(label: Optional[Any] = ..., kwargs: Optional[Any] = ..., attributes: Optional[Any] = ...): ...
10+
def attr_list(label: Optional[Any] = ..., kwargs: Optional[Any] = ..., attributes: Optional[Any] = ...): ...
11+
12+
class NoHtml: ...

typeshed/2and3/graphviz/tools.pyi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Stubs for graphviz.tools (Python 3.5)
2+
#
3+
# NOTE: This dynamically typed stub was automatically generated by stubgen.
4+
5+
from typing import Any
6+
7+
def attach(object, name): ...
8+
def mkdirs(filename, mode: int = ...): ...
9+
def mapping_items(mapping, _iteritems: Any = ...): ...

typeshed/2and3/networkx/__init__.pyi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Stubs for networkx (Python 3.5)
2+
#
3+
# NOTE: This dynamically typed stub was automatically generated by stubgen.
4+
5+
from typing import Any
6+
7+
m: str
8+
__license__: Any
9+
__date__: Any
10+
__bibtex__: str
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Stubs for networkx.algorithms (Python 3.5)
2+
#
3+
# NOTE: This dynamically typed stub was automatically generated by stubgen.
4+
5+
from networkx.algorithms.assortativity import *
6+
from networkx.algorithms.boundary import *
7+
from networkx.algorithms.bridges import *
8+
from networkx.algorithms.chains import *
9+
from networkx.algorithms.centrality import *
10+
from networkx.algorithms.chordal import *
11+
from networkx.algorithms.cluster import *
12+
from networkx.algorithms.clique import *
13+
from networkx.algorithms.communicability_alg import *
14+
from networkx.algorithms.components import *
15+
from networkx.algorithms.coloring import *
16+
from networkx.algorithms.core import *
17+
from networkx.algorithms.covering import *
18+
from networkx.algorithms.cycles import *
19+
from networkx.algorithms.cuts import *
20+
from networkx.algorithms.dag import *
21+
from networkx.algorithms.distance_measures import *
22+
from networkx.algorithms.distance_regular import *
23+
from networkx.algorithms.dominance import *
24+
from networkx.algorithms.dominating import *
25+
from networkx.algorithms.efficiency import *
26+
from networkx.algorithms.euler import *
27+
from networkx.algorithms.graphical import *
28+
from networkx.algorithms.hierarchy import *
29+
from networkx.algorithms.hybrid import *
30+
from networkx.algorithms.link_analysis import *
31+
from networkx.algorithms.link_prediction import *
32+
from networkx.algorithms.lowest_common_ancestors import *
33+
from networkx.algorithms.isolate import *
34+
from networkx.algorithms.matching import *
35+
from networkx.algorithms.minors import *
36+
from networkx.algorithms.mis import *
37+
from networkx.algorithms.operators import *
38+
from networkx.algorithms.reciprocity import *
39+
from networkx.algorithms.richclub import *
40+
from networkx.algorithms.shortest_paths import *
41+
from networkx.algorithms.similarity import *
42+
from networkx.algorithms.simple_paths import *
43+
from networkx.algorithms.smetric import *
44+
from networkx.algorithms.structuralholes import *
45+
from networkx.algorithms.triads import *
46+
from networkx.algorithms.swap import *
47+
from networkx.algorithms.traversal import *
48+
from networkx.algorithms.vitality import *
49+
from networkx.algorithms.voronoi import *
50+
from networkx.algorithms.wiener import *
51+
from networkx.algorithms.tree.coding import *
52+
from networkx.algorithms.tree.operations import *
53+
from networkx.algorithms.tree.recognition import *
54+
from networkx.algorithms.tree.mst import *
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Stubs for networkx.algorithms.approximation (Python 3.5)
2+
#
3+
# NOTE: This dynamically typed stub was automatically generated by stubgen.
4+
5+
from networkx.algorithms.approximation.clustering_coefficient import *
6+
from networkx.algorithms.approximation.clique import *
7+
from networkx.algorithms.approximation.connectivity import *
8+
from networkx.algorithms.approximation.dominating_set import *
9+
from networkx.algorithms.approximation.kcomponents import *
10+
from networkx.algorithms.approximation.independent_set import *
11+
from networkx.algorithms.approximation.matching import *
12+
from networkx.algorithms.approximation.ramsey import *
13+
from networkx.algorithms.approximation.steinertree import *
14+
from networkx.algorithms.approximation.vertex_cover import *

0 commit comments

Comments
 (0)