micropython-lib
micropython-lib copied to clipboard
Core Python libraries ported to MicroPython
This adds a method to include default/installable certificates from Mozilla's CA store which could solve the default certs problem from micropython/micropython#8968
`MicroPython v1.21.0; Raspberry Pi Pico W with RP2040`. `requests.request` exposes a `stream=None` parameter: https://github.com/micropython/micropython-lib/blob/d8e163bb5f3ef45e71e145c27bc4f207beaad70f/python-ecosys/requests/requests/__init__.py#L36-L46 but it is never functionally used, nor is some `iter_content` API exposed; the parameter is only...
Add async mqtt simple client compatible with `SSLContext` from: - [x] https://github.com/micropython/micropython/pull/11897
## Title: SD Card Initialization Timeout Issue: Lenovo thinkplus platinum Pro 64GB V30 A3 U3 **Description:** I'm experiencing an initialization timeout issue with a Lenovo thinkplus platinum Pro 64GB V30...
Brought up a couple of times here and on the forums. To implement this I just took most things from `dir(typing)` in CPython 3.8, removed what looked too esoteric and...
*Maintainer edit: Continuation from discussion at https://github.com/orgs/micropython/discussions/12989* For a Hope Radio RF96 (RFM96W) the RSSI readings seem to calculated incorrectly. I generally see about -110dBm where errors start creeping-in. Two...
A simple script like this, breaks the whole script or device when trying to make requests from two works ¿? I dont know exactly how to call the problem but...
The json lib module seems to have an issue. That was not observed in 2018. **To reproduce the error take:** r = requests.get('https://aa.usno.navy.mil/api/rstt/oneday?date=2023-11-21 &coords=48.441832,9.890139 &tz=2').json() **Generated error message:** File "requests/__init__.py",...
This allows overriding of the `connect()` method by a subclass as per the included examples: `example_lwt_robust.py` and `example_resubscribe_robust.py`. Fixes #186 (by enabling `example_resubscribe_robust.py`) Supersedes PR #195 (original source file moved,...
Is there an api (and does BT allow it) to assign a data type to a Characteristic? I am creating my own service and characteristics using 128bit UUID's. I'd like...