csvlib

Python CSV helpers


License
MIT-feh
Install
pip install csvlib==1.0.1

Documentation

csvlib

Python CSV helpers

$ python
>>> foo = [{'a': '1', 'b': '2'}, {'a': '3', 'c': '4'}]
>>> bar = [{'c': '5', 'd': '6'}]
>>> import csvlib
>>> csvlib.stringify(True, foo, bar)
"a","b","c","d"
"1","2","",""
"3","","4",""
"","","5","6"