CircuitPython

CircuitPython
Original author(s)Adafruit Industries
Initial releaseJuly 19, 2017; 7 years ago (2017-07-19)[1]
Stable release
9.2.1[2] Edit this on Wikidata / 20 November 2024; 4 days ago (20 November 2024)
Repositoryhttps://github.com/adafruit/circuitpython
Written inC[3]
PlatformSupported microcontrollers and single-board computers
TypePython implementation
LicenseMIT license[4]
Websitecircuitpython.org

CircuitPython[5] is an open-source derivative of the MicroPython programming language targeted toward students and beginners. Development of CircuitPython is supported by Adafruit Industries. It is a software implementation of the Python 3 programming language, written in C.[3] It has been ported to run on several modern microcontrollers.

CircuitPython consists of a Python compiler to bytecode and a runtime interpreter of that bytecode that runs on the microcontroller hardware. The user is presented with an interactive prompt (the REPL) to execute supported commands immediately. Included are a selection of core Python libraries. CircuitPython includes modules which give the programmer access to the low-level hardware of supported products as well as higher-level libraries for beginners.[6]

CircuitPython is a fork of MicroPython, originally created by Damien George.[7] The MicroPython community continues to discuss[8] forks of MicroPython into variants such as CircuitPython.

CircuitPython is targeted to be compliant with CPython, the reference implementation of the Python programming language.[9] Programs written for CircuitPython-compatible boards may not run unmodified on other platforms such as the Raspberry Pi.[10]

  1. ^ Shawcroft, Scott (19 July 2017). "CircuitPython 1.0.0!". Adafruit Blog. Adafruit Industries. Retrieved 1 May 2018.
  2. ^ "Release 9.2.1". 20 November 2024. Retrieved 21 November 2024.
  3. ^ a b "adafruit/circuitpython". GitHub. Adafruit Industries. Retrieved 2 May 2018.
  4. ^ George, Damien P. (4 May 2014). "circuitpython/LICENSE". GitHub. Retrieved 1 May 2018.
  5. ^ "CircuitPython is an education friendly open-source derivative of MicroPython". GitHub. Retrieved 30 April 2018.
  6. ^ "CircuitPython". Read the Docs. Adafruit Industries. Retrieved 1 May 2018.
  7. ^ George, Damien (20 May 2016). "Damien P. George". Damien P. George. Retrieved 1 May 2018.
  8. ^ "Adafruit CircuitPython". MicroPython Forum. MicroPython.org. Retrieved 2 May 2018.
  9. ^ Lewis, James (14 February 2018). "Circuit Python adds Python to Microcontrollers". The Bald Engineer. Retrieved 2 May 2018.
  10. ^ Ganne, Simon. "Can I use circuitPython code on my raspberry?". Element 14 Community. Element 14.