pasty client library