Projects / PyHtmlTable

PyHtmlTable

PyHtmlTable is a class for Python CGIs to generate HTML tables on the fly. It allows you to set individual row and cell attributes via arbitrary dictionaries, and span rows and columns. It autogrows the table if cells are set outside its initial range. It allows dynamic insertion of new rows and columns anywhere in the table, and allows bulk population of table data via arrays to arbitrary locations in the table. It also provides default cell attributes for tablewide uniformity and the ability to override these on a cell-by-cell basis. PyHtmlTable is intended to be a functional equivalent to Table.pm or Table.php.

Tags
Licenses
Operating Systems
Implementation

RSS Recent releases

  •  24 Jul 2003 10:23

Release Notes: A minor requested change was made: when only colspan and or rowspan is set, the cell being generated now acquires the default cell attributes.

  •  12 Jun 2003 11:45

Release Notes: This release has shorthand to make less verbose method calls. All method calls have both long names and short ones to preserve backward compatibility with older versions. Tarball packaging has been changed to be more directory/version friendly. There are a few other minor fixes.

  •  30 Apr 2003 18:27

Release Notes: Better handling of null table inserts.

  •  22 Apr 2003 18:54

Release Notes: Minor enhancements and some minor bugfixes were made. Shortcuts were added to method names, and more graceful handling of Null inserts into the table was added.

  •  12 Mar 2003 15:53

Release Notes: A fix for a slight logic error with setCellColspan.

Screenshot

Project Spotlight

GOZERBOT

An IRC bot and Jabber bot in one.

Screenshot

Project Spotlight

CN=Monitor

A directory server monitoring application.