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

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

Built distribution (wheel)

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

Total release size: 103.8 kB

Release files / adafruit_circuitpython_pybadger-4.0.12.tar.gz

Download URL adafruit_circuitpython_pybadger-4.0.12.tar.gz
Size 82.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ac7cb21c7dff24bec04ac1f6a9792fa6b4216a10f8c7c3a7af2c31f7eaff7227
BLAKE2b-256 checksum
How to use checksums
9f820fa7ed8215bfae498e189838d7c09ac2c61001927840f774089e32b4a1a9
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.12-py3-none-any.whl

Download URL adafruit_circuitpython_pybadger-4.0.12-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00a2e08108145885b0e6984aced99ff95b124312e005c6218f7a3551ed61b399
BLAKE2b-256 checksum
How to use checksums
cdeda362db128fdf2ec7bd40b4a086af7b318bb54a9e7e580a1a0542b70cecbf
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.12

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