Add pypi query handler