Atatus python agent works automatically with frameworks. If your python app don't use any framework, then you should follow below steps.
copy
import atatus
client = atatus.Client({
'APP_NAME': 'Your App',
'LICENSE_KEY': 'lic_apm_*********'
});
# Note: You have to manualy call instrument method when the app don't use any framework
atatus.instrument();
def handle_request():
# Note: You have to begin and end transaction to record performance metrics
client.begin_transaction("request");
atatus.set_transaction_name("/user/create");
# TODO: your code here
client.end_transaction();