I agree with Jim that you do not need uwsgi but, in any case, py4web is a wsgi app and you can access do what you want as follows
from py4weby.code import wsgi
module = wsgi(password_file="password.txt", dashboard_mode="full", apps_folder="apps")
You may need to specify the full absolute paths to password_file and apps_folder.