anywherepython

This module provides you with a simple interface to manage your webapp hosted on PythonAnywhere.

View on GitHub

Welcome

This repository provides you with a simple interface to interact with the PythonAnywhere API.

All you need to do is:

Example

from anywherepython import *
API = AnywherePython(username='youuser', apikey = 'yourapikey')
API.get_consoles()
from anywherepython import *
API = AnywherePython(username='youuser', apikey = 'yourapikey')
API.get_consoles()
API.get_console_output(<idofconsole>)
API.send_console_input(<idofconsole>, <tobesent>)
from anywherepython import *
API = AnywherePython(username='youuser', apikey = 'yourapikey')
API.get_webapps()
API.reload_webapps()