Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Black

CircuitPython displayio widget to create a rounded rectangle frame with text label at the top center.

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 circuitpython-display-frame

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

sudo pip3 install circuitpython-display-frame

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .env
source .env/bin/activate
pip3 install circuitpython-display-frame

Usage Example

import board
import displayio
from circuitpython_display_frame import Frame

display = board.DISPLAY
main_group = displayio.Group()

example_frame = Frame(10, 10, display.width // 3, display.height - 16)
main_group.append(example_frame)

display.show(main_group)
while True:
    pass
Example photo

Contributing

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

Documentation

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

Metadata

Release files for circuitpython-display-frame 0.0.4

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

Source distribution (sdist)

Source distribution for circuitpython-display-frame 0.0.4
File Size Uploaded
circuitpython-display-frame-0.0.4.tar.gz 355.5 kB Details

Release files / circuitpython-display-frame-0.0.4.tar.gz

Download URL circuitpython-display-frame-0.0.4.tar.gz
Size 355.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5045d55459a2b5846ef6dd9f3f04ed791005585965f18bff2330998cd24a7829
BLAKE2b-256 checksum
How to use checksums
84ad90635db26b8c8b58e1cb73603eb24ffddb3871b7f6952cf3c8126631ca64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

0.0.3

1 release file

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