AsyncioFileReader

class ase2sprkkr.common.process_output_reader.AsyncioFileReader(filename, buffersize=8192)[source]

File reader that mimics asyncio StreamReader.

It is synchronous internally, but exposes the async methods used by output parsers so the same parser can consume a subprocess stream or a saved file.

Class hierarchy

Inheritance diagram of ase2sprkkr.common.process_output_reader.AsyncioFileReader


Constructor

__init__(filename, buffersize=8192)[source]
close()[source]
async readline()[source]
static separator_shifts(sep)[source]
async readuntil(sep=b'\n')[source]