New module sqlobject.util.csvimport for test fixtures

0 views
Skip to first unread message

Ian Bicking

unread,
Nov 9, 2005, 5:26:05 PM11/9/05
to SQLObject Discuss, turbo...@googlegroups.com
I've added a module in sqlobject.util.csvimport for loading data from
CSV files for test fixtures. It has docstrings which should explain the
functionality.

I've attached a CSV file I'm using in a test, as an example of what they
look like. If anyone wants to make a function for dumping a class (or
classes) to a CSV file, that'd be useful too. Well, I won't need it,
but it seems like it would fit with CatWalk well. These CSV files are
meant to be human-editable, not necessarily capable of expressing every
database setup (they can and should be augmented with a Python setup
routine).

Hmm... it occurs to me that the csvexport and csvimport modules do not
actually work well with each other. This is mostly a name problem --
they aren't intended to work with each other -- but maybe I should do
something about that.

--
Ian Bicking / ia...@colorstudy.com / http://blog.ianbicking.org
data.csv
Reply all
Reply to author
Forward
0 new messages