QuecPython Standard Libraries
2023-08-31
- QuecPython provides built-in modules that reflect the Python standard libraries (e.g.
os
,time
) as well as QuecPython specific modules (e.g.bluetooth
,machine
).- Most standard library modules realize equivalent Python modules, and in a few cases provide some QuecPython-specific extension modules (e.g.
array
,os
).- To allow for extension, built-in modules can be extended from Python codes loaded into the device.
This article introduces QuecPython build-in modules (functions and libraries).
You can view all the built-in libraries that can be imported by entering the following code on the REPL:
help('modules')
List of QuecPython Standard Libraries
- uos - Basic System Services
- gc - Reclaimg Memory Fragments
- ubinascii - Conversion between Binary and ASCII
- ucollections - Collection and Container Types
- urandom - Random Number Generation
- math - Mathematical Operation
- usocket - socket Module
- uio - Input and Output Streams
- ustruct - Packing and Unpacking the Raw Data Type
- ujson - Encoding and Decoding JSON
- utime - Time Related Features
- sys - System Related Features
- uzlib - zlib Decompression
- thread - Multi-threading
- uhashlib - Hash Algorithm