-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #214, Fixing module import structure to conform to python best …
…practices.
- Loading branch information
1 parent
011d6b9
commit f06d339
Showing
8 changed files
with
42 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,4 @@ | ||
__version__ = "0.0.2" | ||
|
||
from toponetx.exception import ( | ||
TopoNetXError, | ||
TopoNetXException, | ||
TopoNetXNotImplementedError, | ||
) | ||
|
||
from .classes.cell import Cell | ||
from .classes.cell_complex import CellComplex | ||
from .classes.combinatorial_complex import CombinatorialComplex | ||
from .classes.complex import Complex | ||
from .classes.hyperedge import HyperEdge | ||
from .classes.reportviews import CellView, HyperEdgeView, NodeView, SimplexView | ||
from .classes.simplex import Simplex | ||
from .classes.simplicial_complex import SimplicialComplex | ||
from .datasets.graph import karate_club | ||
from .datasets.mesh import coseg, shrec_16, stanford_bunny | ||
from .transform.graph_to_cell_complex import homology_cycle_cell_complex | ||
from .transform.graph_to_simplicial_complex import ( | ||
graph_2_clique_complex, | ||
graph_2_neighbor_complex, | ||
graph_to_clique_complex, | ||
graph_to_neighbor_complex, | ||
) | ||
from .utils.structure import ( | ||
neighborhood_list_to_neighborhood_dict, | ||
sparse_array_to_neighborhood_dict, | ||
sparse_array_to_neighborhood_list, | ||
) | ||
__all__ = ["algorithms", "classes", "datasets", "transform", "utils"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from toponetx.algorithms.spectrum import * | ||
from .spectrum import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,23 @@ | ||
from .cell import * | ||
from .cell_complex import * | ||
from .combinatorial_complex import * | ||
from .complex import * | ||
from .hyperedge import * | ||
from .reportviews import * | ||
from .simplex import * | ||
from .simplicial_complex import * | ||
from .cell import Cell | ||
from .cell_complex import CellComplex | ||
from .combinatorial_complex import CombinatorialComplex | ||
from .complex import Atom, Complex | ||
from .hyperedge import HyperEdge | ||
from .reportviews import CellView, HyperEdgeView, NodeView, SimplexView | ||
from .simplex import Simplex | ||
from .simplicial_complex import SimplicialComplex | ||
|
||
__all__ = [ | ||
"CellComplex", | ||
"Cell", | ||
"CombinatorialComplex", | ||
"Atom", | ||
"Complex", | ||
"HyperEdge", | ||
"HyperEdgeView", | ||
"CellView", | ||
"SimplexView", | ||
"NodeView", | ||
"Simplex", | ||
"SimplicialComplex", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters