Buffer API library client for python