Adafruit CircuitPython

API and Usage

  • Core Modules
    • Module Support Matrix - Which Modules Are Available on Which Boards
    • Modules
      • _airlift – Shared access to an ESP32 co-processor running nina-fw
      • _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
      • async_spi – SPI transfers for asyncio
      • atexit – Atexit Module
      • audiobusio – Support for audio input and output over digital buses
      • audiocore – Support for audio samples
      • audiodelays – Support for audio delay effects
      • audiofilewriter – Support for streaming audio to a WAV file
      • audiofilters – Support for audio filter effects
      • audiofreeverb – Support for audio freeverb effect
      • audioi2sin – Support for recording audio from an I2S input source.
      • 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
      • audiotap – Look at audio as it plays
      • 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
      • cryptography – Duplicate implicit target name: “cryptography”.
        • cryptography.exceptions – Exceptions
        • cryptography.hazmat – Hazardous materials
      • 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
      • emmcio – Block device access to the on-board eMMC
      • 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
      • hardwarekey – Cryptographic operations with keys held in hardware
      • hashlib – Hashing related functions
      • hmac – Keyed hashing for message authentication
      • 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
      • mii – Media-independent interface (MII) is a family of standards to connect an Ethernet medium access control (MAC) peripheral to an Ethernet physical transceiver (PHY). Different versions have different pinouts depending on the pin count and Ethernet speed. Reduced pin count variants like reduced media-independent interface (RMII) and reduced gigabit media-independent interface (RGMII) are often used in microcontrollers to save pin count.
      • mipicsi – Support for MIPI CSI-2 camera interfaces
      • 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
      • picogame – Rendering core for games
      • 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
      • usb – PyUSB-compatible USB host API
      • usb_audio – Stream audio to a host computer via USB
      • usb_cdc – USB CDC Serial streams
      • usb_hid – USB Human Interface Device
      • usb_host – USB Host
      • usb_host_audio – Audio from USB devices connected to a USB host port.
      • usb_host_bulk – Continuous bulk transfers on USB host ports
      • 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 – Support for playing video sources
      • videogif – Support for playing animated GIF files as video
      • 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
  • cryptography – Duplicate implicit target name: “cryptography”.
  • cryptography.hazmat – Hazardous materials

cryptography.hazmat – Hazardous materials

A subset of cryptography.hazmat, named for the real module’s own warning that misusing what is here can silently produce insecure results.

  • cryptography.hazmat.primitives – Cryptographic primitives
    • cryptography.hazmat.primitives.asymmetric – Asymmetric-key primitives
    • cryptography.hazmat.primitives.hashes – Hash algorithms
Previous Next

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

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