The Python Tight Binding (PyTH)is a software package that calculates the tight binding approximation for the electronic structure of solids with any dimension. The package was developed by the group of David Vanderbilt at Rutgers University and is open source.