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.1.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.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chart_beautifier-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e9ee1fed3e995e7119ba1f2d5725129aba92ee91b617e741cee5af368154bb55
MD5 defd84236dcbc94ec0ed8e4546ec021c
BLAKE2b-256 248b8c80d42d7aa62d438257408e229ce043f0137b02ca1d1056451826f17ff7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chart_beautifier-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8a993badf637d6777948f2b146ddb32481dd017fb353a233a3e7f40c82ffc195
MD5 3823d5d1ceeb329c763896cae14b3a23
BLAKE2b-256 c1184099fd72390918e686058ebde59506cf4273dada3b3e0c4eb6d6eefbefa1

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