This website requires JavaScript.
Explore
Help
Sign In
alanorth
/
csv-metadata-quality
Watch
1
Star
0
Fork
0
You've already forked csv-metadata-quality
mirror of
https://github.com/ilri/csv-metadata-quality.git
synced
2024-11-18 12:07:03 +01:00
Code
Releases
Activity
e49b4e8f22
csv-metadata-quality
/
csv_metadata_quality
/
__main__.py
6 lines
105 B
Python
Raw
Normal View
History
Unescape
Escape
Refactor as package with subpackages This makes it cleaner for introducing checks, fixes, tests, docs, and tests in the future. Currently can be run like this: python -m csv_metadata_quality CSV input and output paths are still hard coded. See: https://dev.to/codemouse92/dead-simple-python-project-structure-and-imports-38c6
2019-07-26 21:11:10 +02:00
from
csv_metadata_quality
import
app
Add support for command line arguments Currently only supports specifying input and output files with -i and -o. Eventually I'll add more options like dry run, debug, and maybe things like forcing unsafe fixes.
2019-07-28 19:31:57 +02:00
from
sys
import
argv
Refactor as package with subpackages This makes it cleaner for introducing checks, fixes, tests, docs, and tests in the future. Currently can be run like this: python -m csv_metadata_quality CSV input and output paths are still hard coded. See: https://dev.to/codemouse92/dead-simple-python-project-structure-and-imports-38c6
2019-07-26 21:11:10 +02:00
if
__name__
==
'
__main__
'
:
Add support for command line arguments Currently only supports specifying input and output files with -i and -o. Eventually I'll add more options like dry run, debug, and maybe things like forcing unsafe fixes.
2019-07-28 19:31:57 +02:00
app
.
main
(
argv
)
Copy Permalink