{ "info": { "author": "Mher Movsisyan", "author_email": "mher.movsisyan@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries" ], "description": "Chartkick.py\n============\n\n.. image:: https://img.shields.io/pypi/v/chartkick.svg\n :target: https://pypi.python.org/pypi/chartkick\n\n.. image:: https://img.shields.io/pypi/dm/chartkick.svg\n :target: https://pypi.python.org/pypi/chartkick\n\n.. image:: https://travis-ci.org/mher/chartkick.py.svg?branch=master\n :target: https://travis-ci.org/mher/chartkick.py\n\nCreate beautiful Javascript charts with minimal code. Demo_!\n\nSupports `Chart.js`_, `Google Charts`_, and Highcharts_\n\nWorks with Django, Flask/Jinja2 and most browsers (including IE 6).\nAlso available in Ruby_ and pure JavaScript_\n\n.. _Chartkick: http://chartkick.com\n.. _Chart.js: http://www.chartjs.org\n.. _Google Charts: https://developers.google.com/chart/\n.. _Highcharts: http://highcharts.com\n.. _Demo: http://mher.github.io/chartkick.py/\n.. _Ruby: http://chartkick.com\n.. _Javascript: https://github.com/ankane/chartkick.js\n\nUsage\n-----\n\nLine chart: ::\n\n {% line_chart data %}\n\nPie chart: ::\n\n {% pie_chart data with id='chart-1' height='400px' %}\n\nColumn chart: ::\n\n {% column_chart data with min=400 max=1000 %}\n\nBar chart: ::\n\n {% bar_chart data %}\n\nArea chart: ::\n\n {% area_chart data %}\n\nData\n----\n\nData can be a dictionary or a list: ::\n\n {'Chrome': 52.9, 'Opera': 1.6, 'Firefox': 27.7}\n\n [['Chrome', 52.9], ['Firefox', 27.7], ['Opera', 1.6]]\n\nFor multiple series: ::\n\n [{'data': [['2013-04-01 00:00:00 UTC', 52.9], ['2013-05-01 00:00:00 UTC', 50.7]], 'name': 'Chrome'},\n {'data': [['2013-04-01 00:00:00 UTC', 27.7], ['2013-05-01 00:00:00 UTC', 25.9]], 'name': 'Firefox'}]\n\nOptions\n-------\n\nCharting library options can be passed through the *library* variable: ::\n\n {% column_chart data with library={\"title\":\"Super chart\",\"width\":\"400px\"} %}\n\n.. Note:: Google Charts and Highcharts have different APIs. You may need\n to change the value of `library` when you switch from one\n library to another.\n\nOr using *chartkick.json* file. Chartkick tries to locate *chartkick.json*\nfile in template path and match options by id.\n\nInstallation\n------------\n\nInstall chartkick: ::\n\n $ pip install chartkick\n\n- Django: Add chartkick to *INSTALLED_APPS* and *STATICFILES_DIRS*: ::\n\n INSTALLED_APPS = (\n 'chartkick',\n )\n\n import chartkick\n STATICFILES_DIRS = (\n chartkick.js(),\n )\n\n- Flask: Add chartkick to *jinja_env* and *static_folder*: ::\n\n ck = Blueprint('ck_page', __name__, static_folder=chartkick.js(), static_url_path='/static')\n app.register_blueprint(ck, url_prefix='/ck')\n app.jinja_env.add_extension(\"chartkick.ext.charts\")\n\nLoad JS scripts:\n\n- Chart.js ::\n\n \n \n\n- Google Charts ::\n\n \n \n\n- Highcharts ::\n\n \n \n ", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mher/chartkick.py", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "chartkick", "package_url": "https://pypi.org/project/chartkick/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/chartkick/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mher/chartkick.py" }, "release_url": "https://pypi.org/project/chartkick/0.5.0/", "requires_dist": null, "requires_python": null, "summary": "Create beautiful Javascript charts with minimal code", "version": "0.5.0" }, "last_serial": 2146403, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c4d54d5736bb2fc575828898cf23a8ad", "sha256": "05a79f386ae6038aefc597dff102f7697f5c68730ad29e22b1824a7558cc1994" }, "downloads": -1, "filename": "chartkick-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c4d54d5736bb2fc575828898cf23a8ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6986, "upload_time": "2013-06-11T11:45:39", "url": "https://files.pythonhosted.org/packages/30/a5/c5ea88c14f410e71991b751184338597d9cb1045b6bcfe02d0e004b02ee9/chartkick-0.0.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "30bb165fb8ea751a2533763699ce5bdf", "sha256": "d988c3c8bd4845cbbb0742dc2bb6599f107596a51096dbb49a8dbdb2577adbdd" }, "downloads": -1, "filename": "chartkick-0.2.0.tar.gz", "has_sig": false, "md5_digest": "30bb165fb8ea751a2533763699ce5bdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7854, "upload_time": "2013-06-16T09:40:50", "url": "https://files.pythonhosted.org/packages/28/e4/210e54c84d743ed8b8e92140cea62f69d5a5c35d5a2ca05efa60872ea0bc/chartkick-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "5e085ccbc252a3e96d8a42616e047fa4", "sha256": "45ef88fe61eaca5be5e9a0ba7f0aa36f8a2be017c9035956774d126b8247e83b" }, "downloads": -1, "filename": "chartkick-0.3.0.tar.gz", "has_sig": false, "md5_digest": "5e085ccbc252a3e96d8a42616e047fa4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8757, "upload_time": "2013-06-25T08:07:28", "url": "https://files.pythonhosted.org/packages/0e/e6/9974b29a277336c984111d69791fa400f619a804cd3e609ea2c49f3f6c39/chartkick-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "86d1983abb10e22ac6cdb8b5494413fb", "sha256": "ff6a8107269fbaee5a24529e666884e748890f8ac6cb8d78e0d0204cd894d846" }, "downloads": -1, "filename": "chartkick-0.4.0.tar.gz", "has_sig": false, "md5_digest": "86d1983abb10e22ac6cdb8b5494413fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9299, "upload_time": "2013-09-11T10:16:34", "url": "https://files.pythonhosted.org/packages/81/93/8abffaeaa1d46c9fb8ce29958405a07b646c472b8122031c945e79ea01ac/chartkick-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "d19bd9a0094e996c846e52b93709b25c", "sha256": "2e254ff216f52509d7e12a2162a99e5678799a3246b2033abc2de11322ec5c8f" }, "downloads": -1, "filename": "chartkick-0.4.1.tar.gz", "has_sig": false, "md5_digest": "d19bd9a0094e996c846e52b93709b25c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9460, "upload_time": "2013-11-23T10:07:01", "url": "https://files.pythonhosted.org/packages/65/b7/24951570329c4aee08b186f9d242af836c313be518c82402be780bfdd0c0/chartkick-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "965cfadba4d9e9f740a389f89607d8b6", "sha256": "298f9555df45e0b8bffc2613b1efd41cd74bf0dfaf850dcedb4d9984af50174f" }, "downloads": -1, "filename": "chartkick-0.4.2.tar.gz", "has_sig": false, "md5_digest": "965cfadba4d9e9f740a389f89607d8b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9691, "upload_time": "2014-06-18T11:58:18", "url": "https://files.pythonhosted.org/packages/2f/ce/b3d286e42fe5becc242e1c0e1f5a2365fa08546dd28155493571babf56fd/chartkick-0.4.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "22567255ed0384866004cb182273ef7d", "sha256": "1cc0306b4a6de1e33ed8a849e077e4ed517c0bd4fca05e2a286c46585e89a52b" }, "downloads": -1, "filename": "chartkick-0.5.0.tar.gz", "has_sig": false, "md5_digest": "22567255ed0384866004cb182273ef7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13721, "upload_time": "2016-06-02T01:39:19", "url": "https://files.pythonhosted.org/packages/cc/ce/623769bffe0a4849e4008b52d17a2d4ef57d42eca96954e8593325670967/chartkick-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "22567255ed0384866004cb182273ef7d", "sha256": "1cc0306b4a6de1e33ed8a849e077e4ed517c0bd4fca05e2a286c46585e89a52b" }, "downloads": -1, "filename": "chartkick-0.5.0.tar.gz", "has_sig": false, "md5_digest": "22567255ed0384866004cb182273ef7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13721, "upload_time": "2016-06-02T01:39:19", "url": "https://files.pythonhosted.org/packages/cc/ce/623769bffe0a4849e4008b52d17a2d4ef57d42eca96954e8593325670967/chartkick-0.5.0.tar.gz" } ] }