https://github.com/waveform80/pisense
An alternate API for the Raspberry Pi Sense HAT
https://github.com/waveform80/pisense
python raspberry-pi sensehat
Last synced: 5 months ago
JSON representation
An alternate API for the Raspberry Pi Sense HAT
- Host: GitHub
- URL: https://github.com/waveform80/pisense
- Owner: waveform80
- License: bsd-3-clause
- Created: 2015-09-28T14:21:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-07-26T18:44:21.000Z (over 2 years ago)
- Last Synced: 2025-09-02T04:12:49.475Z (5 months ago)
- Topics: python, raspberry-pi, sensehat
- Language: Python
- Homepage: https://pisense.readthedocs.io/
- Size: 723 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
.. -*- rst -*-
=======
pisense
=======
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
.. _official API: https://pythonhosted.org/sense-hat
.. _PIL: https://pillow.readthedocs.io/
.. _numpy: https://numpy.org/
.. _PyPI: http://pypi.org/pypi/pisense/
.. _documentation: http://pisense.readthedocs.io/
.. _source code: https://github.com/waveform80/pisense
.. _bug tracker: https://github.com/waveform80/pisense/issues
.. _BSD license: http://opensource.org/licenses/BSD-3-Clause