Python library for GNIP