-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path__init__.py
60 lines (39 loc) · 1.02 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
"""
Holes
========
Holes (ho) is a Python package for the pre-processing, manipulation, and
study of the structure, dynamics, and functions of the homological structure of
complex networks.
http://lordgrilo.github.com/
Using
-----
Just write in Python
>>> import Holes as ho
"""
# Copyright (C) 2012-2020 by
# Giovanni Petri <petri.giovanni@gmail.com>
# All rights reserved.
# BSD license.
#
#
from __future__ import absolute_import
import sys, os
if sys.version_info[:2] < (2, 6):
m = "Python version 2.6 or later is required for NetworkX (%d.%d detected)."
raise ImportError(m % sys.version_info[:2])
del sys
import pickle
import numpy as np
import networkx as nx
import pylab
import matplotlib.pyplot as plt
import Holes.classes
from Holes.classes import *
import Holes.drawing
from Holes.drawing import *
import Holes.measures
from Holes.measures import *
import Holes.operations
from Holes.operations import *
import Holes.perseus_utils
from Holes.perseus_utils import *