Testing Site Testing Site

skip to navigation
skip to content

logtf-analyser 0.2.2

Downland and search chat logs from logs.tf

logtf_analyser is a cli app to download and query chat logs from Logs.tf.

SQLite is required

Install

pip install logtf_analyser

Examples

Get the last 12 logs of a player

logtf download -l 12 76561197960287930

Get number of ‘gg’s

logtf chat --count-only --steam-id 76561197960287930 --search-str "gg"

Usage

usage: logtf [-h] [-v | -q] [--loglvl {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
             [--logfile LOGFILE] [--logfmt LOGFMT] [--ignore-console]
             [--no-ignore-console] [--dbname DBNAME]
             {chat,count,download,prune} ...

Sends and receives broadcasts (multi social network posts) from a server. Use
[subcommand] -h to get information of a command

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Increse logging output
  -q, --quiet           Decrease logging output
  --ignore-console      ignore chat made by the console (default: False)
  --no-ignore-console
  --dbname DBNAME, -d DBNAME
                        Name of sqlite db (default: chat.db)

Available subcommands:
  {chat,count,download,prune}
    chat
    count
    download
    prune

logging:
  Detailed control of logging output

  --loglvl {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        Set explicit log level
  --logfile LOGFILE     Ouput log messages to file
  --logfmt LOGFMT       Log message format
 
File Type Py Version Uploaded on Size
logtf_analyser-0.2.2-py3-none-any.whl (md5) Python Wheel py3 2017-10-11 8KB