micropython-lib/python-stdlib
..
__future__
abc
argparse
base64
binascii all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
bisect
cmd all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
collections
collections-defaultdict
collections-deque
contextlib top: Update Python formatting to black "2023 stable style". 2023-02-03 17:12:38 +11:00
copy
curses.ascii
datetime
errno all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
fnmatch
functools all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
gzip
hashlib
heapq all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
hmac
html
inspect all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
io
itertools
json
keyword
locale
logging
operator all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
os os: Import `path` automatically if available. 2022-09-13 14:31:24 +10:00
os-path
pathlib
pickle
pkg_resources
pkgutil
pprint
quopri
random
shutil
ssl
stat
string
struct
tempfile
textwrap
threading
time time: Add unit test for time.strftime. 2022-12-14 11:57:55 +11:00
traceback all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
types
unittest
unittest-discover
uu uu: Fix dependency on os-path. 2022-09-28 00:58:35 +10:00
venv
warnings all: Replace metadata.txt with manifest.py. 2022-09-05 17:50:28 +10:00
README.md

README.md

CPython Standard Library

The packages in this directory aim to provide compatible implementations of modules from the Python Standard Library, with the goal of allowing existing Python code to run un-modified on MicroPython.

Implementation

Many packages are implemented in pure Python, often based on the original CPython implementation. (e.g. collections.defaultdict)

Some packages are based on or extend from the built-in "micro" modules in the MicroPython firmware, providing additional functionality that didn't need to be written in C (e.g. collections, socket, struct).

Future plans (ideas for contributors):

  • Add README.md to each library explaining compatibility and limitations.