Adafruit CircuitPython

API and Usage

  • Core Modules
    • Module Support Matrix - Which Modules Are Available on Which Boards
    • Modules
      • _bleio – Bluetooth Low Energy (BLE) communication
      • _eve – Low-level BridgeTek EVE bindings
      • _pew – LED matrix driver
      • _pixelmap – A fast pixel mapping library
      • _stage – C-level helpers for animation of sprites on a stage
      • adafruit_bus_device – Hardware accelerated external bus access
      • adafruit_pixelbuf – A fast RGB(W) pixel buffer library for like NeoPixel and DotStar
      • aesio – AES encryption routines
      • alarm – Alarms and sleep
      • analogbufio – Analog Buffered IO Hardware Support
      • analogio – Analog hardware support
      • atexit – Atexit Module
      • audiobusio – Support for audio input and output over digital buses
      • audiocore – Support for audio samples
      • audiodelays – Support for audio delay effects
      • audiofilters – Support for audio filter effects
      • audiofreeverb – Support for audio freeverb effect
      • audioio – Support for audio output
      • audiomixer – Support for audio mixing
      • audiomp3 – Support for MP3-compressed audio files
      • audiopwmio – Audio output via digital PWM
      • audiospeed – Audio processing tools
      • aurora_epaper – A framebuffer for Pervasive Displays Aurora E-paper displays.
      • bitbangio – Digital protocols implemented by the CPU
      • bitmapfilter – Convolve an image with a kernel
      • bitmaptools – Collection of bitmap manipulation tools
      • bitops – Routines for low-level manipulation of binary data
      • board – Board specific pin names
      • busdisplay
      • busio – Hardware accelerated external bus access
      • camera – Support for camera input
      • canio – CAN bus access
      • codeop – Utilities to compile possibly incomplete Python source code.
      • countio – Support for edge counting
      • cyw43 – A class that represents a GPIO pin attached to the wifi chip.
      • digitalio – Basic digital pin support
      • displayio – High level, display object compositing system
      • dotclockframebuffer – Native helpers for driving parallel displays
      • dualbank – Dualbank Module
      • epaperdisplay
      • espcamera – Wrapper for the espcamera library
      • espidf – Return the total size of the ESP-IDF, which includes the CircuitPython heap.
      • espnow – ESP-NOW Module
      • espulp – ESP Ultra Low Power Processor Module
      • floppyio – Read flux transition information into the buffer.
      • fontio – Core font related data structures
      • fourwire – Connects to a BusDisplay over a four wire bus
      • framebufferio – Native framebuffer display driving
      • frequencyio – Support for frequency based protocols
      • getpass – Getpass Module
      • gifio – Access GIF-format images
      • gnss – Global Navigation Satellite System
      • hashlib – Hashing related functions
      • hostnetwork – Host networking support for the native simulator.
      • i2cdisplaybus – Communicates to a display IC over I2C
      • i2cioexpander – Support for I2C-based GPIO expanders
      • i2ctarget – Two wire serial protocol target
      • imagecapture – Support for “Parallel capture” interfaces
      • ipaddress
      • is31fl3741 – Creates an in-memory framebuffer for a IS31FL3741 device.
      • jpegio – Support for JPEG image decoding
      • keypad – Support for scanning keys and key matrices
      • keypad_demux – Support for scanning key matrices that use a demultiplexer
      • locale – Locale support module
      • lvfontio – Core font related data structures for LVGL
      • math – mathematical functions
      • max3421e – Provide USB host via a connected MAX3421E chip.
      • mcp4822 – Audio output via MCP4822 dual-channel 12-bit SPI DAC.
      • mdns – Multicast Domain Name Service
      • memorymap – Raw memory map access
      • memorymonitor – Memory monitoring helpers
      • microcontroller – Pin references and cpu functionality
      • micropython – Access and control MicroPython internals
      • mipidsi – Low-level routines for interacting with MIPI DSI
      • msgpack – Pack object in msgpack format
      • neopixel_write – Low-level neopixel implementation
      • nvm – Non-volatile memory
      • onewireio – Low-level bit primitives for Maxim (formerly Dallas Semi) one-wire protocol.
      • os – functions that an OS normally provides
      • paralleldisplaybus – Native helpers for driving parallel displays
      • picodvi – Low-level routines for interacting with PicoDVI Output
      • ps2io – Support for PS/2 protocol
      • pulseio – Support for individual pulse based protocols
      • pwmio – Support for PWM based protocols
      • qrio – Low-level QR code decoding
      • qspibus – QSPI bus protocol for quad-SPI displays
      • rainbowio
      • random – pseudo-random numbers and choices
      • rclcpy – Robot Operating System (ROS2) connectivity through micro-ROS
      • rgbmatrix – Low-level routines for bitbanged LED matrices
      • rotaryio – Support for reading rotation sensors
      • rp2pio – Hardware interface to RP2 series’ programmable IO (PIO) peripheral.
      • rtc – Real Time Clock
      • samd – SAMD implementation settings
      • sdcardio – Interface to an SD card via the SPI bus
      • sdioio – Interface to an SD card via the SDIO bus
      • sharpdisplay – Support for Sharp Memory Display framebuffers
      • socketpool
      • spitarget – Serial Peripheral Interface protocol target
      • ssl
      • storage – Storage management
      • struct – Manipulation of c-style data
      • supervisor – Supervisor settings
      • synthio – Support for multi-channel audio synthesis
      • terminalio – Displays text in a TileGrid
      • tilepalettemapper – Remaps color indices from the source bitmap to alternate indices on a per-tile basis. This allows for altering coloring of tiles based on their tilegrid location. It also allows for using a limited color bitmap with a wider array of colors.
      • time – time and timing related functions
      • touchio – Touch related IO
      • traceback – Traceback Module
      • uheap – Heap size analysis
      • ulab – Manipulate numeric data similar to numpy
        • ulab.numpy – Numerical approximation methods
        • ulab.scipy – Compatibility layer for scipy
        • ulab.user – This module should hold arbitrary user-defined functions.
        • ulab.utils
      • usb – PyUSB-compatible USB host API
      • usb_cdc – USB CDC Serial streams
      • usb_hid – USB Human Interface Device
      • usb_host – USB Host
      • usb_midi – MIDI over USB
      • usb_video – Allows streaming bitmaps to a host computer via USB
      • ustack – Stack information and analysis
      • vectorio – Lightweight 2D shapes for displays
      • videocore – Low-level routines for interacting with the Broadcom VideoCore GPU
      • warnings – Warn about potential code issues.
      • watchdog – Watchdog Timer
      • wifi
      • zlib – zlib decompression functionality
      • help() – Built-in method to provide helpful information
  • Standard Libraries
  • Supported Ports
  • Troubleshooting
  • Adafruit CircuitPython Libraries
  • CircuitPython Library Bundles
  • Workflows
  • Environment Variables

Design and porting reference

  • Design Guide
  • Architecture
  • Porting
  • Adding *io support to other ports
  • Glossary

About the project

  • CircuitPython
  • Contributing
  • Building CircuitPython
  • Adafruit Community Code of Conduct
  • MicroPython & CircuitPython License
  • WebUSB Serial Support
Adafruit CircuitPython
  • Core Modules
  • ulab – Manipulate numeric data similar to numpy
  • ulab.scipy – Compatibility layer for scipy

ulab.scipy – Compatibility layer for scipy

  • ulab.scipy.linalg
    • solve_triangular()
    • cho_solve()
  • ulab.scipy.optimize
    • bisect()
    • fmin()
    • newton()
Previous Next

© Copyright 2014-2026, MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors). Last updated on 08 May 2026.

Built with Sphinx using a theme provided by Read the Docs.