As we start creating scripts, a challenge we face is how to execute them from various machines. A Python script (saved with extension .py) needs Python environment, for execution. This would mean that the execution of any script that is shared with different engineers can only be done if Python is installed on the machines from which the script needs to be executed. Additionally, as the script is shared, any new updates to the script would also need to be distributed to the engineers and we need to ensure that engineers execute only the latest one and not the old copies of it. This becomes very unmanageable in an environment where multiple engineers or teams are involved.
To overcome this challenge, we ensure of wrapping the Python scripts inside a web framework. Once the scripts are wrapped inside this framework, they are called Application Program Interfaces ...