https://github.com/sunhailin-leo/pyantv
Python ❤️ AntV (https://antv.antgroup.com/) = pyantv
https://github.com/sunhailin-leo/pyantv
antv antv-g2 plotting python visualization
Last synced: 13 days ago
JSON representation
Python ❤️ AntV (https://antv.antgroup.com/) = pyantv
- Host: GitHub
- URL: https://github.com/sunhailin-leo/pyantv
- Owner: sunhailin-Leo
- License: mit
- Created: 2020-03-03T02:53:47.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-11T02:28:55.000Z (about 1 month ago)
- Last Synced: 2025-05-08T20:15:09.493Z (13 days ago)
- Topics: antv, antv-g2, plotting, python, visualization
- Language: Python
- Homepage:
- Size: 134 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
- Roadmap: ROADMAP.md
Awesome Lists containing this project
README
Python ❤️ AntV = pyantv
[Chinese README](README.md) | [English README](README.en.md) | [Japanese README](README.jp.md)
## 📣 Announcement
[AntV](https://github.com/antvis), initiated by Ant Group and open-sourced starting in 2017, reimagines data visualization by embedding the theory of graphical grammar into the JavaScript language. In response to rigid chart libraries that force a trade-off between flexibility and usability, we have categorized data visualization techniques into four series: 2, 6, 7, and 8, which respectively represent statistical analysis, graph analysis, geographical analysis, and unstructured data visualization. We have expanded these capabilities across different levels, including chart libraries, R&D tools, and AI-powered intelligent visualization.
Python, with its expressive power, is well-suited for data processing and AI scenarios. When data analysis and modeling meet data visualization, projects like [pyecharts](https://github.com/pyecharts/pyecharts), [py-vchart](https://github.com/VisActor/py-vchart), and [py-antv](https://github.com/sunhailin-Leo/pyantv) were born.
## ✨ Features
* API design inspired by [pyecharts](https://github.com/pyecharts/pyecharts), providing a smooth and fluent interface that supports chain calls.
* Includes most of the charts from AntV G2 (with plans to support more AntV G2 charts and other charts in the AntV ecosystem).
* Supports mainstream Notebook environments such as Jupyter Notebook and JupyterLab.
* Can be easily integrated into popular Web frameworks like Flask, Sanic, Django (**Coming soon...**).
* Highly flexible configuration options allow for the creation of beautiful charts.
* Detailed documentation and examples help developers get up to speed quickly.## 🔰 Installation
**pip installation**
```shell
# 安装
$ pip install pyantv -U
```**Source Code Installation**
```shell
# Source code installation
$ git clone https://github.com/sunhailin-Leo/pyantv
$ cd pyantv
$ pip install -r requirements.txt
$ python setup.py install
```## ⛏ Code Quality
### Unit Testing
```shell
$ pip install -r test/requirements.txt
$ make
```### Integration Testing
Uses GitHub Actions for continuous integration.
### Code Standards
Uses [flake8](http://flake8.pycqa.org/en/latest/index.html), [Codecov](https://codecov.io/), and [pylint](https://www.pylint.org/) to enhance code quality.
## Authors
pyantv is primarily developed and maintained by the following developers:
* [@sunhailin-Leo](https://github.com/sunhailin-Leo)
## Contributions
We welcome more developers to contribute to pyantv. We will ensure PRs are reviewed promptly and replies are timely. However, please ensure the following when submitting a PR:
1. Pass all unit tests; if adding new features, include corresponding unit tests.
2. Follow development standards and format code using black and isort (`$ pip install -r requirements-dev.txt`).
3. Update relevant documentation if necessary.We also welcome developers to provide more examples to improve the documentation (documentation is in preparation).
## License
MIT [©sunhailin-Leo](https://github.com/sunhailin-Leo)