Skip to main content

PiTouchScreen

Programmatically control the Raspberry Pi Touch Display

Features

GPIO Control

With a button connected to pin 17:

  • Cycle brightness between 50, 100, 150
  • Long-press button for 1 second to turn off the screen
pi-touch-screen pi-touch-screen --channel 17 -bl 50 -bl 100 -bl 150 --power-sec 1 
Thread-safe - `BacklightManager` provides thread-safe attribute access and thread-safe sysfs read/writes - Reading or setting values requires owning a lock - Prevents race conditions from threaded callbacks
Install as Service
  • Save pi_touch_screen_service.service to $HOME/.config/systemd/user/pi_touch_screen_service.service
  • Run systemctl --user edit pi_touch_screen_service and modify ExecStart to use your desired parameters
  • Run systemctl --user enable pi_touch_screen_service to run the service at startup

Metadata

Release files for pi-touch 0.1.0

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

Source distribution (sdist)

Source distribution for pi-touch 0.1.0
File Size Uploaded Provenance Actions
pi-touch-0.1.0.tar.gz 6.0 kB Without provenance Details for pi-touch-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pi-touch 0.1.0
File Interpreter ABI Platform Actions
pi_touch-0.1.0-py3-none-any.whl Python 3 none any Details for pi_touch-0.1.0-py3-none-any.whl

Total release size: 12.4 kB

Release files / pi-touch-0.1.0.tar.gz

Download URL pi-touch-0.1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
14c4499f8f05efb0f1cd4cebf651b7e80886af0bb2f5c2d01926dd749975473b
BLAKE2b-256 checksum
How to use checksums
4cf385b6a56c4d33f2e63c8bc0cad9b87403a0c678659f70567a39768dc03b76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / pi_touch-0.1.0-py3-none-any.whl

Download URL pi_touch-0.1.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a1eebc64a7ffbd86d88e0c456bf0724f77a208ccc54f9ddd3110ba265c94279
BLAKE2b-256 checksum
How to use checksums
0ee8f62bbc369ce35a00fdee66e1c7e979eea989bcf8eba028025b4ffff5df3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for pi-touch 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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