{ "info": { "author": "Francis Horsman", "author_email": "francis.horsman@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.0", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# README #\r\n\r\nTake any two dimensional list like object that supports indexing as input and output a circular clockwise shrinking\r\nspiral of elements from the input beginning at the top left most corner (ie: input[0][0]) until all the input is\r\nexhausted.\r\n\r\nThis will work on lists of any size in either dimension.\r\n\r\n[ ![Codeship Status for sys-git/spirol](https://codeship.com/projects/b8f6bef0-5132-0132-d6d9-0ea8256ccae9/status)](https://codeship.com/projects/48263)\r\n[![Build Status](https://api.shippable.com/projects/54afbe1ad46935d5fbc1e904/badge?branchName=master)](https://app.shippable.com/projects/54afbe1ad46935d5fbc1e904/builds/latest)\r\n\r\n* Version 1.0.3\r\n\r\n### How do I get set up? ###\r\n\r\n* **python setup.py install**\r\n* Dependencies: **shifty (v0.0.3)**\r\n* How to run tests: **./runtests.sh**\r\n* Deployment instructions: **pip install spirol**\r\n\r\n### What about test coverage? ###\r\nThere is a full suite of unit-tests.\r\n\r\n### Contribution guidelines ###\r\nI accept pull requests.\r\n\r\n### Who do I talk to? ###\r\n* Francis Horsman: **francis.horsman@gmail.com**\r\n\r\n### Example ###\r\n\r\n```\r\n>>> from spirol import spirol\r\n\r\n>>> a = spirol([[1,2,3], [4,5,6], [7,8,9]], (3, 3))\r\n\r\n>>> a\r\nspirol(3, 3, clockwise from tl)\r\n\r\n>>> [i for i in a]\r\n[1, 2, 3, 6, 9, 8, 7, 4, 5]\r\n\r\n>>> print(a)\r\nspirol(3, 3, clockwise from tl): [1, 2, 3, 6, 9, 8, 7, 4, 5]\r\n\r\n>>> len(a)\r\n9\r\n\r\n>>> a = spirol([[1,2,3], [4,5,6], [7,8,9]], (3, 3), corner='br', direction='counterclock')\r\n\r\n>>> a\r\nspirol(3, 3, counterclock from br)\r\n\r\n>>> [i for i in a]\r\n[9, 6, 3, 2, 1, 4, 7, 8, 5]\r\n```\r\n.. :changelog:\n\nChangelog\n=========\n\n1.0.7 2015-01-09\n----------------\n* fixed setup\n\n1.0.6 2015-01-09\n----------------\n* Updated tagger to publish to pypi\n\n1.0.5 2015-01-09\n----------------\n* updated tagger\n\n1.0.4 2015-01-09\n----------------\n* updated tagger\n\n1.0.3 2015-01-09\n----------------\n* Updated readme\n\n1.0.2 2015-01-09\n----------------\n* Updated readme to pull in shippable status.\n\n1.0.1 2015-01-09\n----------------\n* Added tox, versioneer\n\n1.0.0 2014-11-19\n----------------\n* Production stable", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/sys-git/spirol", "keywords": "algorithms", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "spirol", "package_url": "https://pypi.org/project/spirol/", "platform": "any", "project_url": "https://pypi.org/project/spirol/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/sys-git/spirol" }, "release_url": "https://pypi.org/project/spirol/1.0.7/", "requires_dist": null, "requires_python": null, "summary": "A pure-python non-repeating outside-in spiral iterator-generator for 2D arrays", "version": "1.0.7" }, "last_serial": 1376814, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "bb7ca122dce3ac2dbee9ff5ebe512241", "sha256": "0bf3e2b92d8143f525d8d8ac156c720aae25634a4b3533936851f4254b0f4d4f" }, "downloads": -1, "filename": "spirol-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bb7ca122dce3ac2dbee9ff5ebe512241", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 3934, "upload_time": "2014-11-13T16:24:31", "url": "https://files.pythonhosted.org/packages/36/0a/7836b8303574db955495a8b082a638f3fd3124111f5d726d57e8e35646ca/spirol-0.0.1-py2.py3-none-any.whl" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "b3ad04bc2870f0cd0b33c7e5d4f6a34a", "sha256": "91cc03c7f70c66fb7c62c8aa710721a57d4994d0c126aed164135992bfbe9c26" }, "downloads": -1, "filename": "spirol-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b3ad04bc2870f0cd0b33c7e5d4f6a34a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9157, "upload_time": "2014-11-19T09:58:43", "url": "https://files.pythonhosted.org/packages/84/c2/68354d9f49b71abf2734d839c9f2941d5aaebbed2d33b8a4976d1eb0ae8f/spirol-1.0.0-py2.py3-none-any.whl" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "4b6f2adb209d4f1cba41fe82bbd25c71", "sha256": "5a1b97bf8a58649cb3f5b08717c42644e3734f46586d880072a1a9cef71421a3" }, "downloads": -1, "filename": "spirol-1.0.7-py2.7.egg", "has_sig": false, "md5_digest": "4b6f2adb209d4f1cba41fe82bbd25c71", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 19985, "upload_time": "2015-01-09T14:18:00", "url": "https://files.pythonhosted.org/packages/34/f9/5bd4cdf4eb9865343bfa632243458076698761d98e183ba87ec990b69934/spirol-1.0.7-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "d50f1d64bca694cdc5e69805509b7006", "sha256": "bcb7494a7af60ff68548c79a0768342e3765127e0a3e3b97a8c2ae2950182db2" }, "downloads": -1, "filename": "spirol-1.0.7.tar.gz", "has_sig": false, "md5_digest": "d50f1d64bca694cdc5e69805509b7006", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17029, "upload_time": "2015-01-09T14:17:57", "url": "https://files.pythonhosted.org/packages/fd/af/87169186c8158447b4e0be5c16a7e9ca847404dedf41329338ce055d5c5d/spirol-1.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b6f2adb209d4f1cba41fe82bbd25c71", "sha256": "5a1b97bf8a58649cb3f5b08717c42644e3734f46586d880072a1a9cef71421a3" }, "downloads": -1, "filename": "spirol-1.0.7-py2.7.egg", "has_sig": false, "md5_digest": "4b6f2adb209d4f1cba41fe82bbd25c71", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 19985, "upload_time": "2015-01-09T14:18:00", "url": "https://files.pythonhosted.org/packages/34/f9/5bd4cdf4eb9865343bfa632243458076698761d98e183ba87ec990b69934/spirol-1.0.7-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "d50f1d64bca694cdc5e69805509b7006", "sha256": "bcb7494a7af60ff68548c79a0768342e3765127e0a3e3b97a8c2ae2950182db2" }, "downloads": -1, "filename": "spirol-1.0.7.tar.gz", "has_sig": false, "md5_digest": "d50f1d64bca694cdc5e69805509b7006", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17029, "upload_time": "2015-01-09T14:17:57", "url": "https://files.pythonhosted.org/packages/fd/af/87169186c8158447b4e0be5c16a7e9ca847404dedf41329338ce055d5c5d/spirol-1.0.7.tar.gz" } ] }