Python plain-text database or library that supports joins?
Michele Simionato
michele.simionato at gmail.com
Sat Jun 23 11:58:26 EDT 2007
On Jun 22, 7:18 pm, felciano <felci... at gmail.com> wrote:
> Hello --
>
> Is there a convention, library or Pythonic idiom for performing
> lightweight relational operations on flatfiles? I frequently find
> myself writing code to do simple SQL-like operations between flat
> files, such as appending columns from one file to another, linked
> through a common id. For example, take a list of addresses and append
> a 'district' field by looking up a congressional district from a
> second file that maps zip codes to districts.
Have you looked at itools?
http://www.ikaaro.org/itools#itools.csv
HTH,
Michele Simionato
More information about the Python-list
mailing list