MicroPython: AP - lvidarte/esp8266 GitHub Wiki

https://raw.githubusercontent.com/lvidarte/esp8266/master/examples/ap/ap.png

You can put the esp8266 as an Access Point mode with the following lines

import network

ap = network.WLAN(network.AP_IF)
ap.config(essid="ESP-AP", password="12345678")
ap.active(True)