Metadata-Version: 2.1
Name: readlargefile
Version: 1.0.4
Summary: Large text file reader.
Home-page: https://github.com/xmbin/readlargefile
Author: xbn
Author-email: xmgit@outlook.com
License: UNKNOWN
Keywords: Large textfile reader
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: ~=3.7
Description-Content-Type: text/markdown


# Large text file reader.

## usage:
```
from readlargefile.line_reader import LineReader

with LineReader(file_name, max_line, sep) as reader:
    # line is <class 'bytes'>
    for line in reader:
        if line:
            print(line)
        elif line == b'':
            print('empty line.')
        else:
            # line == None
            print('line is too long.')
```


