I am developing a program that I plan to distribute to multiple users. This consists of a folder containing the following files:
- convert_units.py
- fit_parameters.py
- plot_results.py
- top_level_module.py
The purpose of "top_level_module.py" is to import the other modules and call them as needed, as shown below:
from convert_units import convert_units
from fit_parameters import fit_parameters
from plot_results import plot_results
input_data = "somefile.csv"
intermediate_result = convert_units(input_data)
final_result = fit_parameters(intermediate_result)
plot_results(final_result)
The goal of naming the above file "top_level_module" is to help users who wish to inspect the code. Specifically, my hope is that when users see this filename they will immediately realise that this is the highest level module, and hence the correct file to read first. However, the name "top_level_module" seems verbose, and I am wondering if another name is already in common use for this purpose.
So my question is: Does anyone know if there is a convention for naming the top level module? Or if any other name would be more widely intuitive?