micropython-lib/python-stdlib
Damien George 45ead11f96 ssl: Use "from tls import *" to be compatible with axtls.
axtls doesn't define all the CERT_xxx constants, nor the MBEDTLS_VERSION
constant.

This change means that `tls.SSLContext` is imported into the module, but
that's subsequently overridden by the class definition in this module.

Signed-off-by: Damien George <damien@micropython.org>
2024-03-28 17:44:37 +11:00
..
__future__
abc
argparse
base64
binascii
bisect
cmd
collections
collections-defaultdict
collections-deque
contextlib
copy
curses.ascii
datetime
errno
fnmatch
functools
gzip gzip: Fix recursion error in open() function. 2024-02-29 14:54:24 +11:00
hashlib
hashlib-core
hashlib-sha224
hashlib-sha256
hashlib-sha384
hashlib-sha512
heapq
hmac hmac: Fix passing in a string for digestmod argument. 2024-02-07 12:45:03 +11:00
html
inspect
io
itertools
keyword
locale
logging
operator
os
os-path os-path: Implement os.path.isfile(). 2023-12-20 14:46:57 +11:00
pathlib
pickle
pkg_resources
pkgutil
pprint
quopri
random
shutil
ssl ssl: Use "from tls import *" to be compatible with axtls. 2024-03-28 17:44:37 +11:00
stat
string
struct
tarfile
tarfile-write tarfile-write: Fix permissions when adding to archive. 2024-02-09 10:43:05 +11:00
tempfile
textwrap
threading
time
traceback
types
unittest
unittest-discover
uu
venv
warnings
zlib
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.