code: def pt_fingerprint(query):
      
      if not have_program('pt-fingerprint'):  # pragma: no cover
          raise OSError("pt-fingerprint doesn't appear to be installed")
  
      thread = PTFingerprintThread.get_thread()
      thread.in_queue.put(query)
      return thread.out_queue.get()
docs: Takes a query (in a string) and returns its 'fingerprint'