Skip to main content

phalski-ledshim

A basic application framework for the Pimoroni LED SHIM.

Features:

  • Easy animation development
  • Flexible pixel segmenting
  • Running multiple animations simultaneously
  • Basic charting supported out of the box

Examples

Basic usage:

from phalski_ledshim import app, animation

application = app.App()
application.configure_worker(0.1, animation.Rainbow(application.pixels[0:13], 60))
application.configure_worker(0.2, animation.LedTest(application.pixels[13:27]))
application.exec()

Running multiple sources in a single worker:

from phalski_ledshim import app, animation

application = app.App()
application.configure_worker(0.1, animation.Rainbow(application.pixels[0:13], 60), animation.LedTest(application.pixels[13:27]))
application.exec()

Using charts (requires psutil):

import psutil

from phalski_ledshim import app, chart

application = app.App()
source = chart.Factory.bar_chart_source(application.pixels, lambda: psutil.cpu_percent())
application.configure_worker(0.1, source)
application.exec()

Release files for phalski-ledshim 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phalski-ledshim 0.2.2
File Size Uploaded
phalski-ledshim-0.2.2.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phalski-ledshim 0.2.2
File Interpreter ABI Platform
phalski_ledshim-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 18.5 kB

Release files / phalski-ledshim-0.2.2.tar.gz

Download URL phalski-ledshim-0.2.2.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dfe0042efacdca616b2c138ee3d1a286cc3fc6a18e3cfb766089ae89da1c236c
BLAKE2b-256 checksum
How to use checksums
fbd55bc6385c36b946c1214ef02de17c5eadfcaaa81e0935b55c5c0a33031ecc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.3

Release files / phalski_ledshim-0.2.2-py3-none-any.whl

Download URL phalski_ledshim-0.2.2-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13bc5d4e36d460708c77182b1cd269c54e52181b03df766028017d82b4af4750
BLAKE2b-256 checksum
How to use checksums
6782760bd0a620106a8c51d22f8851efea04ff63cc82b165c2e3e03c82ecbe95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.3

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page