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
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
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 / ianb@... / http://blog.ianbicking.org
Get latest updates about Open Source Projects, Conferences and News.