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

Uploaded Python 3

File details

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

File metadata

  • Download URL: chart_beautifier-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 0237f12e8ef6cf54ebf01afc413be7d46a21953f2f703eb2cd5be54c94ed9653
MD5 25a6260471a83907cf344533f6185326
BLAKE2b-256 e235d877f8fdb50a1a2e3402da79fb059ff18000f03058c459b73e8e65777904

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chart_beautifier-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 274ac5f3af4cf998ba0bada1093b8ef7bc3935555a906cbfe47541101e5363e0
MD5 4cf904db8b69fd1498a5e7a053b000e5
BLAKE2b-256 a28267c9681b4de8cf9d23e8ae50e1998579b55ffb1798acf336b878123e4889

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