|
1 | 1 | MicroPython libraries
|
2 | 2 | =====================
|
3 | 3 |
|
4 |
| -The following standard Python libraries are built in to MicroPython. |
5 |
| - |
6 |
| -For additional libraries, please download them from the `micropython-lib repository |
| 4 | +This chapter described modules (function and class libraries) which are built |
| 5 | +into MicroPython. There are few categories of modules: |
| 6 | + |
| 7 | +* Modules which implement subset of standard Python functionality and are not |
| 8 | + intended to be extended by a user. |
| 9 | +* Modules which are implement subset of Python functionality, with a provision |
| 10 | + for extension by a user (via Python code). |
| 11 | +* Modules which implement MicroPython extensions to Python standard libraries. |
| 12 | +* Modules specific to a particular port and thus not portable. |
| 13 | + |
| 14 | +Note about the availability of modules and their contents: This documentation |
| 15 | +in general aspires to describe all modules and functions/classes which are |
| 16 | +implemented in MicroPython. However, MicroPython is highly configurable, and |
| 17 | +each port to a particular board/embedded system makes available only a subset |
| 18 | +of MicroPython libraries. For officially supported ports, there is an effort |
| 19 | +to either filter out non-applicable items, or mark individual descriptions |
| 20 | +with "Availability:" clauses describing which ports provide a given feature. |
| 21 | +With that in mind, please still be ready to a fact that some function/class |
| 22 | +in a module, or even entire module, described in this documentation, may be |
| 23 | +not available in a particular build of MicroPython on a particular board. The |
| 24 | +best place to find a general information of the availability/non-availability |
| 25 | +of a particular feature is "General Information" secton which contains |
| 26 | +information pertaining to a specific port. |
| 27 | + |
| 28 | +Beyond the built-in libraries described in this documentation, many more |
| 29 | +modules from the Python standard library, as well as further MicroPython |
| 30 | +extensions to it, can be found in the `micropython-lib repository |
7 | 31 | <https://github.com/micropython/micropython-lib>`_.
|
8 | 32 |
|
9 | 33 | Python standard libraries and micro-libraries
|
|
0 commit comments