UQ is an uncertainty quantification package written in C++ and Python for identifying friction coefficient in gas pipes.