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.2.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for sight_machine-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6446df36e8dfd4b46e8427e4f711d1ba22280e771c78064ecc259b6270c92264 |
|
MD5 | 35bb9503f74c9308660447759ce3b4a6 |
|
BLAKE2b-256 | c4aa6fd41400d3e53a83e4e9ebc2aec7d70491372bfa30f4c511b192bcebc0d6 |