{ "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", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "README\n======\n\nA pure-python list-shifter/wrapper. Shifts/Wraps an iterable left or\nright by any amount (modulo to the length of iterable). Can optionally\nshift the iterable in-place. Create a shifty instance to add these\nconvenience methods to the default list implementation if you prefer.\n\nWhy slice when you can shift 'like-a-boss' ?!\n\n.. image:: https://codeship.com/projects/3b9b4360-9a44-0132-7e10-0ee228cf83fe/status?branch=master\n :target: https://codeship.com/projects/63870\n :alt: Codeship Status\n.. image:: https://api.shippable.com/projects/54afbe1ad46935d5fbc1e905/badge?branchName=master\n :target: https://app.shippable.com/projects/54afbe1ad46935d5fbc1e905/builds/latest\n :alt: Build Status\n.. image:: https://pypip.in/download/shifty/badge.svg\n :target: https://pypi.python.org/pypi/shifty/\n :alt: Downloads\n.. image:: https://pypip.in/version/shifty/badge.svg\n :target: https://pypi.python.org/pypi/shifty/\n :alt: Latest Version\n.. image:: https://pypip.in/py_versions/shifty/badge.svg\n :target: https://pypi.python.org/pypi/shifty/\n :alt: Supported Python versions\n.. image:: https://pypip.in/status/shifty/badge.svg\n :target: https://pypi.python.org/pypi/shifty/\n :alt: Development Status\n.. image:: https://pypip.in/wheel/shifty/badge.svg\n :target: https://pypi.python.org/pypi/shifty/\n :alt: Wheel Status\n.. image:: https://pypip.in/egg/shifty/badge.svg\n :target: https://pypi.python.org/pypi/shifty/\n :alt: Egg Status\n.. image:: https://pypip.in/format/shifty/badge.svg\n :target: https://pypi.python.org/pypi/shifty/\n :alt: Download format\n.. image:: https://pypip.in/license/shifty/badge.svg\n :target: https://pypi.python.org/pypi/shifty/\n :alt: License\n\nHow do I get set up?\n~~~~~~~~~~~~~~~~~~~~\n\n- **python setup.py install**\n- Dependencies: **six**\n- Dependencies (test): **Coverage, nose**\n- How to run tests: **./runtests.sh**\n- Deployment instructions: **pip install shifty**\n\nContribution guidelines\n~~~~~~~~~~~~~~~~~~~~~~~\n\nI accept pull requests.\n\nWhat about test coverage?\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThere is a full suite of unit-tests.\n\nWho do I talk to?\n~~~~~~~~~~~~~~~~~\n\n- Francis Horsman: **francis.horsman@gmail.com**\n\nExample\n~~~~~~~\n\n::\n\n >>> from shifty import shift_left, shifty\n\n >>> a = [1, 2, 3, 4]\n >>> b = shift_left(a, 3)\n >>> b\n [4, 1, 2, 3]\n >>> assert a is not b\n\n >>> b = shift_left(a, 2, in_place=True)\n\n >> assert a is b\n\n >>> b = shift_left(a, 5)\n\n >>> b\n [4, 1, 2, 3]\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://bitbucket.org/sys-git/shifty", "keywords": "algorithms", "license": "GNU General Public License", "maintainer": null, "maintainer_email": null, "name": "shifty", "package_url": "https://pypi.org/project/shifty/", "platform": "any", "project_url": "https://pypi.org/project/shifty/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/sys-git/shifty" }, "release_url": "https://pypi.org/project/shifty/1.0.8/", "requires_dist": null, "requires_python": null, "summary": "A pure-python list shifter/wrapper", "version": "1.0.8" }, "last_serial": 1466971, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "8866f356d70a77f5a05d7331bdddeb88", "sha256": "25b7c5a8029ac6007d84d17de911fd5c6a7ceaccd9401a07be293b31134ae69c" }, "downloads": -1, "filename": "shifty-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8866f356d70a77f5a05d7331bdddeb88", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 3468, "upload_time": "2014-11-18T15:11:58", "url": "https://files.pythonhosted.org/packages/19/7c/cdfe8231f6498fe1a89357685cfb49870910d045644d0ffd40e938d2be3d/shifty-0.0.3-py2.py3-none-any.whl" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "c4cabdaba425be1f7a84a1880dfd330a", "sha256": "138950b0e397e8742678780f5d8fb848bd7aa85570a57d36aedd0d82268c893a" }, "downloads": -1, "filename": "shifty-1.0.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "c4cabdaba425be1f7a84a1880dfd330a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1028, "upload_time": "2014-11-18T23:20:32", "url": "https://files.pythonhosted.org/packages/86/9c/c247756cad8b5a430c90a84bfc02d5b1c2ccbaf778102ab9af60f892ec24/shifty-1.0.0.linux-x86_64.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "70b4f107e734dd020e4d86f173f9553f", "sha256": "aad47c5e9320409b47aff417927a3facf444f6646da3fe1ca08e49fc389b15c3" }, "downloads": -1, "filename": "shifty-1.0.1.tar.gz", "has_sig": false, "md5_digest": "70b4f107e734dd020e4d86f173f9553f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1310, "upload_time": "2014-11-19T09:22:07", "url": "https://files.pythonhosted.org/packages/11/d5/31707f1b584502b70e976b0736690ad7da6a069cc6a450a00e2f4f41d134/shifty-1.0.1.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "e10a78b8bea6ee23d0122ff7e055f536", "sha256": "c6aad71f7c57235998578fdf742ce4c9c2e31364ced54611258c2a4f7771fab6" }, "downloads": -1, "filename": "shifty-1.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e10a78b8bea6ee23d0122ff7e055f536", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12861, "upload_time": "2015-03-18T13:53:42", "url": "https://files.pythonhosted.org/packages/a2/36/34cd35504460b3f7616ae63fcba96778d26ef5baf1938be85abfc1f2d910/shifty-1.0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5866c01ae5a11550c6b88096e042c9c5", "sha256": "611daaad66d12580e8e43fcb1d0cadb5d31e77a06df45f3670d85578aa7db79c" }, "downloads": -1, "filename": "shifty-1.0.7.tar.gz", "has_sig": false, "md5_digest": "5866c01ae5a11550c6b88096e042c9c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10338, "upload_time": "2015-03-18T13:53:39", "url": "https://files.pythonhosted.org/packages/3f/65/b37ce295d2de150e1f766202f46b32dac64e8f878854a85ad7b44fdc539c/shifty-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "b4ab6e7b00775583578d71b7fe5a0181", "sha256": "6f416b0f52a7cca7f8c777376c3203cceff5523eb63cc2214a3d37e37c1b145f" }, "downloads": -1, "filename": "shifty-1.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b4ab6e7b00775583578d71b7fe5a0181", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12853, "upload_time": "2015-03-18T14:08:09", "url": "https://files.pythonhosted.org/packages/59/e4/4238a7d081398b19ecb1599c6a9fc59e11b9360023a2450b331f0dac24ca/shifty-1.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "21bd61b7ca804509c00c77dbbb6a3250", "sha256": "e1234a289a65e3b51bff19afb7178abe74194096e8fd13745c45915d2089b2ca" }, "downloads": -1, "filename": "shifty-1.0.8.tar.gz", "has_sig": false, "md5_digest": "21bd61b7ca804509c00c77dbbb6a3250", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10623, "upload_time": "2015-03-18T14:08:06", "url": "https://files.pythonhosted.org/packages/0b/c5/4166223d0606e197c9a36be3cc4684bb0f0dde0c51295317eff8bc925422/shifty-1.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b4ab6e7b00775583578d71b7fe5a0181", "sha256": "6f416b0f52a7cca7f8c777376c3203cceff5523eb63cc2214a3d37e37c1b145f" }, "downloads": -1, "filename": "shifty-1.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b4ab6e7b00775583578d71b7fe5a0181", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12853, "upload_time": "2015-03-18T14:08:09", "url": "https://files.pythonhosted.org/packages/59/e4/4238a7d081398b19ecb1599c6a9fc59e11b9360023a2450b331f0dac24ca/shifty-1.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "21bd61b7ca804509c00c77dbbb6a3250", "sha256": "e1234a289a65e3b51bff19afb7178abe74194096e8fd13745c45915d2089b2ca" }, "downloads": -1, "filename": "shifty-1.0.8.tar.gz", "has_sig": false, "md5_digest": "21bd61b7ca804509c00c77dbbb6a3250", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10623, "upload_time": "2015-03-18T14:08:06", "url": "https://files.pythonhosted.org/packages/0b/c5/4166223d0606e197c9a36be3cc4684bb0f0dde0c51295317eff8bc925422/shifty-1.0.8.tar.gz" } ] }