Skip to content
Snippets Groups Projects
Forked from card10 / firmware
1348 commits behind the upstream repository.
stdlib.rst 5.23 KiB

MicroPython Standard Library

Pycardium contains some modules from the MicroPython standard library. These are:

ubinascii

Refer to the official MicroPython docs for ubinascii.

ucollections

uerrno

Refer to the offical MicroPython docs for uerrno.

uheapq

Refer to the offical MicroPython docs for uheapq.

uio

Refer to the offical MicroPython docs for uio.

ujson

Refer to the offical MicroPython docs for ujson.

urandom

Pseudo-random number generator.

ure

Minimal regular expression library. Refer to the offical MicroPython docs for ure.

ustruct

Refer to the offical MicroPython docs for ustruct.

utime

utime contains non-standard functions as well. Please refer to our dedicated :py:mod:`utime` docs.

Python Standard Library

Additionally to the MicroPython module, Pycardium contains a subset of the CPython standard library, as implemented by micropython-lib. The following modules are included:

collections

Collections module.

contextlib

Contextlib module.

functools

Functools module.

itertools

Itertools module.

Warning

:py:func:`itertools.tee` is not implemented correctly.

string