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

In the [LICENSE](https://github.com/micropython/micropython-lib/blob/master/LICENSE) file, it is made clear that each module is separately licensed, and that licenses should be inferred from the files with that module directory. However, there are...

logging: Support extra context for LogRecord. Extra context is usable to enrich log record with concrete context additions. --- logging: move exc_info to common log. The keyword parameters are populated...

enhancement

Docs in: [docs/library/enum.rst: Add Enum class. #16842](https://github.com/micropython/micropython/pull/16842) Usage example: ``` from enum import Enum e = Enum({"X": 1, "Y": 2}) # create Enum object from dictionary of key-value pairs print(e)...

Seems to be needed for some SDXC cards (SanDisk Ultra SDXC). FIXES [Issue #17039](https://github.com/orgs/micropython/discussions/17039) Edit: I'm including the following from the issue to clarify this pull request. _This is my...

This allows installing packages using mip from an index served from the local fs. Usecases: For local testing (especially but not necessarily limited to) using the unix port. So you...

tried different libraries started with https://github.com/peterhinch/micropython-mqtt.git then https://github.com/bobveringa/micropython-mqtt.git but now reverted to umqtt.simple and they all exhibit same behavior gradually increasing message lenght up to 125 characters, when reached wireshark...

https://github.com/micropython/micropython-lib/blob/master/micropython/usb/usb-device-cdc/usb/device/cdc.py#L368 and same for read function. ```python # check for timeout if time.ticks_diff(time.ticks_ms(), start) >= self._timeout: return len(buf) - len(mv) machine.idle() ``` should be something like this: ```python if isinstance(self._timeout,...

Summary: I have been trying to playback music using Micropython but buffering results in choppy playback. Playback 'seems' to be about half the expected speed (Kim Wild singing Cambodia has...

import aioble import asyncio import bluetooth async def scan_bluetooth(): print("Starting BLE scan...") async with aioble.scan( duration_ms=10000, # 扫描 10 秒 interval_us=300000, # 间隔 300 毫秒 window_us=300000, # 窗口 300 毫秒...

Hi, I have a function that scans for advertising data and decode the information (Ruuvi temperature sensors). However, when this runs for a while together with some other tasks, I'm...