pyecharts-draw 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 白驹过隙
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,67 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyecharts-draw
3
+ Version: 0.1.0
4
+ Summary: A plotting wrapper utility for pyecharts to visualize financial/stock data.
5
+ Author: 白驹过隙
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 白驹过隙
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Classifier: Programming Language :: Python :: 3
29
+ Classifier: Operating System :: OS Independent
30
+ Requires-Python: >=3.7
31
+ Description-Content-Type: text/markdown
32
+ License-File: LICENSE
33
+ Requires-Dist: pandas
34
+ Requires-Dist: pyecharts>=2.0.5
35
+ Dynamic: license-file
36
+
37
+ # pyecharts-draw
38
+
39
+ A plotting wrapper utility for pyecharts to visualize financial/stock data in interactive charts (Kline, Line, Bar, DownLine).
40
+
41
+ ## Installation
42
+
43
+ ```bash
44
+ pip install pyecharts-draw
45
+ ```
46
+
47
+ ## Quick Start
48
+
49
+ ```python
50
+ import pandas as pd
51
+ from pyecharts_draw import draw
52
+
53
+ # Prepare your DataFrame
54
+ df = pd.DataFrame(...)
55
+
56
+ # Draw chart
57
+ draw(df, date_col="Date", data_dict=[
58
+ {"series_name": "Kline", "draw_type": "Kline"},
59
+ {"series_name": "Volume", "draw_type": "Bar"}
60
+ ])
61
+ ```
62
+
63
+ ## Features
64
+
65
+ - Supports multiple chart types: `Kline` (Candlestick), `Line`, `Bar`, and `DownLine` (drawdown chart).
66
+ - Interactive controls for zooming, playing, forwards/backwards jumping, etc.
67
+ - Custom colors, log-scale conversions, sub-chart overlapping.
@@ -0,0 +1,31 @@
1
+ # pyecharts-draw
2
+
3
+ A plotting wrapper utility for pyecharts to visualize financial/stock data in interactive charts (Kline, Line, Bar, DownLine).
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install pyecharts-draw
9
+ ```
10
+
11
+ ## Quick Start
12
+
13
+ ```python
14
+ import pandas as pd
15
+ from pyecharts_draw import draw
16
+
17
+ # Prepare your DataFrame
18
+ df = pd.DataFrame(...)
19
+
20
+ # Draw chart
21
+ draw(df, date_col="Date", data_dict=[
22
+ {"series_name": "Kline", "draw_type": "Kline"},
23
+ {"series_name": "Volume", "draw_type": "Bar"}
24
+ ])
25
+ ```
26
+
27
+ ## Features
28
+
29
+ - Supports multiple chart types: `Kline` (Candlestick), `Line`, `Bar`, and `DownLine` (drawdown chart).
30
+ - Interactive controls for zooming, playing, forwards/backwards jumping, etc.
31
+ - Custom colors, log-scale conversions, sub-chart overlapping.
@@ -0,0 +1,25 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "pyecharts-draw"
7
+ version = "0.1.0"
8
+ authors = [
9
+ { name = "白驹过隙" },
10
+ ]
11
+ description = "A plotting wrapper utility for pyecharts to visualize financial/stock data."
12
+ readme = "README.md"
13
+ requires-python = ">=3.7"
14
+ license = {file = "LICENSE"}
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "Operating System :: OS Independent",
18
+ ]
19
+ dependencies = [
20
+ "pandas",
21
+ "pyecharts>=2.0.5",
22
+ ]
23
+
24
+ [tool.setuptools.packages.find]
25
+ where = ["src"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ from .pyecharts_draw import draw
2
+
3
+ __all__ = ["draw"]