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

Add optional support for ES256 JWT signing/verifying to PyJWT using @dmazzella's cryptography port. Test output: ``` Testing HS256 Encode/decode test: OK Invalid signature test: OK Expired token test: OK Testing...

Hi! I read the docs on publishing the packages: https://docs.micropython.org/en/latest/reference/packages.html#writing-publishing-packages We maintain a package for reading and writing Asset Administration Shell models in Python (https://github.com/aas-core-works/aas-core3.0-python). Recently, we implemented a reduced...

Fix a bug in the NTP client, where it would report the wrong time after 7 Feb 2036. The NTP timestamp has a 32-bit count of seconds, which will wrap...

Hi, does anyone know how to interface the ZTS6531S smt microphone? I it got working with Circuitpy but, I want to use mpython instead. Any help is appreciated.

Is there a demo to show how to use ssl in umqtt.simple v1.4.0

When the time.gmtime() reaches January 19, 2038 03:14:08 UTC, a program using datetime.now() will crash with an > OverflowError: overflow converting long int to machine word The line in question...

Is there option to setup the timeout that the socket will wait until connection is established? Similar to: [socket.settimeout(value)](https://docs.python.org/2/library/socket.html#socket.socket.settimeout) https://github.com/micropython/micropython-lib/blob/45ead11f965ddad664b8efe380d83155859e653b/micropython/umqtt.simple/umqtt/simple.py#L63

While looking at the MicroPython Requests module (on the git HEAD), I noticed this nightmare: ``` context = tls.SSLContext(tls.PROTOCOL_TLS_CLIENT) context.verify_mode = tls.CERT_NONE s = context.wrap_socket(s, server_hostname=host) ``` Assuming that it...

bug

This removes all the hard-coded request headers from the requests module so they can be overridden by user provided headers dict. Furthermore allow streaming request data without chunk encoding in...