Skip to content

Commit

Permalink
feat: better __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLapous committed Oct 4, 2024
1 parent 9b2fd00 commit e0570d5
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions multipers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
from importlib.metadata import version as _version

__version__ = _version("multipers")
# Doc
import multipers.io
import multipers.multiparameter_module_approximation
import multipers.simplex_tree_multi
import multipers.slicer
import multipers.data
import multipers.grids
from multipers import (
data,
grids,
io,
multiparameter_module_approximation,
simplex_tree_multi,
slicer,
)
from multipers._signed_measure_meta import signed_measure
from multipers._slicer_meta import Slicer
from multipers.multiparameter_module_approximation import module_approximation

# Shortcuts
from multipers.simplex_tree_multi import SimplexTreeMulti

__all__ = [
"signed_measure",
"module_approximation",
"Slicer",
"SimplexTreeMulti",
"data",
"grids",
"io",
"multiparameter_module_approximation",
"slicer",
"simplex_tree_multi",
]

0 comments on commit e0570d5

Please sign in to comment.