Pretty-print Python objects to Buche logger.
Project description
Helper package to pretty-print and interact with Python objects using the Buche logger.
Requires Python >= 3.6
Usage
You must install Buche through npm first (npm install -g buche). This package helps interact with Buche, but it is not the application itself. Once you have written your script, use it as follows:
buche python -u yourscript.py
Sample script:
from buche import buche
buche(1234)
buche([x * x for x in range(100)])
buche(avocado="green", banana="yellow", cherry="red")
buche['second_tab']("Hello")
buche['third_tab/one'].html('<b>Hello!</b>')
buche['third_tab/two'].markdown('**Hello!!**')
plot = buche.open_plot('myplot', title="Polynomials")
for i in range(100):
plot['square'].log_point(x=i, y=i*i)
plot['cube'].log_point(x=i, y=i*i*i)
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
buche-0.1.4.tar.gz
(7.4 kB
view hashes)
Built Distribution
buche-0.1.4-py3-none-any.whl
(9.7 kB
view hashes)