Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

1.2

  • Fixed python -m RPi.version functionality

1.1

  • Added model and version

1.0

  • First release
Release History

Release History

This version
History Node

1.2

History Node

1.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
RPi.version-1.2.tar.gz (3.7 kB) Copy SHA256 Checksum SHA256 Source Feb 4, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting