Skip to main content

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


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)

Uploaded Source

Built Distribution

pyChiaLogProcessor-0.0.13-py3-none-any.whl (17.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page