A python module for matching large catalogues against each other