Adafruit-circuitpython-pybadger

Latest version: v4.0.1

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 10

2.2.2

Thanks FoamyGuy

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).

To use in CPython, `pip3 install adafruit-circuitpython-pybadger`.

Read the [docs](http://circuitpython.readthedocs.io/projects/pybadger/en/latest/) for info on how to use it.

2.2.1

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).

To use in CPython, `pip3 install adafruit-circuitpython-pybadger`.

Read the [docs](http://circuitpython.readthedocs.io/projects/pybadger/en/latest/) for info on how to use it.

2.2.0

We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.

* Remove pinned Pylint version number from build.yml file
* Synced `.pylintrc` file to match Adafruit standard
* Ran upgraded Pylint and applied any changes or new disables necessary
* Ran Black formatter and allowed application of changes across entire repo

For more information on using Pylint and Black on your code, check out [this guide on working with Pylint and Black](https://learn.adafruit.com/improve-your-code-with-pylint)

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).

To use in CPython, `pip3 install adafruit-circuitpython-pybadger`.

Read the [docs](http://circuitpython.readthedocs.io/projects/pybadger/en/latest/) for info on how to use it.

2.1.4

**REMEMBER - 2.0.0 was a BREAKING CHANGE.** Import is no longer the same as pre-2.0.0, and the library no longer requires instantiation. It is now:

from adafruit_pybadger import pybadger

2.1.2

**REMEMBER - 2.0.0 was a BREAKING CHANGE.** Import is no longer the same as pre-2.0.0, and the library no longer requires instantiation. It is now:

from adafruit_pybadger import pybadger

2.1.1

**REMEMBER - 2.0.0 was a BREAKING CHANGE.** Import is no longer the same as pre-2.0.0, and the library no longer requires instantiation. It is now:

from adafruit_pybadger import pybadger

**Update: show() renamed to show_custom_badge**

**2.0.1 adds a custom badge feature!** You can now display lines of text over a color-block or image background, each of a different color, scale, and font. You also have the option to left justify the font. Examples for CLUE and PyBadge/PyGamer are in the examples folder.

New features are:
* `badge_background` creates a customisable color-block badge background
* `image_background` allows you to specify a compatible bitmap for the background
* `badge_line` allows you to create a line of text to display
* `show_custom_badge()` displays your badge. Required for badge to display.

To use in CircuitPython, simply install the [Adafruit CircuitPython bundle](https://circuitpython.org/libraries).

Read the [docs](http://circuitpython.readthedocs.io/projects/pybadger/en/latest/) for info on how to use it.

Page 7 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.