Skip to main content

Read logfmt files into pandas dataframes.

Project description

logfmt-pandas

This package reads logfmt files as pandas DataFrames.

Usage

from io import StringIO

from logfmt_pandas import read_logfmt

data = StringIO("x=0 y=1\nx=1 y=2")
data_frame = read_logfmt(data)

Testing

Run

poetry run pytest

Coverage

Run

poetry run pytest --cov
poetry run coverage html

Coverage report is written to htmlcov/index.html.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logfmt-pandas-0.1.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

logfmt_pandas-0.1.2-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page