Hi all, I have added some basic CSV support to ledger-autosync. It has not been released on pypi, but is available currently via source on gitlab and github.
The features works much like the existing OFX file support in ledger-autosync. ledger-autosync is invoked with a command line argument of a file path, and ledger-autosync prints a series of ledger transactions to stdout. The advantage ledger-autosync has over other CSV to ledger converters is the deduplication features. For CSV files which include a unique ID per row, the transactions will be deduplicated similarly to the existing feature for OFX files. For CSV formats that do not include a unique per row, an MD5 sum will be generated from the row content which will be used to deduplicate. For the moment, I have only added support for Paypal, Amazon and Mint CSV formats, as this is all I had available. However, it should be easy enough for developers to add support for new CSV formats. Examples of converters can be found here: https://gitlab.com/egh/ledger-autosync/blob/master/ledgerautosync/converter.py#L316 I hope that this proves helpful! Feedback welcome. The source is available at gitlab and github: https://{gitlab,github}.com/egh/ledger-autosync I have also recently been working on the 401k and investment features of ledger-autosync, which are not pretty robust, if largely undocumented. Anyone who is not currently tracking their 401k via ledger is encouraged to give it a try! best, Erik -- Sent from my free software system <http://fsf.org/>. -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
