Get Raspberry Pi model Name(eg: A, B, B ...)
pip install getrpimodel
The 'Model' string of the following Table.
Miner info in parentheses, like (Beta), (ECN0001), or (with BCM2837) are removed; or appear with '--s' option, or 'model_strict()' function.
python -m getrpimodel [--s]
import getrpimodel
print (getrpimodel.model())
print (getrpimodel.model_strict())