set projectname with a parameter when using generate_trend.py

close https://github.com/buildtimetrend/python-lib/issues/56 [skip ci]