Skip to main content

Generate ECharts option dictionaries

Project description

CI Publish Docker Hub Publish PyPI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easyask-0.4.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easyask-0.4.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file easyask-0.4.0.tar.gz.

File metadata

  • Download URL: easyask-0.4.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.12

File hashes

Hashes for easyask-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b5bef14d567779b13a6bbefdae2865700bd04aefa01f6e4f4182be4ff4aad466
MD5 c0debb04d9bd24845e0021ba077d8a93
BLAKE2b-256 7dfa98d3d862903b25b106ed6bb6f7bc87211aa0393b838f8e374635d68dff09

See more details on using hashes here.

File details

Details for the file easyask-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: easyask-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.12

File hashes

Hashes for easyask-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 938d3ea24f82fbf9c6b1c0cb2b5d71bbbf5f0d99beac2884463d9102a4c30fb7
MD5 1d7877674fa99f412b25cf55edcc9f6f
BLAKE2b-256 8858d0d6acc67d0e4bf2940d9814deb5a2a1af067048fd00b07282148c90ae36

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page