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
- 2018.09.19_version_0.1.13 add "Zero W", "3 Model B+"
- 2018.11.19_version_0.1.15 add "3 Model A+"
- 2020.05.01_version_0.1.16 merge pr1 for adding model 4B by shingon, thank you!
- 2020.05.01_version_0.1.16 add "Compute Module 3+"
- 2020.05.01_version_0.1.16 add missing b+ of rev "900032"
- 2020.09.05_version_0.1.17 fix issue#2. Thanks goszpeti!
- 2020.09.08_version_0.1.19 merge issue#3. Thanks Fabian Affolter!
- 2021.03.25_version_0.1.20 add rev 1.4 PCB's of RPi4
- 2022.02.16_version_0.1.21 merge issue#4. Thanks SimonLamy!
- 2023.02.14_version_0.1.22 merge issue#5. Thanks Sergei Guselnikov!
- 2023.02.14_version_0.1.23 add rev 1.5 PCB's of RPi4
- 2024.04.08_version_0.1.24 add rev 1.1 PCB's of 3A+ and CM, rev 1.2 PCB of 2B (with BCM2837), rev 1.3 PCB's of 3B and 3B+, rev 1.4 PCB's of 3B+, rev 1.5 PCB's of 4B, Pi400, CM4, 5
- 2024.05.27_version_0.1.25 fix issue#6.
- 2024.08.29_version_0.1.26 update.
Metadata
Release files for getrpimodel 0.1.26
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| getrpimodel-0.1.26.tar.gz | 4.0 kB | Without provenance | Details for getrpimodel-0.1.26.tar.gz |
Release files / getrpimodel-0.1.26.tar.gz
| Download URL | getrpimodel-0.1.26.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67dabdf1565b4f4a477b481f8b0f11c3a3d84594dc9a3f6e8d8e62c1e32824db
|
|
BLAKE2b-256 checksum How to use checksums |
0a16c3010a1b9672f82943d5a419be8096d45012803991cb13b65effcb03059d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for getrpimodel 0.1.26
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.