Metadata-Version: 2.1
Name: nart
Version: 1.1.dev1
Summary: NART: Naver RealTime Keyword
Home-page: https://github.com/ocworld/nart
Author: Keunhyun Oh
Author-email: ocworld@gmail.com
License: MIT License
Requires-Dist: requests (==2.21.0)
Requires-Dist: schedule (==0.6.0)
Requires-Dist: beautifulsoup4 (==4.7.1)

Copyright (c) 2019 Keunhyun Oh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Description: # nart
        [![PyPI version shields.io](https://img.shields.io/pypi/v/ansicolortags.svg)](https://pypi.org/project/nart/)
        [![PyPI pyversions](https://img.shields.io/pypi/pyversions/ansicolortags.svg)](https://pypi.org/project/nart/)
        [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
        
        NART: NAver RealTime keywords
        
        # Install
        ```console
        foo@bar:~$ pip install --upgrade nart
        ```
        
        # API
        ```python
        from nart.nart import Nart
        from nart.writer.builtins.csvwriter import CSVWriter
        
        outrepos = [CSVWriter(path='/tmp/test.csv')]
        nart = Nart(outrepos)
        nart.write_nart()
        nart.run_with_hour(interval=1)
        
        ```
        
        You can define custom outrepositories and datasources by using inheriting OutRepository and DataSource
        
        # Console
        ```console
        usage: nart [-h] [-u TIMEUNIT] [-iv INTERVAL] [-csv CSVOUT] [-v] [-on]
        
        NART needs arguments
        
        optional arguments:
          -u, --timeunit              Input schedule time unit. (hour, min, or sec)
          -h, --help            show this help message and exit
          -iv INTERVAL, --interval INTERVAL
                                Inverval time between collecting realtime keywords.
                                Timeunit is based on timeunit
          -csv CSVOUT, --csvout CSVOUT
                                Set the csvfilepath, if you want to write csvfile
          -v, --verbose         Set the flag, if you want for results to be printed
          -on, --startontime    Set the flag, collecting data start on the hour or on
                                the min
        ```
        
        For example
        ```console
        foo@bar:~$ nart -u hour -csv /tmp/test.csv -v -iv 1
        ```
        
Platform: any
Classifier: Programming Language :: Python :: 3.6
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Office/Business :: News/Diary
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Operating System :: Microsoft :: Windows
Classifier: Intended Audience :: Science/Research
Classifier: Environment :: MacOS X
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Requires-Python: >=3.6
