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 details)
Built Distribution
File details
Details for the file pyChiaLogProcessor-0.0.13.tar.gz
.
File metadata
- Download URL: pyChiaLogProcessor-0.0.13.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68214c66b2e01726cf934305729b532919f2aa356eff7b0ab1b6a663650bf1ad |
|
MD5 | 54f1cae5cdaf9fe8fd51bb6d689e21d9 |
|
BLAKE2b-256 | c36bcd892143c83f9507c96579cd224b9ce3b3c473ea9c215fb85d3b2c2ca6e4 |
File details
Details for the file pyChiaLogProcessor-0.0.13-py3-none-any.whl
.
File metadata
- Download URL: pyChiaLogProcessor-0.0.13-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc6bae11bd2b27ca8fbcc90076ec0ce1a37e7b85fb3938c4c0e9161122545e97 |
|
MD5 | 3d224c7e71e564ee88a1db873aa58457 |
|
BLAKE2b-256 | 32f5d8d5f5f22ebff10d6ce496d5fc18158f33d546fdd6a0f3036b1b011f9233 |