You could buy a cheap TP-Link Router with a USB-Port and LEDE/OpenWRT support, add a second wifi interface (usb dongle) and then use your neighbors wifi as WAN connection.
Good usb dongles are:
1. Alfa AWUS036NHA – $28.97
2. TP-LINK TP-WN722N OR TP-WN722NC $15.99
Benefits:
have "your" wifi on a separate channel, you have your own subnet, firewalled (nat) from your neighbor's net.
I second ce4's suggestion. LEDE/OpenWRT are open source projects of linux based firmwares that run on embedded devices. Tangentally, I've used OpenWRT in combination with: a cheap router, a USB dongle as a second wifi interface, a 4G/LTE hotspot and a package called MWAN3 (previously MultiWAN) to configure a cheap and reliable setup for automated WAN failover (backup internet) and for circumventing restrictions of 4G/LTE hotspot devices.
Good usb dongles are: 1. Alfa AWUS036NHA – $28.97 2. TP-LINK TP-WN722N OR TP-WN722NC $15.99
Benefits: have "your" wifi on a separate channel, you have your own subnet, firewalled (nat) from your neighbor's net.