Simple binary logger
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sight_machine-0.3.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for sight_machine-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e826676f71cf88663cc724d5b40f2d589cfd454456313e6eaf522edcb7afb78 |
|
MD5 | 86350b6cb1d494419db3f1fd3703b983 |
|
BLAKE2b-256 | b5bc854a02eecb92eea7bb183a0cd6dbc6ab47e2fa8ae6e1ea711351ddafa137 |