Skip to main content

Overview

This is a Python tool that displays photos directly to a Framebuffer device in Linux. It can be used to directly drive a photoframe without needing to install a graphical environment.

This has been used to stably drive a screen from a Raspberry Pi Zero 2 W over a long period of time (with swap enabled).

Example Usages

Drive from a folder of images:

pfb_slideshow /dev/fb0 /images >/dev/null

Displays randomized images from a text file with a list of relative file-paths and a display time of five minutes:

pfb_slideshow /dev/fb0 /frame/images.txt --root /frame --time 300 --random >/dev/null

We add the redirections to /dev/null because it's the most elegant way of suppressing erroneous text verbosity that might write into the displayed image.

Example Screenshot

Screenshot

Features

  • Prints a gutter at the bottom of the display with filename, EXIF model, and EXIF timestamp
  • Can take a list of file-paths instead of a single path. The entries can be absolute or relative.
  • Can randomize images
  • Can control the delay between images
  • Press left/right cursor to navigate through images
  • Plays in a loop

Metadata

Release files for photoframebuffer 0.1.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 photoframebuffer 0.1.2
File Size Uploaded Provenance Actions
photoframebuffer-0.1.2.tar.gz 14.9 kB Without provenance Details for photoframebuffer-0.1.2.tar.gz

Release files / photoframebuffer-0.1.2.tar.gz

Download URL photoframebuffer-0.1.2.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
61af3f5823f6eef6775a532aa3d08697df012c9ee0602596e918daf03d889e7d
BLAKE2b-256 checksum
How to use checksums
caaac1f723c15bbeccff9ddfc66e838bb65e405c5a18f4b1c4b8b6ca41ddf855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for photoframebuffer 0.1.2

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.

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