micropython-async
Mocket
micropython-async | Mocket | |
---|---|---|
7 | - | |
694 | 274 | |
- | - | |
8.1 | 7.6 | |
3 months ago | 1 day ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
micropython-async
- Is it possible to bring out a micropython REPL onto a TFT display?
- _thread.interrupt_main() not defined: 'module' object has no attribute 'interrupt_main'
-
should i force myself to use asyncio?
If you want to use Micropython, you have to use asyncio. An example for an async switch: https://github.com/peterhinch/micropython-async/blob/master/v3/primitives/switch.py
-
Dual-core processing question
There are some great docs and tutorials here: https://github.com/peterhinch/micropython-async/tree/master/v3/docs
-
multithreading with micropython and passing variables between threads
async/await uses a single core but you can have as many tasks as you need. It's takes a little getting your head around but there are some good tutorials, e.g. https://github.com/peterhinch/micropython-async/blob/master/v3/docs/TUTORIAL.md
-
testing my automatic cat food dispenser, controlled by arduino uno, moved by a stepepr motor and build with 3d printed parts.
This is the queue I use: https://github.com/peterhinch/micropython-async/blob/master/v3/primitives/queue.py
-
Micropython asynchronous function for garage door opener
Is there an easy way to make the pushbutton() function run asynchronously? I was looking at this module but it seems somewhat overkill for my purpose.
Mocket
We haven't tracked posts mentioning Mocket yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
picoweb - Really minimal web application framework for the Pycopy project (minimalist Python dialect) and its "uasyncio" async framework
httpretty - Intercept HTTP requests at the Python socket level. Fakes the whole socket module
lib-python - Blynk IoT library for Python and Micropython
Moto - A library that allows you to easily mock out tests based on AWS infrastructure.
MaixPy-v1_scripts - micropython scripts for MaixPy
responses - A utility for mocking out the Python Requests library.
MicroPython-micro-bit_Friend_MOD - The Friend module is a micro:bit chatbot that you can run inside of the REPL.
doublex
epsilon-sample-app-rust - A sample Rust app for the NumWorks graphing calculator
VCR.py - Automatically mock your HTTP interactions to simplify and speed up testing
micropython-lib - Core Python libraries ported to MicroPython
betamax - A VCR imitation designed only for python-requests.