Generate ECharts option dictionaries
Project description
easyask
easyask is a minimal demonstration package intended to show how chart options can be generated programmatically.
Quick start
from easyask.tools import chart
# Build an option for a bar chart
option = chart.get_chart_options([
['Matcha Latte', 43.3, 85.8, 93.7],
['Milk Tea', 83.1, 73.4, 55.1],
['Cheese Cocoa', 86.4, 65.2, 82.5],
['Walnut Brownie', 72.4, 53.9, 39.1]
], ['product', '2015', '2016', '2017'])
print(option)
Python version
This project requires Python 3.12 or newer, as specified in pyproject.toml.
Running the demo
To see the package in action, run the demonstration module:
python -m easyask
Example scripts are also available in the examples/ directory.
How to test
PYTHONPATH=. uv run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easyask-0.6.0.tar.gz.
File metadata
- Download URL: easyask-0.6.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
293325b5a1cd50b0e880c1f982153d0d85739f33b3b94603d78a7a6ee0b39a32
|
|
| MD5 |
b5ed19a7bcec8ad3f9041904a0cb7009
|
|
| BLAKE2b-256 |
1c68453f32396ce7919e50ee2be8d000dd6b04613ba559e299d21ed91d24d4a8
|
File details
Details for the file easyask-0.6.0-py3-none-any.whl.
File metadata
- Download URL: easyask-0.6.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e69c77fb06b96f3363f2922b8ead0146e68a60375ea00a8f51bd2de631769f2e
|
|
| MD5 |
ca89a8acb84199fbfe937142c92b60d2
|
|
| BLAKE2b-256 |
8a3a1569cb50cec3c8c88486e878258efb1b8cf31a050456a4a7c8adb246583b
|