{"library":"quickchart-io","title":"quickchart-io","description":"A Python client for quickchart.io, a web service that generates static chart images from Chart.js definitions. Current version 2.0.0 requires Python >=3.7. The library sends JSON chart specifications to the QuickChart API and returns PNG/JPEG/SVG images. Major update v2.0.0 dropped Python 2 and Python <3.7 support. Released as needed.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install quickchart-io"],"cli":null},"imports":["from quickchart import QuickChart"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from quickchart import QuickChart\n\nimport os\n\napi_key = os.environ.get('QUICKCHART_API_KEY', '')\n\nqc = QuickChart(api_key=api_key)\nqc.width = 600\nqc.height = 400\nqc.device_pixel_ratio = 2.0\nqc.config = {\n    \"type\": \"bar\",\n    \"data\": {\n        \"labels\": [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n        \"datasets\": [{\n            \"label\": \"Sales\",\n            \"data\": [50, 60, 70, 80]\n        }]\n    }\n}\nurl = qc.get_url()\nprint(f\"Chart URL: {url}\")\n# To get binary image data: img_bytes = qc.get_bytes()","lang":"python","description":"Create a bar chart image URL. For authenticated users, set QUICKCHART_API_KEY environment variable.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}