Skip to main content

A Python SDK for creating beautiful and interactive charts

Project description

Chart Beautifier SDK

A Python SDK for creating beautiful and interactive charts.

Installation

pip install chart-beautifier

Quick Start

from chart_beautifier import ChartBeautifierClient

# Initialize the client
client = ChartBeautifierClient(api_key="your_api_key")

# Create a chart
chart_data = {
    "labels": ["Jan", "Feb", "Mar", "Apr", "May"],
    "datasets": [{
        "label": "Sales",
        "data": [12, 19, 3, 5, 2]
    }]
}

chart = client.create_chart(chart_data, chart_type="line")
print(f"Created chart: {chart['chart_id']}")

Features

  • 🎨 Beautiful chart generation
  • 📊 Multiple chart types support
  • 🔧 Easy-to-use Python API
  • 🚀 Fast and reliable
  • 📱 Responsive design

API Reference

ChartBeautifierClient

The main client class for interacting with the Chart Beautifier API.

Methods

  • create_chart(data, chart_type): Create a new chart
  • get_chart(chart_id): Retrieve a chart by ID
  • update_chart(chart_id, updates): Update an existing chart
  • delete_chart(chart_id): Delete a chart

Development

Setup

git clone https://github.com/yourusername/chart-beautifier.git
cd chart-beautifier
pip install -e ".[dev]"

Running Tests

pytest

Code Formatting

black chart_beautifier/

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

chart_beautifier-0.1.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

chart_beautifier-0.1.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file chart_beautifier-0.1.3.tar.gz.

File metadata

  • Download URL: chart_beautifier-0.1.3.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for chart_beautifier-0.1.3.tar.gz
Algorithm Hash digest
SHA256 412dc608e741573e3e12499e87b93abce6a64b4996b07122b1024cbd9c0aa7a3
MD5 50898a2b1ea9c9618d389a541ebb4dc7
BLAKE2b-256 7a810a4ce5302534a5f6441afedb049d685b0a21f041935b200d1abd2b288b80

See more details on using hashes here.

File details

Details for the file chart_beautifier-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for chart_beautifier-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 94265af9742e9e17b5f84afd18a9f1a082d8bb4de5e6c7c4af7752bcadfc386c
MD5 56a69535267b14d03070aa612058c0bb
BLAKE2b-256 11a978c27ca31a92a032e2c237595b19e885012290260a74dd8fc96846d836e4

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