Smart file import with auto type detection.
For now you can clone the repository then in your favorite python>=3.6 virtualenv in the clone dir :
$ python setup.py developThis install a dev version of smartimport package.
Now you can execute smartimport but you should create a directory where you will copy all your data/models.
$ mkdir project && cd project
$ touch settings_local.pyYou can change variable in the settings_local.py file. More information on this will comme later.
First you need some training data. Must be a csv file named after the settings.TRAINING_DATA_PATH configuration.
This CSV must contains two cols (data, type). Then execute ::
$ smartimport train # --confusion option to show confusion plotA model will be saved in settings.MODEL_PATH.
When a model file have been created, you can run smartimport on any CSV file :
$ smartimport load <path_to_your_file>and json should describe your file.
- Free software: BSD license
- Documentation: https://smartimport.readthedocs.io.
This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage