Detailed information about Raspberry Pi version
Project description
RPi.version
This library provides a break down of the new 32bit revision bitfield, detailing the Pi type, origins, amount of memory and CPU details.
Reference
Start with:
import RPi.version
Processor version:
RPi.version.processor
Memory amount ( in MB ):
RPi.version.memory
Raspberry Pi Type:
RPi.version.type
Manufacturer:
RPi.version.manufacturer
Revision:
RPi.version.revision
Pi Model, returns either A, B or CM for Computer Module.
RPi.version.model
Pi version, returns either 1 or 2 for Pi 2
RPi.version.version
Info, returns all info as a dictionary
RPi.version.info
Changelog
2.0
Support for Python 3.x
Entry point for rpi-version
Linting fixes and cleanup
Declare namespace to avoid clobbering RPi.GPIO
1.2
Fixed python -m RPi.version functionality
1.1
Added model and version
1.0
First release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file RPi.version-2.0-py3-none-any.whl
.
File metadata
- Download URL: RPi.version-2.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ef7ee33616051c05ed75a72259ce843884ab57f4e6ce55840c35b0e229dbb13 |
|
MD5 | 45eb06fbccf84a918fc55d4014da5ebe |
|
BLAKE2b-256 | 0a82a77301dc4765a1e7f5a1d5051b7bdff1ecbf21a93bfa7e1708c6c1942f83 |
File details
Details for the file RPi.version-2.0-py2-none-any.whl
.
File metadata
- Download URL: RPi.version-2.0-py2-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5194cdec178bd33a406feadabb69315dd2a3d7c8f24d96e10a6cdc0ef68c4685 |
|
MD5 | 78ebcefac9efa5362b8be400bc883e0e |
|
BLAKE2b-256 | 3211dfc0293e2cf248f3229dffdba443b5aa9087ef2b31bbc5ea0f5ee14bdeb6 |