Skip to main content

simple python wrapper for naver billboard.js

Project description

pybillboard_js

made-with-python Open Source Love

simple python wrapper for naver billboard.js

billboard.js

Install

pip3 install pybillboard-js
or
python3 -m pip install pybillboard-js

Usage

import billboarder(chart builder)

from pybillboard_js.billboarder import *

generate chart and render

line_chart = Line(some_dataframe)      <- returns lxml.html tree object
line_chart.render()                    <- returns lxml.html tostring result
line_chart.export(some_path)           <- export render() result to destination file

update chart data or options

line_chart.dataframe = some_other_dataframe
line_chart.update()                   <- returns result like generate chart
or simply use all scripts at once
Line(some_dataframe).update("dataframe", some_other_dataframe).export(some_path)

Available Chart Types

simple chart types

Line, Area, Bar, Scatter, Pie, Bubble

advanced chart types

SpLine, AreaSpLine, Step, AreaStep, AreaRange, Donut, Gauge, Radar

and multiple combination

MultipleType

Demo

You can find demo on demo

Bug report and Q&A

If you find bugs or have questions, please notice issues on Github

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

pybillboard_js-0.1.0a6.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

pybillboard_js-0.1.0a6-py3-none-any.whl (5.5 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