Tab-Separated Key-Value format
- Each line starts from prefix
tskv\t
. - Values are stored as key-value pairs that is separated with equal sign
=
. - Prefix and key-value pairs separated with tabs
\t
.
One could install package in common way from PyPI with pip
pip install tskv
In order to setup the newest version from source codes, one should clone repository first and than run installation script
git clone git@github.com:daskol/tskv.git
python tskv/setup.py
Than run tests as follows
python -m unittest discover tskv/tests/
In the begging it data representation format is used for running mappers in Hadoop Streaming regine.
See examples/ for working example of utility that converts nginx's logs to tksv-formatted files.