TSV

Versions

Description

The tsv module provides two objects for reading and writing tab-separated value files with #-delimited comments, which are common in bioinformatics. To read a file, you use `tsv.TsvReader(stream)`, which iterates over lines as pre-split lists of strings, skipping comments. To write a file, you make a `tsv.TsvWriter(stream)`, which provides a `.line(field, field, field, ...)` method to which you can pass the different fields as arguments, and a `.list_line(list)` method to which you can pass a list of field values.

Repository

https://github.com/adamnovak/tsv

Project Slug

tsv

Last Built

7 years ago passed

Maintainers

Home Page

https://github.com/adamnovak/tsv

Badge

Tags

data, export, import, tsv

Short URLs

tsv.readthedocs.io
tsv.rtfd.io

Default Version

latest

'latest' Version

master