{"id":17129482,"url":"https://github.com/linusg/rpi-backlight-emulator","last_synced_at":"2025-04-13T07:16:07.531Z","repository":{"id":57462832,"uuid":"194745557","full_name":"linusg/rpi-backlight-emulator","owner":"linusg","description":"📺 Raspberry Pi 7\" display emulator for rpi-backlight","archived":false,"fork":false,"pushed_at":"2019-10-21T11:51:30.000Z","size":2674,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T23:35:20.175Z","etag":null,"topics":["backlight","brightness","display","emulator","linux","macos","pyside2","python","python3","raspberry-pi","raspbian","rpi-backlight","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linusg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-01T21:30:58.000Z","updated_at":"2024-07-18T12:17:45.000Z","dependencies_parsed_at":"2022-09-05T17:22:11.145Z","dependency_job_id":null,"html_url":"https://github.com/linusg/rpi-backlight-emulator","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linusg%2Frpi-backlight-emulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linusg%2Frpi-backlight-emulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linusg%2Frpi-backlight-emulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linusg%2Frpi-backlight-emulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linusg","download_url":"https://codeload.github.com/linusg/rpi-backlight-emulator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248438510,"owners_count":21103409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backlight","brightness","display","emulator","linux","macos","pyside2","python","python3","raspberry-pi","raspbian","rpi-backlight","windows"],"created_at":"2024-10-14T19:09:45.437Z","updated_at":"2025-04-13T07:16:07.429Z","avatar_url":"https://github.com/linusg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi 7\" LCD emulator for [`rpi-backlight`](https://github.com/linusg/rpi-backlight)\n\n[![PyPI](https://img.shields.io/pypi/v/rpi-backlight-emulator)](https://pypi.org/project/rpi-backlight-emulator/)\n![Python Version](https://img.shields.io/pypi/pyversions/rpi-backlight-emulator)\n[![Downloads](https://pepy.tech/badge/rpi-backlight-emulator)](https://pepy.tech/project/rpi-backlight-emulator)\n[![License](https://img.shields.io/github/license/linusg/rpi-backlight-emulator?color=d63e97)](https://github.com/linusg/rpi-backlight-emulator/blob/master/LICENSE)\n[![Black](https://img.shields.io/badge/code%20style-black-000000)](https://github.com/ambv/black)\n[![Issues](https://img.shields.io/github/issues/linusg/rpi-backlight-emulator)](https://github.com/linusg/rpi-backlight-emulator/issues)\n\n![Demo](https://raw.githubusercontent.com/linusg/rpi-backlight-emulator/master/docs/demo.gif)\n\nThis is an emulator for the Raspberry Pi 7\" LCD to test and develop\n[`rpi-backlight`](https://github.com/linusg/rpi-backlight) without having a physical\ndisplay connected or even running on the Pi.\n\n## Requirements\n\nPython 3.5+ is required, along with the packages [`PySide2`](https://pypi.org/project/PySide2),\n[`watchdog`](https://pypi.org/project/watchdog) and\n[`rpi-backlight\u003e=2.0.0`](https://pypi.org/project/rpi-backlight)\n(see below).\n\n## Installation\n\nPySide2 wheels for x86/x64 are available on PyPI, so you can simply run:\n\n```\n$ pip3 install rpi-backlight-emulator\n```\n\nOn ARM (e.g. Raspberry Pi) it's more complicated (and only the new Debian/Raspbian Buster\nwill work, Stretch won't - you'd have to install PySide2 from source):\n\n```\n$ sudo apt install python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qtwidgets\n$ pip3 install watchdog rpi-backlight\u003e=2.0.0\n$ pip3 install --no-deps rpi-backlight-emulator\n```\n\n## Usage\n\nRun:\n\n```\n$ rpi-backlight-emulator\n```\n\n_Note: on Windows,_\n_[you'll need administrator privileges to create symbolic links](https://superuser.com/q/10727/581296),_\n_which this program does - so you'll have to execute the above as administrator._\n\nNext, open a Python shell and create a `rpi_backlight.Backlight` instance using the\nemulator:\n\n```python\n\u003e\u003e\u003e from rpi_backlight import Backlight\n\u003e\u003e\u003e backlight = Backlight(\":emulator:\")\n\u003e\u003e\u003e\n```\n\nNow, continue like you're connected to a real display!\n\nYou can make changes to the display using the emulator, they'll be reflected in the\nPython-API and vice versa.\n\nEnable `Show live screen` to replace the static Raspbian Buster screenshot with a live\npreview of your monitor.\n\n## Screenshots\n\n![Display off](https://raw.githubusercontent.com/linusg/rpi-backlight-emulator/master/docs/screenshot_display_off.png)\n![Display on](https://raw.githubusercontent.com/linusg/rpi-backlight-emulator/master/docs/screenshot_display_on.png)\n![Brightness low](https://raw.githubusercontent.com/linusg/rpi-backlight-emulator/master/docs/screenshot_brightness_low.png)\n\n## License\n\nThe source code and all other files in this repository are licensed under the MIT\nlicense, so you can easily use it in your own projects. See [`LICENSE`](LICENSE) for\nmore information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinusg%2Frpi-backlight-emulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinusg%2Frpi-backlight-emulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinusg%2Frpi-backlight-emulator/lists"}