micropython-lib/unix-ffi
Martin Komon 2e91b92413 unix-ffi/datetime: Add tzinfo.__new__ to make the package importable.
Add constructor to tzinfo class so that the package can be imported without
errors.
2021-06-02 00:38:42 +10:00
..
_libc all: Run black over all code. 2021-05-27 15:50:04 +10:00
datetime unix-ffi/datetime: Add tzinfo.__new__ to make the package importable. 2021-06-02 00:38:42 +10:00
fcntl all: Run black over all code. 2021-05-27 15:50:04 +10:00
ffilib all: Run black over all code. 2021-05-27 15:50:04 +10:00
gettext all: Run black over all code. 2021-05-27 15:50:04 +10:00
machine all: Run black over all code. 2021-05-27 15:50:04 +10:00
multiprocessing all: Run black over all code. 2021-05-27 15:50:04 +10:00
os all: Run black over all code. 2021-05-27 15:50:04 +10:00
pwd all: Run black over all code. 2021-05-27 15:50:04 +10:00
pyb all: Run black over all code. 2021-05-27 15:50:04 +10:00
re-pcre all: Run black over all code. 2021-05-27 15:50:04 +10:00
select all: Run black over all code. 2021-05-27 15:50:04 +10:00
signal all: Run black over all code. 2021-05-27 15:50:04 +10:00
sqlite3 all: Run black over all code. 2021-05-27 15:50:04 +10:00
time all: Run black over all code. 2021-05-27 15:50:04 +10:00
tty all: Run black over all code. 2021-05-27 15:50:04 +10:00
ucurses all: Run black over all code. 2021-05-27 15:50:04 +10:00
README.md all: Update READMEs. 2021-05-27 15:41:08 +10:00

README.md

Unix-specific libraries

These are libraries that will only run on the Unix port of MicroPython. There is some limited support for the Windows port too.

Note: This directory is largely unmaintained, although large breaking changes are not expected.

Background

The libraries in this directory provide additional CPython compatibility using the host operating system's native libraries.

This is implemented either by accessing the libraries directly via libffi, or by using built-in modules that are only available on the Unix port.

In theory, this allows you to use MicroPython as a more complete drop-in replacement for CPython.