Initial commit
This commit is contained in:
7
{{ cookiecutter.repo_name }}/Makefile
Normal file
7
{{ cookiecutter.repo_name }}/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
.PHONY: clean data
|
||||
|
||||
data:
|
||||
python src/make_dataset.py
|
||||
|
||||
clean:
|
||||
find . -name "*.pyc" -exec rm {} \;
|
||||
1
{{ cookiecutter.repo_name }}/README.md
Normal file
1
{{ cookiecutter.repo_name }}/README.md
Normal file
@@ -0,0 +1 @@
|
||||
## {{ cookiecutter.repo_name }}
|
||||
1
{{ cookiecutter.repo_name }}/requirements.txt
Normal file
1
{{ cookiecutter.repo_name }}/requirements.txt
Normal file
@@ -0,0 +1 @@
|
||||
click
|
||||
0
{{ cookiecutter.repo_name }}/src/__init__.py
Normal file
0
{{ cookiecutter.repo_name }}/src/__init__.py
Normal file
19
{{ cookiecutter.repo_name }}/src/make_dataset.py
Normal file
19
{{ cookiecutter.repo_name }}/src/make_dataset.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import click
|
||||
import logging
|
||||
|
||||
|
||||
@click.command()
|
||||
@click.argument('input_filepath', type=str)
|
||||
@click.argument('output_filepath', type=str)
|
||||
def main(input_filepath, output_filepath):
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.info('making final data set from raw data')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
log_fmt = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
|
||||
logging.basicConfig(level=logging.INFO, format=log_fmt)
|
||||
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user