Catalog PyPI
Back to packageRELEASE DETAILS

5.3.12

PyPI

adafruit-circuitpython-circuitplayground

CircuitPython library for Circuit Playground Express

adafruitblebluefruitcircuitcircuitplaygroundcircuitpythonhardwaremicrocontrollerbluetoothmicropythonplayground
Published23 Apr 2026
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 5.3.12 documentation

Introduction
============

.. image:: https://readthedocs.org/projects/adafruit-circuitpython-circuitplayground/badge/?version=latest
    :target: https://docs.circuitpython.org/projects/circuitplayground/en/latest/
    :alt: Documentation Status

.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg
    :target: https://adafru.it/discord
    :alt: Discord

.. image:: https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/workflows/Build%20CI/badge.svg
    :target: https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/actions/
    :alt: Build Status

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Code Style: Ruff

This high level library provides objects that represent Circuit Playground Express and Bluefruit hardware.

.. image :: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/main/docs/_static/circuit_playground_express_small.jpg
    :target: https://adafruit.com/product/3333
    :alt: Circuit Playground Express

.. image :: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/main/docs/_static/circuit_playground_bluefruit_small.jpg
    :target: https://adafruit.com/product/4333
    :alt: Circuit Playground Bluefruit

Installation
=============
For Circuit Playground Express, simply install CircuitPython to use this library - the library itself and
all of its dependencies are built into CircuitPython for Circuit Playground Express.

For Circuit Playground Bluefruit, you must install this library and all of its dependencies. Please download
`the latest Adafruit CircuitPython library bundle <https://circuitpython.org/libraries>`_. Open the resulting
zip file, open the lib folder within, and copy the following folders and files to the lib folder on your
CIRCUITPY drive:

* adafruit_bus_device/
* adafruit_circuitplayground/
* adafruit_lis3dh.mpy
* adafruit_thermistor.mpy
* neopixel.mpy

Usage Example
=============
Using this library is super simple. Simply import the ``cp`` variable from the module and then use it.

.. code-block :: python

    from adafruit_circuitplayground import cp

    while True:
        if cp.button_a:
            print("Temperature:", cp.temperature)
        cp.red_led = cp.button_b

To learn more about all the features of this library, check out the
`CircuitPython Made Easy on Circuit Playground Express and Bluefruit guide <https://learn.adafruit.com/circuitpython-made-easy-on-circuit-playground-express>`_
on the Adafruit Learn System.

Circuit Playground Library Details
==================================

For a detailed explanation of how the Circuit Playground library functions, see
`The Technical Side page <https://learn.adafruit.com/circuitpython-made-easy-on-circuit-playground-express/the-technical-side>`_
of the CircuitPython Made Easy on Circuit Playground Express and Bluefruit guide.

Documentation
=============

API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/circuitplayground/en/latest/>`_.

For information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/blob/main/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
adafruit-circuitpython-lis3dh
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
adafruit-circuitpython-lis3dhruntime
adafruit-circuitpython-neopixel
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
adafruit-circuitpython-neopixelruntime
adafruit-circuitpython-thermistor
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
adafruit-circuitpython-thermistorruntime
typing-extensions
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
typing-extensionsruntime

Distribution files

2 collected
adafruit_circuitpython_circuitplayground-5.3.12-py3-none-any.whl

bdist_wheel · 13.25 KB · Python py3

Source file
adafruit_circuitpython_circuitplayground-5.3.12.tar.gz

sdist · 29,929.94 KB · Python source

Source file

Repository

PENDING
adafruit/adafruit_circuitpython_circuitplayground

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:49 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:266e5ee848220f0c00e05ea27f652f213e3400966342d0dff9001a52ff53b9c3

Other collected versions

View all collected versions →