def put_row()

in python/thrift/client.py [0:0]


    def put_row(self, table, row_key, column, value):
        """ Puts a value in a specific cell in Hbase based on table name, row
        key, and the full column name

        :param table:
        :param row_key: The key of the row we want to put a value in
        :param column: The column name including the column family with the
                       colon format, such as 'cf:count'
        :param value: The array of bytes (using Python's string type) to insert
                      as the value for this cell
        :return: None
        """
        try:
            mutations = [Hbase.Mutation(
                column=column, value=value)]
            self.client.mutateRow(table, row_key, mutations)
        except Thrift.TException, tx:
            print '%s' % tx.message