clitool 0.4.1 documentation

What’s clitool

Contents   ::   Examples  »

What’s clitool

clitool is a handy library to support you implementing command line script. This library cuts off redundant argument parsing and configuration loading, and also provides a feature to handle streaming data with some logging.

You can try a simple solution to parse Apache accesslog and create key/value report. This will be suitable for Hadoop Streaming environment.

List of features are:

Contents:

Changes

Release 0.4.1 (released Jul 14, 2014)

  • [feature] Add DictMapper on “clitool.textio” to map text output
  • [feature] Add “utcoffset” on parsed access log

Release 0.4.0 (released Sep 22, 2013)

  • Migrate dependent source repository and move to beta phase
  • [feature] new module, “clitool.textio” to map text inputs
  • [feature] CliHandler accepts “delimiter” keyword
  • [feature] clitool.accesslog.parse is introduced to change parsed keys
  • [deprecate] clitool.accesslog.logentry is deprecated
  • [deprecate] clitool.processor.CsvHandler is deprecated
  • [deprecate] clitool.processor.RowMapper is deprecated
  • [backward compat break] remove deprecated features,
    • “analyzer” keyword in clitool.cli.clistream
    • clitool.processor.clistream

Contents   ::   Examples  »