Metadata-Version: 2.1
Name: sight-machine
Version: 0.2
Summary: Simple binary logger
Home-page: http://github.com/dbajet/sight_machine/
Author: Denis Bajet
Author-email: dbajet@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.7
Description-Content-Type: text/markdown

Sight Machine
-------------

The `BinaryLogger` allows to store instances of `BinaryLoggable` classes and
then enumerate all entries of any specified class in reverse order::

    import sight_machine
    with sight_machine.BinaryLogger() as log:
        log.write(BinaryLoggableX())
        log.write(BinaryLoggableY())
        log.write(BinaryLoggableX())
        log.write(BinaryLoggableX())

        for entry in log.read(BinaryLoggableX)):
            print(entry)



