Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

Badge-focused CircuitPython helper library for PyBadge, PyBadge LC, PyGamer, CLUE, and Mag Tag.

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-pybadger

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

sudo pip3 install adafruit-circuitpython-pybadger

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-pybadger

Usage Example

from adafruit_pybadger import pybadger

pybadger.show_badge(name_string="Blinka", hello_scale=2, my_name_is_scale=2, name_scale=3)

while True:
    pybadger.auto_dim_display(delay=10)
    if pybadger.button.a:
        pybadger.show_business_card(image_name="Blinka.bmp", name_string="Blinka", name_scale=2,
                                    email_string_one="blinka@", email_string_two="adafruit.com")
    elif pybadger.button.b:
        pybadger.show_qr_code(data="https://circuitpython.org")
    elif pybadger.button.start:
        pybadger.show_badge(name_string="Blinka", hello_scale=2, my_name_is_scale=2, name_scale=3)

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.

Metadata

Release files for adafruit-circuitpython-pybadger 4.0.11

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

Source distribution (sdist)

Source distribution for adafruit-circuitpython-pybadger 4.0.11
File Size Uploaded Provenance Actions
adafruit_circuitpython_pybadger-4.0.11.tar.gz 82.9 kB Without provenance Details for adafruit_circuitpython_pybadger-4.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adafruit-circuitpython-pybadger 4.0.11
File Interpreter ABI Platform Actions
adafruit_circuitpython_pybadger-4.0.11-py3-none-any.whl Python 3 none any Details for adafruit_circuitpython_pybadger-4.0.11-py3-none-any.whl

Total release size: 103.9 kB

Release files / adafruit_circuitpython_pybadger-4.0.11.tar.gz

Download URL adafruit_circuitpython_pybadger-4.0.11.tar.gz
Size 82.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f83ac18f99ae0fc5b23ef9ad30221dcca5f0790a7b7622210f0eb35da225ae1f
BLAKE2b-256 checksum
How to use checksums
aa6db7c3461e7fe136096195502b5b357355c33a14062aa72898d312100dca95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / adafruit_circuitpython_pybadger-4.0.11-py3-none-any.whl

Download URL adafruit_circuitpython_pybadger-4.0.11-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d6dcc9ad029ec89d55d350994b053f4ed85f5f63944b9e73bd4260e81826681
BLAKE2b-256 checksum
How to use checksums
305d39e8598b35a45bb893d1b21dfceab334e853d56c815c1977cabb5be8ed8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for adafruit-circuitpython-pybadger 4.0.11

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

4.0.11 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