Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/networkx/__init__.py @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4f3585e2f14b |
---|---|
1 """ | |
2 NetworkX | |
3 ======== | |
4 | |
5 NetworkX is a Python package for the creation, manipulation, and study of the | |
6 structure, dynamics, and functions of complex networks. | |
7 | |
8 See https://networkx.github.io for complete documentation. | |
9 """ | |
10 | |
11 import sys | |
12 | |
13 if sys.version_info[:2] < (3, 6): | |
14 m = "Python 3.6 or later is required for NetworkX (%d.%d detected)." | |
15 raise ImportError(m % sys.version_info[:2]) | |
16 del sys | |
17 | |
18 # Release data | |
19 from networkx import release | |
20 | |
21 | |
22 __author__ = ( | |
23 f"{release.authors['Hagberg'][0]} <{release.authors['Hagberg'][1]}>\n" | |
24 f"{release.authors['Schult'][0]} <{release.authors['Schult'][1]}>\n" | |
25 f"{release.authors['Swart'][0]} <{release.authors['Swart'][1]}>" | |
26 ) | |
27 | |
28 __date__ = release.date | |
29 __version__ = release.version | |
30 | |
31 __bibtex__ = """@inproceedings{hagberg-2008-exploring, | |
32 author = {Aric A. Hagberg and Daniel A. Schult and Pieter J. Swart}, | |
33 title = {Exploring network structure, dynamics, and function using {NetworkX}}, | |
34 year = {2008}, | |
35 month = Aug, | |
36 urlpdf = {http://math.lanl.gov/~hagberg/Papers/hagberg-2008-exploring.pdf}, | |
37 booktitle = {Proceedings of the 7th Python in Science Conference (SciPy2008)}, | |
38 editors = {G\"{a}el Varoquaux, Travis Vaught, and Jarrod Millman}, | |
39 address = {Pasadena, CA USA}, | |
40 pages = {11--15} | |
41 }""" | |
42 | |
43 # These are import orderwise | |
44 from networkx.exception import * | |
45 import networkx.utils | |
46 | |
47 import networkx.classes.filters | |
48 import networkx.classes | |
49 from networkx.classes import * | |
50 | |
51 import networkx.convert | |
52 from networkx.convert import * | |
53 | |
54 import networkx.convert_matrix | |
55 from networkx.convert_matrix import * | |
56 | |
57 | |
58 import networkx.relabel | |
59 from networkx.relabel import * | |
60 | |
61 import networkx.generators | |
62 from networkx.generators import * | |
63 | |
64 import networkx.readwrite | |
65 from networkx.readwrite import * | |
66 | |
67 # Need to test with SciPy, when available | |
68 import networkx.algorithms | |
69 from networkx.algorithms import * | |
70 import networkx.linalg | |
71 | |
72 from networkx.linalg import * | |
73 from networkx.testing.test import run as test | |
74 | |
75 import networkx.drawing | |
76 from networkx.drawing import * |