micropython-lib/unix-ffi
Damien George bea5367ce2 unix-ffi/sqlite3: Bump version to 0.3.0.
The previous commits fixed bugs and added new features.

Signed-off-by: Damien George <damien@micropython.org>
2024-08-22 13:10:35 +10:00
..
_libc
_markupbase unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
cgi
email.charset unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
email.encoders unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
email.errors
email.feedparser unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
email.header unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
email.internal unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
email.message unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
email.parser unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
email.utils unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
fcntl unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
ffilib
getopt unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
gettext unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
glob unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
html.entities
html.parser unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
http.client unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
json json: Move to unix-ffi. 2024-03-19 17:23:07 +11:00
machine all: Use non-u versions of built-in modules. 2024-06-14 10:35:06 +10:00
multiprocessing unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
os all: Use non-u versions of built-in modules. 2024-06-14 10:35:06 +10:00
pwd all: Use non-u versions of built-in modules. 2024-06-14 10:35:06 +10:00
pyb
pyusb pyusb: Add MicroPython implementation of PyUSB library. 2024-05-27 14:02:54 +10:00
re unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
select all: Use non-u versions of built-in modules. 2024-06-14 10:35:06 +10:00
signal unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
socket
sqlite3 unix-ffi/sqlite3: Bump version to 0.3.0. 2024-08-22 13:10:35 +10:00
test.support
time all: Use non-u versions of built-in modules. 2024-06-14 10:35:06 +10:00
timeit unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
tty
ucurses unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
urllib.parse unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00
README.md unix-ffi: Remove "unix_ffi" argument from require(). 2024-03-17 13:22:36 +11:00

README.md

Unix-specific packages

These are packages that will only run on the Unix port of MicroPython, or are too big to be used on microcontrollers. There is some limited support for the Windows port too.

Note: This directory is unmaintained.

Background

The packages 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.

Usage

To use a unix-specific library, a manifest file must add the unix-ffi library to the library search path using add_library():

add_library("unix-ffi", "$(MPY_LIB_DIR)/unix-ffi", prepend=True)

Prepending the unix-ffi library to the path will make it so that the unix-ffi version of a package will be preferred if that package appears in both unix-ffi and another library (eg python-stdlib).