<filename>lib/compat/v2/setup_ap/__main__.py
import sys

from lib.networking.config import setup_ap

if __name__ == "__main__":
    ssid = sys.argv[1]
    pw = sys.argv[2]

    setup_ap(ssid=ssid, password=pw)
    print("Completed.")

<filename>lib/compat/v2/setup_ap/__main__.py
import sys

from lib.networking.config import setup_ap

if __name__ == "__main__":
    ssid = sys.argv[1]
    pw = sys.argv[2]

    setup_ap(ssid=ssid, password=pw)
    print("Completed.")
