I had been messing with petl because of seeing it used in various beancount importers and other examples. I already had a lot of transactions set up as "|" separated fields in text files so it was relatively easy to convert that format to tsv format.
I've cleaned up and simplified a data file example and the program and can put it on github. It contains a little description and a script to run it for those on a Unix/Linux like system (but of course those are not required to be used). It is lightly commented code, of the rather brutish sort (I'm not a Python wizard) but that makes it pretty straightforwards. The format the program generates is not very well done as autobean-format does a great job. As a part of the program it does expect a balance column (which is very useful for finding bugs and data problems if you somehow mess up the editing on the input data file). Because it was simple enough for me to go through the older data file and edit it by hand I did not do any automatic account filling in functions, the letter codes I used can be changed to whatever you'd like. Most of them were similar to where they wanted just some kind of account specifier which I edited in by hand (and then could do a pattern search and replace in the whole file). The license I would put it out with is basically free to anyone to use as you wish. Not sure I've got all the bugs out of it, but it does seem to have worked for several thousand transactions. And of course I should also note that I am not an accounting wizard either so some things I've done may not make sense to those who have more experience with this stuff. :) fin -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/2ccack-1gt.ln1%40anthive.com.
