simple python wrapper for naver billboard.js
Project description
pybillboard_js
simple python wrapper for naver 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
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
Built Distribution
File details
Details for the file pybillboard_js-0.1.0a6.tar.gz
.
File metadata
- Download URL: pybillboard_js-0.1.0a6.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e016d89c58a176da8acdd67fe8e5958cfc6744965476fdb39c1407707de23fe3 |
|
MD5 | 09aeadf777f676f187bd9ed95974ac22 |
|
BLAKE2b-256 | ee1844083bfbf1fb7ab7a6c66263255301fb80c377830fe86871d17a3fd8d7ca |
File details
Details for the file pybillboard_js-0.1.0a6-py3-none-any.whl
.
File metadata
- Download URL: pybillboard_js-0.1.0a6-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0d748ed6b37681892389e2b19b4a9693bd666e3f12cc860ff9e1f8cd90e2da0 |
|
MD5 | 19cdb9bf735cd82ee9da762e04efb09f |
|
BLAKE2b-256 | 198e7abbc8da6783bd0ef3ad3928f4fa5492a24fe244279ae904c98f3c7b887a |