def METHOD_NAME():
    # language=rst
    """
    Table of plain python objects
    -----------------------------
    """
    def plain_objs_view(request):
        # Say I have a class...
        class Foo(object):
            def __init__(self, i):
                self.a = i
                self.b = 'foo %s' % (i % 3)
                self.c = (i, 1, 2, 3, 4)
        # and a list of them
        foos = [Foo(i) for i in range(4)]
        # I can declare a table:
        class FooTable(Table):
            a = Column.number()
            b = Column()
            # Display the last value of the tuple
            c = Column(
                cell__format=lambda value, **_: value[-1],
            )
            # Calculate a value not present in Foo
            sum_c = Column(
                cell__value=lambda row, **_: sum(row.c),
                sortable=False,
            )
        # now to get an HTML table:
        return FooTable(rows=foos)
    # @test
    show_output(plain_objs_view(req('get')))
    # @end
    # language=rst
    """
    All these examples and a bigger example using many more features can be found in the examples project.
    """