{
"info": {
"author": "Blake Printy",
"author_email": "bprinty@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Intended Audience :: Developers",
"License :: OSI Approved :: Apple Public Source License",
"Natural Language :: English",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
],
"description": "=========\nanimation\n=========\n\nTools for terminal-based wait animations\n\n\nInstallation\n============\n\n.. code-block:: bash\n\n git clone http://github.com/bprinty/animation.git\n cd animation\n python setup.py install\n\n\nDocumentation\n=============\n\nDocumentation for the package can be found at `Read The Docs `_.\n\n\nUsage\n=====\n\nThe animation module provides decorators for doing terminal-based wait animations. To add a wait animation to a function that requires some processing time, simply decorate the function with the wait animation you want to use.\n\nHere is an example of how to use it in a project:\n\n.. code-block:: python\n\n import animation\n import time\n\n @animation.simple_wait\n def long_running_function():\n ... 5 seconds later ...\n return\n\n\nThis will print an animated waiting message like this (the elipses at the end of the text grow and shrink while the function executes):\n\n.. code-block:: bash\n\n waiting ...\n\n\nThe animation types provided by default are:\n\n* bar (simple bar that slides back and forth)\n* spinner (a spinning line)\n* dots (dots that move around in a sqare)\n* elipses (elipses that grow and shrink)\n* text with elipses (elipses with text in front of them)\n\n\nAnd you can use any of these built-in animations like so:\n\n.. code-block:: python\n\n import animation\n import time\n\n @animation.wait('bar')\n def long_running_function():\n ... 5 seconds later ...\n return\n\n @animation.wait('spinner')\n def long_running_function():\n ... 5 seconds later ...\n return\n\n\nIn addition to these default types, the module also supports custom animations. For example, to create an animation with a counter-clockwise spinning wheel:\n\n.. code-block:: python\n\n wheel = ('-', '/', '|', '\\\\')\n @animation.wait(wheel)\n def long_running_function():\n ... 5 seconds later ...\n return\n\n\nIf you want to manually start and stop the wait animation, you can use the ```animation.Wait``` class:\n\n.. code-block:: python\n\n wait = animation.Wait()\n wait.start()\n long_running_function()\n wait.stop()\n\n\nQuestions/Feedback\n------------------\n\nFile an issue in the `GitHub issue tracker `_.\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/bprinty/animation",
"keywords": "animation,wait,waiting,status",
"license": "Apache-2.0",
"maintainer": "",
"maintainer_email": "",
"name": "animation",
"package_url": "https://pypi.org/project/animation/",
"platform": "",
"project_url": "https://pypi.org/project/animation/",
"project_urls": {
"Homepage": "https://github.com/bprinty/animation"
},
"release_url": "https://pypi.org/project/animation/0.0.6/",
"requires_dist": null,
"requires_python": "",
"summary": "Tools for terminal-based await animations",
"version": "0.0.6"
},
"last_serial": 4569713,
"releases": {
"0.0.2": [
{
"comment_text": "",
"digests": {
"md5": "8d65bb64765d1937b88edaca1a2d7edc",
"sha256": "d47ab8bb2db4481bebc20b82982b5ffd586f834e40fcd50947a8dcf5b65531ae"
},
"downloads": -1,
"filename": "animation-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "8d65bb64765d1937b88edaca1a2d7edc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8790,
"upload_time": "2017-01-15T01:32:55",
"url": "https://files.pythonhosted.org/packages/9c/43/3440eb39af0a09ee8929dab8e57cf2d79679d5e3fb133391db9395ba17a3/animation-0.0.2.tar.gz"
}
],
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "212f8b3d7ad0872f9197f3176048184b",
"sha256": "ee7f977df131bca02976e2fbd966c27aafa9c97091eb83e7de2d9f2d397d467b"
},
"downloads": -1,
"filename": "animation-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "212f8b3d7ad0872f9197f3176048184b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8843,
"upload_time": "2017-01-15T18:26:01",
"url": "https://files.pythonhosted.org/packages/49/7c/421cbc37f4cda682e109908f669b1ff68a5940e2b958523a817cacf162a0/animation-0.0.3.tar.gz"
}
],
"0.0.4": [
{
"comment_text": "",
"digests": {
"md5": "39daea354d48b70acd5554019fe71723",
"sha256": "c7f86eed4f04c9ba93db6d6dcafe78c091bd050bc20ea313d31a2124618664c1"
},
"downloads": -1,
"filename": "animation-0.0.4-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "39daea354d48b70acd5554019fe71723",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 5783,
"upload_time": "2017-07-16T18:02:39",
"url": "https://files.pythonhosted.org/packages/e2/d3/7935e97c49c2dc837bbb46881c3b3546b6b3715cf592850c4c9322055489/animation-0.0.4-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "5b3c79e96590add7149310d4411f227b",
"sha256": "905fbcdb5e32755be0b540f8dbb1e5ab0bf8b0c1de2e5a5d16f0b2fefa0db5ac"
},
"downloads": -1,
"filename": "animation-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "5b3c79e96590add7149310d4411f227b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8857,
"upload_time": "2017-07-16T18:02:40",
"url": "https://files.pythonhosted.org/packages/0b/e4/97b9a002d9c70c9dda383261336a7235edc29fb706da8a7c999a81b01ae5/animation-0.0.4.tar.gz"
}
],
"0.0.5": [
{
"comment_text": "",
"digests": {
"md5": "7ca51df5d0e1972b9c3c281df226ec44",
"sha256": "63a5fa386ab85f36360db9d960f2e6653d42b642aa7c206f0966378085166574"
},
"downloads": -1,
"filename": "animation-0.0.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "7ca51df5d0e1972b9c3c281df226ec44",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 5848,
"upload_time": "2018-01-05T21:16:53",
"url": "https://files.pythonhosted.org/packages/05/ee/2781565f457d2533e392ad25bb5da10ac8fcec3fe81348ded4fbdba5b6e3/animation-0.0.5-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "7e3e2fa7b6f59c083b6ffa5f33dca0d0",
"sha256": "f154b2ecc1a49d963fc4d14d014c10e6847d9805048d5a9c197870ec31877c9a"
},
"downloads": -1,
"filename": "animation-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "7e3e2fa7b6f59c083b6ffa5f33dca0d0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15167,
"upload_time": "2018-01-05T21:16:55",
"url": "https://files.pythonhosted.org/packages/09/92/bc5bacf0e832f4ccb847c9ad54871e46671ad75b58f424c7b5874b0483b7/animation-0.0.5.tar.gz"
}
],
"0.0.6": [
{
"comment_text": "",
"digests": {
"md5": "b4f9d7c8ca92d033675ec73551ccc9cb",
"sha256": "3b1b3c84b18f6709bf6c78d141b46461e18220cc03650edb7ba791ab9e7f0263"
},
"downloads": -1,
"filename": "animation-0.0.6-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b4f9d7c8ca92d033675ec73551ccc9cb",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 8308,
"upload_time": "2018-12-06T22:59:47",
"url": "https://files.pythonhosted.org/packages/cb/66/d3db65edc6351dea3b964c532faf2fd11c047e454e6230fa5ee47215719a/animation-0.0.6-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "fa4e481dd65b7e301088791f0675fd5c",
"sha256": "e4c4585ca067c2e7dddea16377a9e22188c5936aa1c40d07c9bca3046ddb6935"
},
"downloads": -1,
"filename": "animation-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "fa4e481dd65b7e301088791f0675fd5c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8860,
"upload_time": "2018-12-06T22:59:49",
"url": "https://files.pythonhosted.org/packages/01/94/5c1b71c36cf7f206607214f62def8152d988bbdf67ec3c794abc1cb72beb/animation-0.0.6.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "b4f9d7c8ca92d033675ec73551ccc9cb",
"sha256": "3b1b3c84b18f6709bf6c78d141b46461e18220cc03650edb7ba791ab9e7f0263"
},
"downloads": -1,
"filename": "animation-0.0.6-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b4f9d7c8ca92d033675ec73551ccc9cb",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 8308,
"upload_time": "2018-12-06T22:59:47",
"url": "https://files.pythonhosted.org/packages/cb/66/d3db65edc6351dea3b964c532faf2fd11c047e454e6230fa5ee47215719a/animation-0.0.6-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "fa4e481dd65b7e301088791f0675fd5c",
"sha256": "e4c4585ca067c2e7dddea16377a9e22188c5936aa1c40d07c9bca3046ddb6935"
},
"downloads": -1,
"filename": "animation-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "fa4e481dd65b7e301088791f0675fd5c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8860,
"upload_time": "2018-12-06T22:59:49",
"url": "https://files.pythonhosted.org/packages/01/94/5c1b71c36cf7f206607214f62def8152d988bbdf67ec3c794abc1cb72beb/animation-0.0.6.tar.gz"
}
]
}