Core Modules¶
These core modules are intended on being consistent across ports and boards.
A module may not exist on a port/board if no underlying hardware support is
present or if flash space is limited. For example, a microcontroller without
analog features will not have analogio
. See the Module Support Matrix - Which Modules Are Available on Which Boards page for
a list of modules supported on each board.
Modules¶
_bleio
– Bluetooth Low Energy (BLE) communication_eve
– Low-level BridgeTek EVE bindings_pew
– LED matrix driver_stage
– C-level helpers for animation of sprites on a stageadafruit_bus_device
– Hardware accelerated external bus accessadafruit_pixelbuf
– A fast RGB(W) pixel buffer library for like NeoPixel and DotStaraesio
– AES encryption routinesalarm
– Alarms and sleepanalogio
– Analog hardware supportatexit
– Atexit Moduleaudiobusio
– Support for audio input and output over digital busesaudiocore
– Support for audio samplesaudioio
– Support for audio outputaudiomixer
– Support for audio mixingaudiomp3
– Support for MP3-compressed audio filesaudiopwmio
– Audio output via digital PWMbitbangio
– Digital protocols implemented by the CPUbitmaptools
– Collection of bitmap manipulation toolsbitops
– Routines for low-level manipulation of binary databoard
– Board specific pin namesbusio
– Hardware accelerated external bus accesscamera
– Support for camera inputcanio
– CAN bus accesscountio
– Support for edge countingdigitalio
– Basic digital pin supportdisplayio
– Native helpers for driving displaysdualbank
– DUALBANK Moduleespidf
floppyio
– Read flux transition information into the buffer.fontio
– Core font related data structuresframebufferio
– Native framebuffer display drivingfrequencyio
– Support for frequency based protocolsgamepadshift
– Tracks button presses read through a shift register.getpass
– Getpass Modulegifio
– Access GIF-format imagesgnss
– Global Navigation Satellite Systemi2cperipheral
– Two wire serial protocol peripheralimagecapture
– Support for “Parallel capture” interfacesipaddress
is31fl3741
– Creates an in-memory framebuffer for a IS31FL3741 device.keypad
– Support for scanning keys and key matricesmath
– mathematical functionsmdns
– Multicast Domain Name Servicememorymonitor
– Memory monitoring helpersmicrocontroller
– Pin references and cpu functionalitymsgpack
– Pack object in msgpack formatmultiterminal
– Manage additional terminal sourcesneopixel_write
– Low-level neopixel implementationnvm
– Non-volatile memoryonewireio
– Low-level bit primitives for Maxim (formerly Dallas Semi) one-wire protocol.os
– functions that an OS normally providesparalleldisplay
– Native helpers for driving parallel displaysps2io
– Support for PS/2 protocolpulseio
– Support for individual pulse based protocolspwmio
– Support for PWM based protocolsqrio
– Low-level QR code decodingrainbowio
random
– pseudo-random numbers and choicesrgbmatrix
– Low-level routines for bitbanged LED matricesrotaryio
– Support for reading rotation sensorsrp2pio
– Hardware interface to RP2 series’ programmable IO (PIO) peripheral.rtc
– Real Time Clocksamd
– SAMD implementation settingssdcardio
– Interface to an SD card via the SPI bussdioio
– Interface to an SD card via the SDIO bussharpdisplay
– Support for Sharp Memory Display framebufferssocketpool
ssl
storage
– Storage managementstruct
– Manipulation of c-style datasupervisor
– Supervisor settingssynthio
– Support for MIDI synthesisterminalio
– Displays text in a TileGridtime
– time and timing related functionstouchio
– Touch related IOtraceback
– Traceback Moduleuheap
– Heap size analysisulab
– Manipulate numeric data similar to numpyusb
– PyUSB-compatible USB host APIusb_cdc
– USB CDC Serial streamsusb_hid
– USB Human Interface Deviceusb_host
– USB Hostusb_midi
– MIDI over USBustack
– Stack information and analysisvectorio
– Lightweight 2D shapes for displayswatchdog
– Watchdog Timerwifi
zlib
– zlib decompression functionalityhelp()
– Built-in method to provide helpful information