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

I was using USB-device-midi to send MTC to the host, which is essentially SysEx. But was _slowed_ by the missing helper function to send the packet of SysEx. Anyhow, I...

This commit is fixing this issue: https://github.com/micropython/micropython-lib/issues/780 As discussed here https://github.com/orgs/micropython/discussions/13239 Now the pid of child thread will be stored and closed properly. Even with context manager.

I was using USB-device-midi to send MTC to the host, which is essentially SysEx. But was _slowed_ by the missing helper function to send the packet of SysEx. Anyhow, I...

On my last PR that updated the parsing of the CSD register, I was asked if a test could be provided. Here's a test for the csd parsing, with csd...

## Summary Adds enum package implementing PEP 435 (Enum) and PEP 663 (Flag) with modular lazy-loading structure. This package provides CPython-compatible enum support for MicroPython, enabling libraries like python-statemachine and...

When I run the code simple.py on a Pi Pico. I was getting "IndexError: bytes index out of range" after the internet was connected, but the MQTT broker connection failed....

I tried to run the different usb.device examples on different ESP32S3 board all with the same results. Since version 1.26.1 and also in version 1.27.x receiving the LED information from...

This is a improved MicroPython alternative to - the .c based minimal typing module proposed in https://github.com/micropython/micropython/pull/15911 - the .pyhon based https://github.com/micropython/micropython-lib/pull/584 - https://github.com/Josverl/micropython-stubs/tree/main/mip#micropythons-typingmpy-module based on all the above and...

enhancement

code in urequests ver 0.5.1: `s.write(b"Content-Length: %d\r\n" % len(data))` "len" calcs a single unicode as 1 length. to correct it. **encode the data before calcs the length** as: `s.write(b"Content-Length: %d\r\n"...

unicode

The [cdc.CDCInterface](https://github.com/micropython/micropython-lib/blob/master/micropython/usb/usb-device-cdc/usb/device/cdc.py) works great for my use case of having a single RP2040 host a REPL for active interaction as well as a metrics endpoint for me to be able...