Skip to main content

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

Project description

getrpimodel

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

install

pip install getrpimodel

return

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

history

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

Project details


Download files

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

Source Distribution

getrpimodel-0.1.14.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file getrpimodel-0.1.14.tar.gz.

File metadata

  • Download URL: getrpimodel-0.1.14.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.13

File hashes

Hashes for getrpimodel-0.1.14.tar.gz
Algorithm Hash digest
SHA256 2270569f5aca39a2daf677c59b54459849b2916232b198fceed1ba4a0dcfdf69
MD5 1598a2e3217e8ab72872882eb685757b
BLAKE2b-256 f17080acc14d2e91e658bc086df49905572ef50cfae2e951d61e7d18cda4adb2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page