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.5.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for sight_machine-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e48f1aa5c7d448c009f8cd646fe8c4de5f747563b5fafad9681b855649b34b8 |
|
MD5 | a0241d613badb6a22ed97c409b04e775 |
|
BLAKE2b-256 | 38dc050e6907fccdad7b5f6a0e657b2619e25e782cdd447bbc7492a5fc4b3da1 |