Skip to main content

A Python package for instaui-echarts.

Project description

instaui-echarts

English| 简体中文

📖 Introduction

instaui-echarts is a Python package for instaui, which provides a component for rendering ECharts.

⚙️ Installation

pip install instaui-echarts

🖥️ Usage

from instaui import ui

@ui.page("/")
def test_page():
    opts = {
        "title": {"text": "ECharts Getting Started Example"},
        "tooltip": {},
        "legend": {"data": ["sales"]},
        "xAxis": {
            "data": ["Shirts", "Cardigans", "Chiffons", "Pants", "Heels", "Socks"]
        },
        "yAxis": {},
        "series": [{"name": "sales", "type": "bar", "data": [5, 20, 36, 10, 10, 20]}],
    }

    ui.echarts(opts)


ui.server(debug=True).run()

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

instaui_echarts-0.4.0.tar.gz (380.1 kB view details)

Uploaded Source

Built Distribution

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

instaui_echarts-0.4.0-py3-none-any.whl (382.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for instaui_echarts-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e866b4eef3d92e59c0753d87dc759892d3d12b53e55dbc24328e7ed19aac66a4
MD5 babbab80d6efb87fc009a90a1c44c85c
BLAKE2b-256 2441eedaf35543beae76aa3988f0de50925afc17cec31ccecd474f078cc4372b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for instaui_echarts-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29887bfc017eecc5062b83fe1d65adb33a2d1885824c6d1d6a8f002ec42380ce
MD5 fe229eed5fdccd531a27fffe3dc781c7
BLAKE2b-256 91e3541fa9817b97aa79379a52964a2b15a4983617f184379a61200a2f3aa750

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