Based on dedicated config section or PEP enclosing dir

.inferProjectName(cfg, filename)

Arguments

cfg

config data

filename

path to the config file

Value

string project name