README
Blinkter makes using the Pimoroni Blinkt! even easier by making the library object oriented and adding several convenience methods. The intuitive objects that Blinkter layers on top of the Blinkt! python library greatly improve ease of use and reduce development times.
Installation
Easy Way
pip install blinkter
Harder way
If you want to play around with the Blinkter code, the following steps will guide you through getting the repository and installing the library from your code.
- Make sure that
setuptoolsis installed.
pip install setuptools
- Next, clone this repository with
git clone https://github.com/speratus/Blinkter.git
- Once the repository is downloaded, install it using this command:
python setup.py install
That's all there is to it. You should be ready to go in no time at all.
Installing into a virtual environment.
Installing Blinkter into a virtual environment is not much harder than a regular installation of Blinkter. Follow steps 1 and 2 as you normally would, but before executing step 3, make sure that your virtual environment is activated.
Linux
In linux (and Raspbian), the command is,
source <ENVIRONMENT_NAME>/bin/activate
Windows
On windows this is achieved using the command: NOTE: Blinkter will not run on Windows. It works exclusively on the Raspberry pi.
<ENVIRONMENT_NAME>\Scripts\activate
Doing this will ensure that Blinkter is installed into the appropriate environment.
Usage
import blinkter
board = blinkter.BlinktBoard()
pixel = board.get_pixel(0) #Or whatever pixel you want to manipulate
pixel.red() #Or pixel.blue(), or whatever else you want.
Links
Metadata
Release files for blinkter 0.1.5.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blinkter-0.1.5.6.tar.gz | 7.7 kB | Without provenance | Details for blinkter-0.1.5.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blinkter-0.1.5.6-py3-none-any.whl | Python 3 | none | any | Details for blinkter-0.1.5.6-py3-none-any.whl |
Total release size: 19.3 kB
Release files / blinkter-0.1.5.6.tar.gz
| Download URL | blinkter-0.1.5.6.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d0cc65154dbc4ae9a09ba4ee5f6c0356dfec77e65d5e515454076e5f2b83211
|
|
BLAKE2b-256 checksum How to use checksums |
e5041fb71b363e4972fb2cdd0ef19bd82b295fb67d29554ee7c88a098d3b440b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / blinkter-0.1.5.6-py3-none-any.whl
| Download URL | blinkter-0.1.5.6-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d585c9792e73ec7df99f187605a3f73a48509d9be921fae589d96317dfd4b509
|
|
BLAKE2b-256 checksum How to use checksums |
96e83b3321a4bd1d5649fbb49cc49002ecdc0430d3a0eee5d6a258a3af700c10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for blinkter 0.1.5.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.