Skip to content

daukantas/getrpimodel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getrpimodel

Get Raspberry Pi model Name(eg: A, B, B ...)

install

pip install getrpimodel

return

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.

How to use

as python program.

python -m getrpimodel [--s] 

as python library.

import getrpimodel

print (getrpimodel.model())
print (getrpimodel.model_strict())

About

Get Raspberry Pi model Name(eg: A, B, B ...)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%