micropython-lib icon indicating copy to clipboard operation
micropython-lib copied to clipboard

Core Python libraries ported to MicroPython

Results 354 micropython-lib issues
Sort by recently updated
recently updated
newest added

### Expexted behaviour: Using this formatter the log output will include a timestamp. ```python logging.Formatter('%(asctime)s | %(name)s | %(levelname)s - %(message)s') ``` Like this: `Tue Feb 17 09:42:58 2009 |...

![image](https://github.com/micropython/micropython-lib/assets/70886343/e2e4dffd-31a3-4b4a-ad2c-7307a40eb230) The main feature of this driver is that the generation and counting of pulses are performed by hardware, which frees up time in the main loop. PWM will start...

Having the option to wrap / return os.stat() with the cpython standard format can greatly aid in porting third party libraries.

When I look at the io module, it imported a module called 'uio' But I did not found it anywhere, where that thing comes from?

When there are network issues and I want to disconnect from mqtt client, the socket writes are blocking and cannot be changed (I havent been successful) so it will just...

I am not able to consistently write to my microSD card using the sdcard.py library. I have been following [this tutorial to get my Raspberry Pi Pico write to my...

**Board used** ESP8266 **What is the problem:** Umqtt.robust() on reconnection will forget the previously subscribed topics i.e, it do not fetch messages of subscribed topics after reconnection. **When the problem...

I had a need for `async with` support so ported `@asynccontextmanager ` from cpython, with just a basic amount of simplifying of the needed functions from https://github.com/python/cpython/blob/3.11/Lib/contextlib.py Arguably this `micropython/ucontextlib`...

Currently, the only way to know if `mip.install` has failed is to interpret the final line emitted to stdout. This makes it difficult to use `mip` in scripts. To better...

logging.StreamHandler inherits from logging.Handler but does not call super().__init__() so it misses to initialize level and formatter instance variables by the way, logging.Handler should initialize formatter to a working formatter,...