With an ESP32 or comparable (RPi Pico W, for example) you get MicroPython or CircuitPython support! That means a Python interpreter, drivers for popular peripherals and usually a network stack. Performance doesn’t beat a native SDK but Python is Python.