Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xibra/python-data-reader

Lightweight Python package that can lazily read large data files.
https://github.com/0xibra/python-data-reader

data-reader file-reader python python-library python3

Last synced: about 2 months ago
JSON representation

Lightweight Python package that can lazily read large data files.

Awesome Lists containing this project

README

        

[Data Reader](https://github.com/polkovnik-z/python-data-reader/blob/master/README.md)
===========
> Python package that **lazily** reads data from large **JSON**, **XML** and **CSV** files.

Why not use the already existing libs you ask ?
Well, for me, it was crucial to have a small package size that can be deployed to a **Serverless** environment as this was the main goal.

This package has only one dependency, and that is `ijson` which itself is small.

Installation
------------
```sh
pip install data-reader
```

API Reference
-------------
* [Mapper - `data_reader.mapper`](https://github.com/polkovnik-z/python-data-reader/blob/master/docs/mapper.md)
* Readers
* [CSVReader - `data_reader.readers.csv_reader`](https://github.com/polkovnik-z/python-data-reader/blob/master/docs/csv-reader.md)
* [JSONReader - `data_reader.readers.json_reader`](https://github.com/polkovnik-z/python-data-reader/blob/master/docs/json-reader.md)
* [XMLReader - `data_reader.readers.xml_reader`](https://github.com/polkovnik-z/python-data-reader/blob/master/docs/xml-reader.md)