m3dev / gokart

Gokart solves reproducibility, task dependencies, constraints of good code, and ease of use for Machine Learning Pipeline.
https://gokart.readthedocs.io/en/latest/
MIT License
305 stars 57 forks source link

Add ini file processor #329

Closed maronuu closed 11 months ago

maronuu commented 11 months ago

Add .ini file support for file_processor.

We use TextFileProcessor for .ini file.

In most cases with gokart, .ini files are used as config files, and there are some cases that requires you to just dump .ini config files, like kannon library development. configparser or LuigiConfigParser are seemingly suitable choices, but their functionality are sometimes overwhelming and there should be options on how to parse the loaded config files. So, in order to achieve these kind of requirements, we use TextFileProcessor for .ini format. The loaded files are text, so users can choose how to parse them.

yokomotod commented 11 months ago

@maronuu lgtm!

kitagry commented 11 months ago

I think you should the reason why you use TextFileProcessor in the PR description.