--- title: "Advanced Python Configuration" slug: "python-advanced-configuration" description: "Track Ruby CLI apps with Stackify Ruby Profiler. Configure with specific methods, use Rails or non-Rails setup. Monitor at Monitoring > Other Apps." updated: 2019-05-16T15:27:23Z published: 2019-05-16T15:27:23Z canonical: "docs.stackify.com/python-advanced-configuration" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.stackify.com/llms.txt > Use this file to discover all available pages before exploring further. # Advanced Configuration ## Python CLI Support The Stackify Python Profiler can be used to track Python CLI applications. Add the following to your Python application. ``` from stackifyapm.contrib import StackifyAPM StackifyAPM() ``` Configuration is required to itemize which methods mark the start of a transaction. Include a `stackify.json` file in your application's root directory: ``` { "application_name": "Python Application", "environment": "Production", "instrumentation": [{ "class": "SampleClass1", "method": "execute", "module": "path.file", "transaction": true }] } ``` **Python CLI** applications are tracked in Retrace at **Monitoring > Other Apps**. You must use the **Add App** button to add your application.