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.1.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for sight_machine-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5968d67d2312e267bbdd3322f73c2aedbdaf60cd107722f323d1d3adfa61b05b |
|
MD5 | bdc09d72eecdf4dffa9a1ef983b28eff |
|
BLAKE2b-256 | 4ef59d6446b8d1afa8f8a6492ae7323fad61c795be06316eef20e26b5fb4d05b |