MCP2221 used SMBus (system management bus) compatible function!
from PyMCP2221A import SMBus
bus = SMBus.SMBus()
bus. read_byte(addrs)
bus. write_byte(addrs,val)
bus.write_byte_data(addrs,cmd,val)
bus.read_byte_data(addrs,cmd)
bus.read_word_data(addrs,cmd)
bus.write_word_data(addrs,cmd,val)
bus.read_i2c_block_data(addrs,cmd,size)
bus.write_i2c_block_data(self, addrs,cmd,vals)