This release is a pre-release and may not be stable for production use.
# pybillboard_js
[](https://www.python.org/) [](https://github.com/ellerbrock/open-source-badge/)
simple python wrapper for naver billboard.js
[<img src=”https://naver.github.io/billboard.js/img/logo/billboard.js.svg” width=”350” alt=”billboard.js”></img>](https://github.com/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 <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Line.png”></img> ` Line(some_dataframe).export(some_path) ` ##### Area <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Area.png”></img> ` Area(some_dataframe).export(some_path) ` ##### Bar <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Bar.png”></img> ` Bar(some_dataframe).export(some_path) ` ##### Scatter <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Scatter.png”></img> ` Scatter(some_dataframe).export(some_path) ` ##### Pie <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Pie.png”></img> ` Pie(some_dataframe).export(some_path) ` ##### Bubble <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Bubble.png”></img> ` Bubble(some_dataframe).export(some_path) `
### stacked charts ##### Area Stack <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Area_stack.png”></img> ` Area(some_dataframe, stack = True).export(some_path) ` ##### Bar Stack <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Bar_stack.png”></img> ` Bar(some_dataframe, stack = True).export(some_path) `
### advanced chart types ##### SpLine <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/SpLine.png”></img> ` SpLine(some_dataframe).export(some_path) ` ##### AreaSpLine <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/AreaSpLine.png”></img> ` AreaSpLine(some_dataframe).export(some_path) ` ##### Step <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Step.png”></img> ` Step(some_dataframe).export(some_path) ` ##### AreaStep <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/AreaStep.png”></img> ` AreaStep(some_dataframe).export(some_path) ` ##### AreaLineRange <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/AreaLineRange.png”></img> ` AreaLineRange(some_dataframe).export(some_path) ` ##### AreaSpLineRange <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/AreaSpLineRange.png”></img> ` AreaSpLineRange(some_dataframe).export(some_path) ` ##### Donut <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Donut.png”></img> ` Donut(some_dataframe).export(some_path) ` ##### Gauge <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Gauge.png”></img> ` Gauge(some_dataframe).export(some_path) ` ##### Radar <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/Radar.png”></img> ` Radar(some_dataframe).export(some_path) `
### and multiple combination <img src=”https://github.com/eseunghwan/pybillboard-js/blob/master/demo/images/MultipleType.png”></img> ` MultipleType(some_dataframe, dictionary_style_type_info).export(some_path) `
## Demo You can find demo on [demo](https://github.com/eseunghwan/pybillboard_js/tree/master/demo)
## Bug report and Q&A If you find bugs or have questions, please notice [issues](https://github.com/eseunghwan/pybillboard_js/issues) on Github
Metadata
Release files for pybillboard-js 0.1.0a7.post20180801
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pybillboard_js-0.1.0a7.post20180801.tar.gz | 6.1 kB | Without provenance | Details for pybillboard_js-0.1.0a7.post20180801.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pybillboard_js-0.1.0a7.post20180801-py3-none-any.whl | Python 3 | none | any | Details for pybillboard_js-0.1.0a7.post20180801-py3-none-any.whl |
Total release size: 14.7 kB
Release files / pybillboard_js-0.1.0a7.post20180801.tar.gz
| Download URL | pybillboard_js-0.1.0a7.post20180801.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26bc9d6a17b213ef4ab36038d2e592d5181abcffdda0e52d7d44f11fdd22f1cc
|
|
BLAKE2b-256 checksum How to use checksums |
11182ed14a05330b78b3cc069a3c5b13426cc54e9269877f2bd6de1209ba56f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4
|
Release files / pybillboard_js-0.1.0a7.post20180801-py3-none-any.whl
| Download URL | pybillboard_js-0.1.0a7.post20180801-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a36c4fec02a2f93185926fc78f3350d82e55bb7a8d0779e042114d9acb74dce6
|
|
BLAKE2b-256 checksum How to use checksums |
0291004e2f6650cffaeb1aa25613d88a05971a90e1fc79a7acfdfb3c35a48749
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4
|
Security for pybillboard-js 0.1.0a7.post20180801
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.