Package qubx :: Module table
[hide private]
[frames] | no frames]

Module table

source code

Classes to represent tabular information.

All tables have fields 'Index' (maintained automatically as the row number) and 'Group' (default 0, meant for future classification purposes, see QUB:Select).

Copyright 2008-2015 Research Foundation State University of New York This file is part of QUB Express.

QUB Express is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QUB Express is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License, named LICENSE.txt, in the QUB Express program directory. If not, see <http://www.gnu.org/licenses/>.

Classes [hide private]
  TableRow
Represents the data in one row of a Table, with .field_name access, and a dict of fields.
  Table
Base class for info that can be represented as a table.
  TableUndo
Binds a Table to a qubx.undo.UndoStack.
  SimpleTable
Implements Table by storing all rows and fields internally.
  ObjectTable
Implements Table as a list of pre-existing objects.
  TextStats
Functions [hide private]
 
get_none(obj) source code
 
set_none(obj, val) source code
 
run_now(f, *args, **kw) source code
 
auto_format(x) source code
 
float_decimal_comma(s) source code
 
read_table_text(txt)
Returns headers, types, columns.
source code
 
default_column_name(i) source code
Variables [hide private]
  MAX_FIELDS = 256
  MAX_BOOLS = 16
  COPY_ROWS_ALL = 0
  COPY_ROWS_CHECKED = 3
  COPY_ROWS_CRITERIA = 2
  COPY_ROWS_GROUP = 1
  __package__ = 'qubx'
  e = 2.71828182846
  pi = 3.14159265359
  rdbk = 'Expired.'
  rdbreak = 'supporting'
  rdname = 'qubfast.txt'