|
| 1 | +<p align="center"> |
| 2 | + <img src="https://github.com/VisActor/.github/raw/main/profile/logo_500_200_dark.svg" alt="pyvchart logo" width=200 height=200 /> |
| 3 | +</p> |
| 4 | +<h1 align="center">pyvchart</h1> |
| 5 | +<p align="center"> |
| 6 | + <em>Python ❤️ VChart = pyvchart</em> |
| 7 | +</p> |
| 8 | +<p align="center"> |
| 9 | + <a href="https://github.com/pyvchart/pyvchart/actions"> |
| 10 | + <img src="https://github.com/pyvchart/pyvchart/actions/workflows/python-app.yml/badge.svg" alt="Github Actions Status"> |
| 11 | + </a> |
| 12 | + <a href="https://codecov.io/gh/pyvchart/pyvchart" > |
| 13 | + <img src="https://codecov.io/gh/pyvchart/pyvchart/branch/main/graph/badge.svg?token=q4Op7n64fK" alt="Codecov"/> |
| 14 | + </a> |
| 15 | +</p> |
| 16 | +<p align="center"> |
| 17 | + <a href="https://github.com/pyvchart/pyvchart/pulls"> |
| 18 | + <img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat" alt="Contributions welcome"> |
| 19 | + </a> |
| 20 | + <a href="https://opensource.org/licenses/MIT"> |
| 21 | + <img src="https://img.shields.io/badge/License-MIT-brightgreen.svg" alt="License"> |
| 22 | + </a> |
| 23 | +</p> |
| 24 | + |
| 25 | +[中文 README](README.md) | [English README](README.en.md) | [日本語(にほんご)README](README.jp.md) |
| 26 | + |
| 27 | +## 📣 Introduction |
| 28 | + |
| 29 | +[VisActor/VChart](https://github.com/VisActor/VChart) is a core chart component library of the open-source visualization solution VisActor by ByteDance. It is based on the visualization grammar library VGrammar and the rendering engine VRender, providing not only data presentation but also support for animation orchestration for narrative scenarios, rich interaction capabilities, and customizable chart styles. The simple and easy-to-use configuration greatly reduces the learning cost for users. Python, with its expressive syntax, is well-suited for data processing and AI scenarios. When data analysis and modeling meet data visualization, [pyecharts](https://github.com/pyecharts/pyecharts) and [pyvchart](https://github.com/pyvchart/pyvchart) were born. |
| 30 | + |
| 31 | +## ✨ Features |
| 32 | + |
| 33 | +* API design similar to [pyecharts](https://github.com/pyecharts/pyecharts), smooth and fluent usage, supports method chaining |
| 34 | +* Includes all charts from VChart, everything you need |
| 35 | +* Supports mainstream Notebook environments, Jupyter Notebook, JupyterLab (**Coming soon...**) |
| 36 | +* Can be easily integrated into mainstream Web frameworks such as Flask, Sanic, Django (**Coming soon...**) |
| 37 | +* Highly flexible configuration options, allowing for the creation of beautiful charts with ease |
| 38 | +* Detailed documentation and examples to help developers get started quickly |
| 39 | + |
| 40 | +## 🔰 Installation |
| 41 | + |
| 42 | +**pip installation** |
| 43 | +```shell |
| 44 | +# Install |
| 45 | +# 【❕Note❕】Currently, it cannot be used because there is an old, unmaintained project with a similar name on PyPI, and it is temporarily unable to upload the wheel to PyPI. |
| 46 | +$ pip install pyvchart -U |
| 47 | + |
| 48 | +# Temporary Solution |
| 49 | +$ pip install git+https://github.com/pyvchart/pyvchart@v0.1.0 |
| 50 | +``` |
| 51 | + |
| 52 | + |
| 53 | +**Source code installation** |
| 54 | +```shell |
| 55 | +# Install version v1 and above |
| 56 | +$ git clone https://github.com/pyvchart/pyvchart.git |
| 57 | +$ cd pyvchart |
| 58 | +$ pip install -r requirements.txt |
| 59 | +$ python setup.py install |
| 60 | +``` |
| 61 | + |
| 62 | + |
| 63 | +## 📝 Usage |
| 64 | + |
| 65 | +Usage examples are here:[Examples](https://github.com/pyvchart/chart-examples) |
| 66 | + |
| 67 | +## ⛏ Code Quality |
| 68 | + |
| 69 | +### Unit Testing |
| 70 | + |
| 71 | +```shell |
| 72 | +$ pip install -r test/requirements.txt |
| 73 | +$ make |
| 74 | +``` |
| 75 | + |
| 76 | + |
| 77 | +### Integration Testing |
| 78 | + |
| 79 | +Using GitHub Actions for continuous integration. |
| 80 | + |
| 81 | +### Code Style |
| 82 | + |
| 83 | +Using [flake8](http://flake8.pycqa.org/en/latest/index.html), [Codecov](https://codecov.io/), and [pylint](https://www.pylint.org/) to improve code quality. |
| 84 | + |
| 85 | +## 😉 Author |
| 86 | + |
| 87 | +pyvchart is mainly developed and maintained by the following developers |
| 88 | + |
| 89 | +* [@sunhailin-Leo](https://github.com/sunhailin-Leo) |
| 90 | + |
| 91 | +More contributor information can be found at [pyvchart/graphs/contributors](https://github.com/pyvchart/pyvchart/graphs/contributors) |
| 92 | + |
| 93 | +## 💡 Contribution |
| 94 | + |
| 95 | +We look forward to more developers participating in the development of pyvchart. We will ensure timely review of PRs and prompt responses. However, when submitting a PR, please ensure: |
| 96 | + |
| 97 | +1. All unit tests pass, and add unit tests for new features if necessary |
| 98 | +2. Adhere to the development guidelines, format the code using black and isort (run `$ pip install -r requirements-dev.txt`) |
| 99 | +3. Update relevant documentation if necessary |
| 100 | + |
| 101 | +We also welcome developers to provide more examples for pyvchart to help improve the documentation. The documentation project is located at [pyvchart/website](https://github.com/pyvchart/website) |
| 102 | + |
| 103 | +## 📃 License |
| 104 | + |
| 105 | +MIT [©sunhailin-Leo](https://github.com/sunhailin-Leo) |
0 commit comments