alan-turing-institute / CleverCSV

CleverCSV is a Python package for handling messy CSV files. It provides a drop-in replacement for the builtin CSV module with improved dialect detection, and comes with a handy command line application for working with CSV files.
https://clevercsv.readthedocs.io
MIT License
1.24k stars 70 forks source link

Add a `clevercsv.standardize(...)` function that performs the actions of the `standardize` CLI call #107

Open DeflateAwning opened 10 months ago

DeflateAwning commented 10 months ago

It seems silly that there's a CLI call you can make that doesn't have an associated wrapper in Python. Please add a wrapper for that call in Python, and then refactor clevercsv\console\commands\standardize.py to use that function instead.

GjjvdBurg commented 10 months ago

Good point. Why don't you open a pull request for it?

DeflateAwning commented 10 months ago

I may eventually. Outside of the scope of what I have time for atm, but potentially one day. Just wanted to throw it out so that others know this is a good first project to work on, and a necessary step in a future refactor