Coverage for /home/martinb/.local/share/virtualenvs/camcops/lib/python3.6/site-packages/pyexcel_io/writers/__init__.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""
2 pyexcel_io.writers
3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 file writers
7 :copyright: (c) 2014-2020 by Onni Software Ltd.
8 :license: New BSD License, see LICENSE for more details
9"""
10from pyexcel_io.plugins import IOPluginInfoChainV2
12IOPluginInfoChainV2(__name__).add_a_writer(
13 relative_plugin_class_path="csv_in_file.CsvFileWriter",
14 locations=["file", "content"],
15 file_types=["csv", "tsv"],
16 stream_type="text",
17).add_a_writer(
18 relative_plugin_class_path="csv_in_memory.CsvMemoryWriter",
19 locations=["memory"],
20 file_types=["csv", "tsv"],
21 stream_type="text",
22).add_a_writer(
23 relative_plugin_class_path="csvz_writer.CsvZipWriter",
24 locations=["memory", "file", "content"],
25 file_types=["csvz", "tsvz"],
26 stream_type="binary",
27)