As Thermostat Python scripts are not single-file Python modules and should be packaged inside PyThermostat.
Pytec is a misnomer, as the Thermostat is not limited to just controlling TEC modules. The library also interfaces with and controls the Thermostat itself, and not the TEC module directly. See M-Labs/thermostat#149 (comment)