Echarts for Python
An unofficial Echarts options generator with Python.
Free software: MIT license
Documentation: http://echarts-python.readthedocs.io/en/stable/ (NOT Ready)
Online demo: https://yufeiminds.github.io/echarts-python/ (NOT Ready)
This repo still on developing (ALPHA), DON’T USE IT IN PRODUCTION.
Installation
Installing echarts-python with pip
$ pip install echarts-python
Current version for Echarts 3.1.6
Basic Usage
from echarts import Echart, Legend, Bar, Axis
chart = Echart('GDP', 'This is a fake chart')
chart.use(Bar('China', [2, 3, 4, 5]))
chart.use(Legend(['GDP']))
chart.use(Axis('category', 'bottom', data=['Nov', 'Dec', 'Jan', 'Feb']))
The chart.json property will be
{
"title": {
"text": "GDP",
"subtext": "This is a fake chart"
},
"series": [
{
"type": "bar",
"data": [
2,
3,
4,
5
],
"name": "China"
}
],
"legend": {
"y": "top",
"x": "center",
"data": [
"GDP"
],
"orient": "horizontal"
},
"xAxis": [
{
"position": "bottom",
"data": [
"Nov",
"Dec",
"Jan",
"Feb"
],
"type": "category"
}
],
"yAxis": {}
}
on Mac OSX, you also can execute
chart.plot()
and invoke a browser to display the chart.
Contribution
This package authored by Hsiaoming Yang <me@lepture.com> in 2014.
If you have any question or want to improve this repository, welcome to create an issue or pull requests .
This repo is maintained by Yufei Li <yufeiminds@gmail.com> now, you can also send a email to me.
Metadata
Release files for echarts-python 0.1.3
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 |
|---|---|---|---|---|
| echarts-python-0.1.3.tar.gz | 6.5 kB | Without provenance | Details for echarts-python-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| echarts_python-0.1.3-py2-none-any.whl | Python 2 | none | any | Details for echarts_python-0.1.3-py2-none-any.whl |
Total release size: 15.1 kB
Release files / echarts-python-0.1.3.tar.gz
| Download URL | echarts-python-0.1.3.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
089fd8307c42ea47722cac25185465a962ca21231bb0e1a6737c19e2ba73578b
|
|
BLAKE2b-256 checksum How to use checksums |
add7258cbe09217d62c225e4f797112493f87382a40d7c4679768ae45ed9d78e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / echarts_python-0.1.3-py2-none-any.whl
| Download URL | echarts_python-0.1.3-py2-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
1f7c79117a287f0bf5ad8468680b429d48093afce1d9e930e3ffd75a7a021eab
|
|
BLAKE2b-256 checksum How to use checksums |
fc540c2f0fbc6f7b98f9410049a47817430fb000343b639b1c3afd2fc4f5cab8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for echarts-python 0.1.3
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.