Python module for retrieving machine and job features in WLCG