Skip to main content

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

Project description


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


pip install getrpimodel


Downloads Downloads Downloads


String: 'Model Name' same string as the 'Model' column value of the following Table, like as "A", "B", "B+", "2 Model B", "3 Model B" and so on.

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())


  • 2018.09.19_version_0.1.13 add "Zero W", "3 Model B+"
  • 2019.11.19_version_0.1.15 add "3 Model A+"

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for getrpimodel, version 0.1.15
Filename, size File type Python version Upload date Hashes
Filename, size getrpimodel-0.1.15.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page