Skip to main content

CircuitPython helper library for displaying a slideshow of images on a display.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

CircuitPython helper library for displaying a slideshow of images on a display.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install adafruit-circuitpython-slideshow

To install system-wide (this may be required in some cases):

sudo pip3 install adafruit-circuitpython-slideshow

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-slideshow

Usage Example

from adafruit_slideshow import PlayBackOrder, SlideShow
import board
import pwmio

# Create the slideshow object that plays through once alphabetically.
slideshow = SlideShow(board.DISPLAY, pwmio.PWMOut(board.TFT_BACKLIGHT), folder="/",
                      loop=False, order=PlayBackOrder.ALPHABETICAL)

while slideshow.update():
    pass

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adafruit_circuitpython_slideshow-1.8.9.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file adafruit_circuitpython_slideshow-1.8.9.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_slideshow-1.8.9.tar.gz
Algorithm Hash digest
SHA256 636f242fea66e1d905d9fd0e3058f72cb79aa3f1eddd1fba660cdde032a88e0a
MD5 21d29ddee680e3cb251b07d335bb9ea6
BLAKE2b-256 921896a161cf008ca4d5bc34ff2e687c8c1e1c34826aad04016416e584ca5132

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_slideshow-1.8.9-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_slideshow-1.8.9-py3-none-any.whl
Algorithm Hash digest
SHA256 32c3d2debe0f7e6673e73f56e91edd70f483709e96d4072f8bb3163c7a5fc542
MD5 6b0a56e40a070eb1183afc78a055e37e
BLAKE2b-256 41e175c6a83a2c5b2250ba106c4e9d043d3cf17e14c8240174ca8aa388d3b8b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page