{ "info": { "author": "Simon Lars\u00e9n", "author_email": "slarse@kth.se", "bugtrack_url": null, "classifiers": [], "description": "Copyright (c) 2017, Simon Lars\u00e9n\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nDownload-URL: https://github.com/slarse/clanim/archive/v0.3.0.tar.gz\nDescription: # clanim - Command Line Animations\n \n [![Build Status](https://travis-ci.org/slarse/clanim.svg?branch=master)](https://travis-ci.org/slarse/clanim)\n [![Code Coverage](https://codecov.io/gh/slarse/clanim/branch/master/graph/badge.svg)](https://codecov.io/gh/slarse/clanim)\n [![Documentation Status](https://readthedocs.org/projects/clanim/badge/?version=latest)](https://clanim.readthedocs.io/en/latest/)\n [![PyPi Version](https://badge.fury.io/py/clanim.svg)](https://badge.fury.io/py/clanim)\n [![Supported Python Verstions](https://img.shields.io/badge/python-3.5%2C%203.6-blue.svg)](https://badge.fury.io/py/clanim)\n \n ![Scrolling text animation example](docs/images/hello_world.gif)\n \n ### Overview\n `clanim` is a collection of made command line animations that can easily\n be applied to pretty much any (non-recursive) function. The animations are\n built with the [`clanimtk`](https://github.com/slarse/clanimtk) package, and\n are mostly meant to serve as examples of how to use it.\n \n ### Requirements\n \n Python 3.6 or higher and the `clanimtk` package.\n \n ### Quickstart\n \n Here are som minimal examples of using `clanim`:\n \n ```python\n import time\n from clanimtk import animate\n from clanim import scrolling_text\n \n # if no parameter is given, the default arrow animation is used\n @animate\n def slow(n):\n time.sleep(n)\n \n # scrolling_text is a large, scrolling text animation\n # step determines the time between frames\n @animate(animation=scrolling_text(\"Crunching numbers ...\"), step=0.05)\n def fibo(n):\n if n < 0:\n raise ValueError(\"Undefined for n < 0\")\n fibo_recursive(n)\n \n # this recursive function must be wrapped in a non-recursive function\n # before it can be animated\n def fibo_recursive(n):\n if n == 0 or n == 1:\n return n\n return fibo(n-1) + fibo(n-2)\n ```\n \n ### Install\n \n #### Option 1: Install from PyPi with `pip`\n \n The latest release of `clanim` is on PyPi, and can thus be installed as with\n `pip install clanim` (with your own preferred options, of course).\n \n #### Option 2: Clone the repo and the install with `pip`\n \n If you want the dev version, you will need to clone the repo, as only release\n versions are uploaded to PyPi. Unless you are planning to work on this\n yourself, I suggest going with the release version.\n \n 1. Clone the repo with `git`:\n - `git clone https://github.com/slarse/clanim`\n 2. `cd` into the project root directory and install with `pip`.\n - `pip install --user .`, this will create a local install for the current user.\n - Or just `pip install .` if you use `virtualenv`.\n - For development, use `pip install -e .` in a `virtualenv`.\n \n ### Wanted improvements\n \n * Add more animations\n \n ### License\n \n This software is licensed under the MIT License. See the [LICENSE](LICENSE)\n file for specifics.\n \n ### Contributing\n \n I will happily take contributions, especially in terms of new animations.\n Submit a pull request if you have an idea, and let me approve the idea before\n you put serious work into something I would not like in the project!\n \nPlatform: UNKNOWN\nDescription-Content-Type: text/markdown\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/slarse/clanim", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "clanim", "package_url": "https://pypi.org/project/clanim/", "platform": "", "project_url": "https://pypi.org/project/clanim/", "project_urls": { "Homepage": "https://github.com/slarse/clanim" }, "release_url": "https://pypi.org/project/clanim/0.3.0/", "requires_dist": [ "clanimtk" ], "requires_python": "", "summary": "Command line animations built with clanimtk.", "version": "0.3.0" }, "last_serial": 4066208, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fbb83589e90cb537ad9d9b1be136b824", "sha256": "f559e660230c66c23f8cea76ed503e7551e35c30feb7691e4387296dfa7e4084" }, "downloads": -1, "filename": "clanim-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fbb83589e90cb537ad9d9b1be136b824", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6574, "upload_time": "2017-08-04T11:14:39", "url": "https://files.pythonhosted.org/packages/90/60/cf7f6eff6c8eceb065b1b408112fdec2b1716b677e0e662960cd3f75d2ef/clanim-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "15cedca163762443bf5a51ad852fb1b9", "sha256": "579a1e189bad71d4319466967b5c2eff1be6c36bc665b69f1e20e34b79921805" }, "downloads": -1, "filename": "clanim-0.1.1.tar.gz", "has_sig": false, "md5_digest": "15cedca163762443bf5a51ad852fb1b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6590, "upload_time": "2017-08-04T11:22:36", "url": "https://files.pythonhosted.org/packages/f9/95/182de0b6f4e36af4855367482d857cec857c636f5e492710935e10c48c5a/clanim-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e07159fd5bcc15dd0215fa7c5537f029", "sha256": "cc711b31fc2c44291e571ababb6f9abc72bfe4c9373b1fa15626da23cd6fef0a" }, "downloads": -1, "filename": "clanim-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e07159fd5bcc15dd0215fa7c5537f029", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6635, "upload_time": "2017-08-04T11:26:04", "url": "https://files.pythonhosted.org/packages/bb/f7/026b96672b0b424d7fb0dc306bb38094a6a151cff4a62b9adae2b49b091c/clanim-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "1aff5268152f4c5b4e80190babfa4d9b", "sha256": "841699f5bea52c0d41b9cd9a0a68e082e2abb2401ec1d1305617121da67f2518" }, "downloads": -1, "filename": "clanim-0.1.3.tar.gz", "has_sig": false, "md5_digest": "1aff5268152f4c5b4e80190babfa4d9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6623, "upload_time": "2017-08-04T11:31:28", "url": "https://files.pythonhosted.org/packages/d9/46/1f0ca9fa166cd2caf0d3daafe9c22f61bd99681f49ca2930a5b04f50af09/clanim-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "087b988010332a741ef9d45474e123be", "sha256": "25ce805b530a53800f54ef4a9f9c02c042a5e003069d93ba56a30827d8f5114c" }, "downloads": -1, "filename": "clanim-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "087b988010332a741ef9d45474e123be", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18301, "upload_time": "2018-07-16T15:39:20", "url": "https://files.pythonhosted.org/packages/f4/1b/887d2fbdfae5e96d6e5780a1d6748aac5e553af526ea9787deaabb32bce6/clanim-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5e17164850a2b863e255cb0beeab7dad", "sha256": "62f8d0e99253548cc18bc2f3bd4c12e68d0ffce12ccff523c84d068c82c0a22f" }, "downloads": -1, "filename": "clanim-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5e17164850a2b863e255cb0beeab7dad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11665, "upload_time": "2018-01-24T20:11:28", "url": "https://files.pythonhosted.org/packages/d9/4a/a47b12f3fa9666f9cb9582a91f760f5987d404c895a981431e88a7abb789/clanim-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "ec699a565e952d7fff59a7e238fa15b6", "sha256": "5bbd1fd48715483f6891a1d6cab8be5f2fc7485a6c557ae228476840200e5c9c" }, "downloads": -1, "filename": "clanim-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ec699a565e952d7fff59a7e238fa15b6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17117, "upload_time": "2018-07-16T15:39:22", "url": "https://files.pythonhosted.org/packages/7e/df/27e144e2cd78205daddd534758553f1c218c283161495ef6463f864c55f7/clanim-0.3.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec699a565e952d7fff59a7e238fa15b6", "sha256": "5bbd1fd48715483f6891a1d6cab8be5f2fc7485a6c557ae228476840200e5c9c" }, "downloads": -1, "filename": "clanim-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ec699a565e952d7fff59a7e238fa15b6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17117, "upload_time": "2018-07-16T15:39:22", "url": "https://files.pythonhosted.org/packages/7e/df/27e144e2cd78205daddd534758553f1c218c283161495ef6463f864c55f7/clanim-0.3.0-py3-none-any.whl" } ] }