Skip to main content
https://travis-ci.org/hekyou/python-ltsv.png?branch=master

Parser implementation in Python

LTSV:
Labeled Tab-separated Values

Installation

pip install ltsv

Usage

parsing

csv like interface:

>>> import sys
>>> if sys.version_info[0] == 3:
...     from io import StringIO
... else:
...     from cStringIO import StringIO
...
>>> import ltsv
>>> reader = ltsv.reader(StringIO("ip:127.0.0.1\thost:localhost"))
>>> next(reader)
[['ip', '127.0.0.1'], ['host', 'localhost']]

writing

dic = {u'ip': u'127.0.0.1', u'host': u'localhost'}
string = ltsv.writer(dic)
print(string)
# ip:127.0.0.1    host:localhost

Metadata

Release files for ltsv 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ltsv 0.0.5
File Size Uploaded Provenance
ltsv-0.0.5.tar.gz 2.1 kB Without provenance Details

Release files / ltsv-0.0.5.tar.gz

Download URL ltsv-0.0.5.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5bebd1051ddec9b52237e252473a91b5f4eeea04a4ef0353e2ef354ec92984b0
BLAKE2b-256 checksum
How to use checksums
eb088398ac4672b3f357396feb345691781506570f41397d5ca42ea4298c7bd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ltsv 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page