An alternative API for the Raspberry Pi Sense HAT
Project description
This package is an alternative interface to the Raspberry Pi Sense HAT. The major difference to the official API is that the various components of the Sense HAT (the screen, the joystick, the environment sensors, etc.) are each represented by separate classes which can be used individually or by the main class which composes them together.
The screen has a few more tricks including support for any fonts that PIL supports, representation as a numpy array (which makes scrolling by assigning slices of a larger image very simple), and bunch of rudimentary animation functions. The joystick, and all sensors, have an iterable interface too.
Links
The code is licensed under the BSD license
The source code can be obtained from GitHub, which also hosts the bug tracker
The documentation (which includes installation, quick-start examples, and lots of code recipes) can be read on ReadTheDocs
Packages can be downloaded from PyPI, but reading the installation instructions is more likely to be useful
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
Built Distribution
File details
Details for the file pisense-0.2.tar.gz
.
File metadata
- Download URL: pisense-0.2.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e58162051088fd13d6d24800cab14a5ca7603879c028cc1f23e433b8a19cbf5f |
|
MD5 | 26ed0df1fa39513439438aae11efe26e |
|
BLAKE2b-256 | c359850a932ac4690df052c2aa0198427d73fee9ecd791ed38052851ae1a9429 |
File details
Details for the file pisense-0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: pisense-0.2-py2.py3-none-any.whl
- Upload date:
- Size: 47.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b905c145b293f7ac1efe63bc12efb3d67d6a09a16f14fa8d22d85a5112a41b63 |
|
MD5 | 38e822eed698121d8828f146e5641563 |
|
BLAKE2b-256 | e97a65cd6a6a1518750efce7f4a9053f810d682118d8153d0f2afad3f36d090a |