Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aerobs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Gattringer
aerobs
Wiki
Documentation
Software best practices
MicroPython
Changes
Page history
New page
Templates
Clone repository
Create Documentation/Software best practices/MicroPython
authored
1 year ago
by
Andreas Gattringer
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Documentation/Software-best-practices/MicroPython.md
+10
-0
10 additions, 0 deletions
Documentation/Software-best-practices/MicroPython.md
with
10 additions
and
0 deletions
Documentation/Software-best-practices/MicroPython.md
0 → 100644
View page @
5e1a39d7
# Limitations
MicroPython does not support the full Python standard library.
In any shared components (i.e. the protocol part), only a subset of modules can be used.
In some cases the code needs to be restructured (e.g. to avoid enums), or custom types and wrappers have to be used (e.g. for timestamps).
This is an
**excerpt**
of Python libraries we cannot use for any shared components:
*
**enum**
: restructure code to avoid
*
**datetime**
: use wrapper/abstract usages
*
**logging**
: try to import, alternatively import logger stub
*
**typing**
: try to import, ignore if import fails (only used for annotation)
\ No newline at end of file
This diff is collapsed.
Click to expand it.