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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file logfmt-pandas-0.1.2.tar.gz
.
File metadata
- Download URL: logfmt-pandas-0.1.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/5.6.0-2-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e915696bc87a1c46ddb42c1c94388576fdbe77e8fc53822ff392aa6f4c31116 |
|
MD5 | ca0d5d8ae388ae9945f57b3656954f3b |
|
BLAKE2b-256 | dbd591f603d0e5ab47b9488fc3eb4734537f17852be6d42c18c63b6a6f11aa27 |
File details
Details for the file logfmt_pandas-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: logfmt_pandas-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/5.6.0-2-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49b3a5f156c71ff9fb263bf75cf5061d5138ff8b8b6bec778eba39d5a6170234 |
|
MD5 | 94e83f415c0b077d959ebaf82a60537e |
|
BLAKE2b-256 | fe6ce13926ffe7a5785790e7c1d1d6dccd7c03dd78d9b82c2224f4d284f40558 |