Skip to content

Raspberry Pi version information module for Python, useful for debugging and model detection

Notifications You must be signed in to change notification settings

DirkUK/RPi.version

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Raspberry Pi version information module for Python, useful for debugging and model detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%