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
installs
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())
C++ version.
C++ version is also availabel as here.
history
Project details
Release history Release notifications | RSS feed
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.16.tar.gz
(2.7 kB
view details)
File details
Details for the file getrpimodel-0.1.16.tar.gz
.
File metadata
- Download URL: getrpimodel-0.1.16.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da0dfd24f59429410bd34abcb6868015718ba1de174072a5cf27a45b190b09da |
|
MD5 | 9bb8afec4691dbaccd80cf28edd342f2 |
|
BLAKE2b-256 | 163787e9e2a8d5ec442723531834555af97b574778060046ede919d3bb240155 |