Coverage for tbkit/__init__.py: 100%
9 statements
« prev ^ index » next coverage.py v7.16.0, created at 2026-09-22 13:16 +0100
« prev ^ index » next coverage.py v7.16.0, created at 2026-09-22 13:16 +0100
1# Copyright 2014 Charles Poli.
2#
3# This file is part of TBKIT. It is subject to the license terms in the
4# LICENSE file found in the top-level directory of this distribution and at
5# https://github.com/cpoli/tbkit.
7"""tbkit: build and solve Tight-Binding models."""
9__version__ = "0.2.0"
11__all__ = [
12 "Lattice", "System", "Plot", "Propagation", "Save", "KSpace",
13 "reciprocal_vectors", "error_handling",
14]
16# NOTE: these are explicit imports, not `from tbkit.<module> import *`.
17# A wildcard import here would rebind the `tbkit.<module>` submodule
18# attributes to the classes they define (since e.g. tbkit/lattice.py both
19# *is* the submodule `tbkit.lattice` and defines a `lattice` alias of the
20# same name), breaking `import tbkit.lattice as lattice`-style imports.
21from tbkit.lattice import Lattice
22from tbkit.system import System
23from tbkit.plot import Plot
24from tbkit.propagation import Propagation
25from tbkit.save import Save
26from tbkit.kspace import KSpace, reciprocal_vectors
27import tbkit.error_handling