{ "info": { "author": "Duarte O.Carmo", "author_email": "duarteocarmo@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# thinkcell \n[![Build Status](https://travis-ci.org/duarteocarmo/think-cell.svg?branch=master)](https://travis-ci.org/duarteocarmo/think-cell) [![Coverage Status](https://coveralls.io/repos/github/duarteocarmo/think-cell/badge.svg?branch=master&service=github)](https://coveralls.io/github/duarteocarmo/think-cell?branch=master) [![PyPI version shields.io](https://img.shields.io/pypi/v/thinkcell.svg)](https://pypi.python.org/pypi/thinkcell/) [![Supported Python versions](https://img.shields.io/pypi/pyversions/thinkcell.svg)](https://pypi.org/project/thinkcell/) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black) [![PyPI downloads](https://img.shields.io/pypi/dm/thinkcell.svg)](https://pypistats.org/packages/thinkcell) [![GitHub license](https://img.shields.io/github/license/duarteocarmo/think-cell.svg)](https://github.com/duarteocarmo/think-cell/blob/master/LICENSE) \n\nthinkcell is a simple python library that helps you generate presentations in a quick and automated way. \n\nIn order to use it you will need a valid and working [think-cell license and installation](https://www.think-cell.com/en/). \n\n### Installation\n\nthinkcell is available on PyPi. \n\n```console\n $ pip install thinkcell\n ```\n\n### Tutorial and Usage\n\nLet us say you have generated a template `template.pptx` according to [think-cell's automation guidelines](https://www.think-cell.com/en/support/manual/jsondataautomation.shtml) called `simple-template.pptx` with the following chart called `Chart1`: \n\n\n\nThe thinkcell library helps you generate a `.pptc` file so that you can generate presentations based on that template using python:\n\n```python\nfrom thinkcell import Thinkcell\n\ntemplate_name = \"simple-template.pptx\"\ncategories = [\"Ads\", \"Revenue\", \"Losses\"]\nchart_name = \"Chart1\"\nfilename = \"simple-example.ppttc\"\n\ndata = [[\"Amazon\", 1, 11, 14], [\"Slack\", 8, 2, 15], [\"Ford\", 1, 2, 12]]\n\ntc = Thinkcell() # create thinkcell object\ntc.add_template(template_name) # add your template\ntc.add_chart(\n template_name=template_name,\n chart_name=chart_name,\n categories=categories,\n data=data,\n) # add you categories and data\n\ntc.save_ppttc(filename=filename)\n ```\n\nOnce done, go ahead and double click the generated `simple-example.pptc` file, and your chart will open. Save it and you are done!\n\nVisit the [examples folder](examples) for more examples and source files. \n\nIf you wish to learn more about this process, visit the think-cell [automation documentation](https://www.think-cell.com/en/support/manual/jsondataautomation.shtml). \n\n### Contributing\n\nStart by forking this repo.\n\n\nInstall the development dependencies (you probably want to do this in a [virtual environment](https://docs.python-guide.org/dev/virtualenvs/)):\n\n```console\n $ pip install -r requirements-dev.txt\n ```\n\nMake sure the tests run:\n\n```console\n $ pytest\n ```\n\nThen you can create a branch and submit a pull request. \n\n### To-dos\n- [x] Create docstrings.\n- [ ] Handle duplicate template names.\n- [ ] Produce documentation.\n- [ ] Pandas dataframe support.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/duarteocarmo/think-cell", "keywords": "automation powerpoint thinkcell ppttc business consulting", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "thinkcell", "package_url": "https://pypi.org/project/thinkcell/", "platform": "", "project_url": "https://pypi.org/project/thinkcell/", "project_urls": { "Bug Reports": "https://github.com/duarteocarmo/think-cell/issues", "Homepage": "https://github.com/duarteocarmo/think-cell", "Say Thanks!": "https://duarteocarmo.com", "Source": "https://github.com/duarteocarmo/think-cell" }, "release_url": "https://pypi.org/project/thinkcell/19.6b2/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Small utility to automate the generation of think-cell graphs.", "version": "19.6b2" }, "last_serial": 5425325, "releases": { "19.6b0": [ { "comment_text": "", "digests": { "md5": "0cf0e3f9d69aae29b2de1d2d43985bca", "sha256": "5fd48d416d34528237d3e3d1bdf925c37f87f2a8b5646e52a43a1c969c3f00fe" }, "downloads": -1, "filename": "thinkcell-19.6b0.tar.gz", "has_sig": false, "md5_digest": "0cf0e3f9d69aae29b2de1d2d43985bca", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4292, "upload_time": "2019-06-18T16:23:30", "url": "https://files.pythonhosted.org/packages/18/a0/f05c97fad2a617bdca5a06ec3fa7fa4ecba3ec87d66fe20aef73b7097823/thinkcell-19.6b0.tar.gz" } ], "19.6b1": [ { "comment_text": "", "digests": { "md5": "ca8c6bfe69844d7f5fb1e31c8ac7758e", "sha256": "934fe91ab6483d2d3ebf39f653b97f266ed7d52e744948015a9d47a802f9674d" }, "downloads": -1, "filename": "thinkcell-19.6b1.tar.gz", "has_sig": false, "md5_digest": "ca8c6bfe69844d7f5fb1e31c8ac7758e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4294, "upload_time": "2019-06-18T16:39:16", "url": "https://files.pythonhosted.org/packages/03/3e/9b1abd58eefe44af5374ff0ee4323d89ab4e1c1a47f8d32b479061223798/thinkcell-19.6b1.tar.gz" } ], "19.6b2": [ { "comment_text": "", "digests": { "md5": "3b11f97a3e733debb9ba30dc26ed2e88", "sha256": "7358cb0fb014ce1d9a1efcff54ef75642ac36b57a471d7d34feefdc2ebe64a26" }, "downloads": -1, "filename": "thinkcell-19.6b2.tar.gz", "has_sig": false, "md5_digest": "3b11f97a3e733debb9ba30dc26ed2e88", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5336, "upload_time": "2019-06-20T10:57:42", "url": "https://files.pythonhosted.org/packages/b1/6d/5b3bc9c7151446639fe048cf00c9cb155f1cf22ea503655d28e937eec3dc/thinkcell-19.6b2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b11f97a3e733debb9ba30dc26ed2e88", "sha256": "7358cb0fb014ce1d9a1efcff54ef75642ac36b57a471d7d34feefdc2ebe64a26" }, "downloads": -1, "filename": "thinkcell-19.6b2.tar.gz", "has_sig": false, "md5_digest": "3b11f97a3e733debb9ba30dc26ed2e88", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5336, "upload_time": "2019-06-20T10:57:42", "url": "https://files.pythonhosted.org/packages/b1/6d/5b3bc9c7151446639fe048cf00c9cb155f1cf22ea503655d28e937eec3dc/thinkcell-19.6b2.tar.gz" } ] }