Chia plots log porcessor
Project description
Chia Log Processor
A library provide functionality process chia plot log.
Installation
pip install pyChiaLogProcessor
or
pip3 install pyChiaLogProcessor
Demo
from pyChiaLogProcessor import ChiaLog, ChiaLogSummary
# ChiaLog
log = ChiaLog("plot.log")
print(log.find_start())
print(log.find_id())
print(log.find_phrase(1))
print(log.find_phrase(2))
print(log.find_phrase(3))
print(log.find_phrase(4))
print(log.find_plot_name())
print(log.find_complete())
#ChiaLogSummary
summary = ChiaLogSummary(log)
print(summary.isCompleted())
if summary.isCompleted():
print(summary.completeDuration())
print(summary.isPhrase1Done())
if summary.isPhrase1Done():
print(summary.phrase1Duration())
print(summary.isPhrase2Done())
if summary.isPhrase2Done():
print(summary.phrase2Duration())
print(summary.isPhrase3Done())
if summary.isPhrase3Done():
print(summary.phrase3Duration())
print(summary.isPhrase4Done())
if summary.isPhrase4Done():
print(summary.phrase4Duration())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyChiaLogProcessor-0.0.13.tar.gz
(16.9 kB
view hashes)
Built Distribution
Close
Hashes for pyChiaLogProcessor-0.0.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68214c66b2e01726cf934305729b532919f2aa356eff7b0ab1b6a663650bf1ad |
|
MD5 | 54f1cae5cdaf9fe8fd51bb6d689e21d9 |
|
BLAKE2b-256 | c36bcd892143c83f9507c96579cd224b9ce3b3c473ea9c215fb85d3b2c2ca6e4 |
Close
Hashes for pyChiaLogProcessor-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc6bae11bd2b27ca8fbcc90076ec0ce1a37e7b85fb3938c4c0e9161122545e97 |
|
MD5 | 3d224c7e71e564ee88a1db873aa58457 |
|
BLAKE2b-256 | 32f5d8d5f5f22ebff10d6ce496d5fc18158f33d546fdd6a0f3036b1b011f9233 |