emarket_data_explorer.cli

This module provides the E-market Data Explorer CLI.

Todo:

  1. will move init_data job to config.py or data_builder.py in v1.4

  2. will implement retry by adding the abstract class to decouple the retry mechanism in v1.4

  3. to standardized the typer.exit code, define scrap-async error code in v1.4

emarket_data_explorer.cli.eda(required_args: ~typing.List[str] = <typer.models.ArgumentInfo object>) None

Create EDA process and charts from csv files

emarket_data_explorer.cli.get_explorer() ShopeeExplorer

reads data in configs and passes them as args to initialize shopee_data_explorer.Explorer class

Args:

None

Returns:

the instance of shopee_data_explorer.Explorer

emarket_data_explorer.cli.init(data_path: str = <typer.models.OptionInfo object>, data_source: int = <typer.models.OptionInfo object>) None

Initialize the shopee explorer data folder.

emarket_data_explorer.cli.main(version: ~typing.Optional[bool] = <typer.models.OptionInfo object>) None

E-Market Data Explorer is a Python-based crawler and exploratory data analysis(EDA) tool for marketing specialties who would like to conduct the STP methods for working out their marketing strategy for sale and promotion.

Updated for E-Market Data Explorer 1.1, June 2022

Author:

Currently written and maintained by Paul Yang <paulyang0125@gmail> and Kana Kunikata <vinaknkt@gmail.com>.

emarket_data_explorer.cli.scrap_async(required_args: ~typing.List[str] = <typer.models.ArgumentInfo object>, mode: int = <typer.models.OptionInfo object>, verbose_level: int = <typer.models.OptionInfo object>) None

Scrap commercial data from the data source specified by user