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.13

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.13
File Size Uploaded Provenance Actions
adafruit_circuitpython_pybadger-4.0.13.tar.gz 82.9 kB Without provenance Details for adafruit_circuitpython_pybadger-4.0.13.tar.gz

Built distribution (wheel)

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

Total release size: 103.8 kB

Release files / adafruit_circuitpython_pybadger-4.0.13.tar.gz

Download URL adafruit_circuitpython_pybadger-4.0.13.tar.gz
Size 82.9 kB
Tags Source
SHA-256 checksum
How to use checksums
50c298d3b3679f875d17ce94433c4b2206a4da19c28f09103a671938ff37d79b
BLAKE2b-256 checksum
How to use checksums
297de0218faf9d5a9c57d378355de7ef8276f6688ab0b1059ecf7a0726dfef7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

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

Download URL adafruit_circuitpython_pybadger-4.0.13-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46849334d192b803ab1a5c72a910c7312f0deaa3399e42e3c5456a1380257fcb
BLAKE2b-256 checksum
How to use checksums
9727cefd26c0483baa11da1c3b82628222e2e8eb5bbf134e1e65087aad57abc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for adafruit-circuitpython-pybadger 4.0.13

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.13 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