Coverage for /home/martinb/.local/share/virtualenvs/camcops/lib/python3.6/site-packages/pyexcel_io/readers/__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.readers
3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 file readers
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_reader(
13 relative_plugin_class_path="csv_in_file.FileReader",
14 locations=["file"],
15 file_types=["csv", "tsv"],
16 stream_type="text",
17).add_a_reader(
18 relative_plugin_class_path="csv_content.ContentReader",
19 locations=["content"],
20 file_types=["csv", "tsv"],
21 stream_type="text",
22).add_a_reader(
23 relative_plugin_class_path="csv_in_memory.MemoryReader",
24 locations=["memory"],
25 file_types=["csv", "tsv"],
26 stream_type="text",
27).add_a_reader(
28 relative_plugin_class_path="csvz.FileReader",
29 file_types=["csvz", "tsvz"],
30 locations=["file", "memory"],
31 stream_type="binary",
32).add_a_reader(
33 relative_plugin_class_path="csvz.ContentReader",
34 file_types=["csvz", "tsvz"],
35 locations=["content"],
36 stream_type="binary",
37)