Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
micropython
/
micropython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
8.9k
Star
22k
Code
Issues
1.2k
Pull requests
390
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Collections module
Jump to bottom
Edit
New page
Jim Mussared edited this page
Aug 31, 2022
·
1 revision
Official docs
built-in
deque (fast, very incomplete)
namedtuple
OrderedDict
micropython-lib
defaultdict
deque
(slow, more complete)
Not implemented yet
ChainMap
Counter
UserDict
UserList
UserString
Wiki pages
Pages
86
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Adding Board Profiles
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board FreeSOC
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board Arduino Due
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board BLACK F407VE
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board BLACK F407ZE
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board BLACK F407ZG
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board Crazyflie2
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board Espruino Pico
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board FEZ Cerb40
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board FEZ Cerb40 II
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board FEZ Lemur
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board G30HDR
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board HydraBus V1.0
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board NetduinoPlus2
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board NUCLEO F401RE
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board Nucleo F767ZI
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board Olimex STM32 405STK
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board Olimex STM32 E407
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board OpenMV
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board profile configuration for RomFS
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board STM32F401 Discovery
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board STM32F407 Discovery
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board STM32F429
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board STM32F746 Discovery
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board Teensy 3.1 3.5 3.6
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board Tiva TM4C123G Launchpad
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Board VCC GND STM32F407VET6 Mini
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Boards Summary
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Build Troubleshooting
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Building Micropython Binaries
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Building st flash
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Bundling and deploying application code and files
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Collections module
Loading
Compiling esp32 port with docker
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ContributorGuidelines
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CrossBranch
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Developing on a microcontroller
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Differences
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Driver API Design Guidelines
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ESP32 debugging
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ESP32 port security features
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Examples
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
FAQ
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Floating Point Support
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Getting Started
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Getting Started Compiling Micropython for Ubuntu 16.04
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Getting Started STM
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Hardware API
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
HY STM32F4xxCore144
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Improving performance with Viper code
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
index
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Instrumenting code using GPIOs
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
LCD driver
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Learn MicroPython
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
LTO
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
macros_mboot
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
macros_micropy
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
macros_mimxrt
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
macros_mp
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Memory Manager
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Micropython Git Development Workflow
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
MicroPython New Port Development Guide
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
MicroPython on Mac OSX
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
MicroPythonVsELua
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Performance
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
PPP on ESP32
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Programming Debugging the Pyboard using ST‐Link v2
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
ProjectsUsingMicroPython
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
PWM Timers
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Pyboard Firmware Update
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Securing a MicroPython System
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Servos
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Soft reset
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Standard Library Coverage
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
STM32F405 pinouts
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
STM32F405 Timer Triggering
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Symbolic Debugging for STM32
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Threads
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Timebase calculation and Clock sources
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Timer capture mode
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Timer Implementation
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Timer one shot
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Tips and Tricks
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
VS Code
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Watchdogs, Crash prevention, Crash recovery
Uh oh!
There was an error while loading.
Please reload this page
.
Show 71 more pages…
General info
Official Site
Discussions
Discord
Code of Conduct
Wiki Index
Getting Started
Learn MicroPython
Official Documentation
Tips and Tricks
FAQ
Resources
micropython-lib
Awesome MicroPython
About MicroPython
Differences to CPython
Performance
Development
Code Conventions
Contributor Guidelines
Install and build
Git Development Workflow
Code Coverage
Code Statistics
ARM Toolchain
Other Architectures
Making a Build
Clone this wiki locally
You can’t perform that action at this time.