{ "info": { "author": "Yukino Ikegami", "author_email": "yknikgm@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: Microsoft", "Operating System :: POSIX", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "flati\n==========\n|travis| |coveralls| |pyversion| |version| |license|\n\nFlatten nested iterable object\n\n\nINSTALLATION\n==============\n\n::\n\n $ pip install flati\n\n\nUSAGE\n============\n\n.. code:: python\n\n import flati\n\n iterable = [(1, 2, 3), (4, (5, 6))]\n list(flati.flatten(iterable))\n # => [1, 2, 3, 4, 5, 6]\n\n # flati.flatten() returns a generator\n import types\n isinstance(flati.flatten(iterable), types.GeneratorType)\n # => True\n\n iterable = [('abc'), ('def', ('g', 'hi'))]\n list(flati.flatten(iterable, ignore=str))\n # => ['abc', 'def', 'g', 'hi']\n\n\n\n.. |travis| image:: https://travis-ci.org/ikegami-yukino/flati.svg?branch=master\n :target: https://travis-ci.org/ikegami-yukino/flati\n :alt: travis-ci.org\n\n.. |coveralls| image:: https://coveralls.io/repos/ikegami-yukino/flati/badge.svg?branch=master&service=github\n :target: https://coveralls.io/github/ikegami-yukino/flati?branch=master\n :alt: coveralls.io\n\n.. |pyversion| image:: https://img.shields.io/pypi/pyversions/flati.svg\n\n.. |version| image:: https://img.shields.io/pypi/v/flati.svg\n :target: http://pypi.python.org/pypi/flati/\n :alt: latest version\n\n.. |license| image:: https://img.shields.io/pypi/l/flati.svg\n :target: http://pypi.python.org/pypi/flati/\n :alt: license\n\n\nCHANGES\n=======\n\n0.1.1 (2019-1-28)\n------------------\n\n- Support Python 2.7\n\n0.1 (2019-1-27)\n------------------\n\n- First release", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ikegami-yukino/flati", "keywords": "flatten,generator", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "flati", "package_url": "https://pypi.org/project/flati/", "platform": "POSIX", "project_url": "https://pypi.org/project/flati/", "project_urls": { "Homepage": "https://github.com/ikegami-yukino/flati" }, "release_url": "https://pypi.org/project/flati/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Flatten nested iterable object", "version": "0.1.1" }, "last_serial": 4750396, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f0a4d144c9e5069cc5f8d20bee21cbb6", "sha256": "80797fb31c197c23c83be2d7cd74309700ce5662c29449b743660481710cd045" }, "downloads": -1, "filename": "flati-0.1.tar.gz", "has_sig": false, "md5_digest": "f0a4d144c9e5069cc5f8d20bee21cbb6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3047, "upload_time": "2019-01-27T08:21:48", "url": "https://files.pythonhosted.org/packages/06/45/0c7f9ee76acbd506c70c61f1cb88a466ccb85524710fc01297126c6a4995/flati-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b755728421b24ee685919c8c73f6d9b6", "sha256": "7cb59f3ec73ef983d2f0f32832ade6f0fbba02cf1a0aa8621bc713a9a6417d09" }, "downloads": -1, "filename": "flati-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b755728421b24ee685919c8c73f6d9b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3224, "upload_time": "2019-01-28T14:25:01", "url": "https://files.pythonhosted.org/packages/61/f8/c04defc6da2b8e3014448e0a1f5deb33599052b784cc004752cd271cc463/flati-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b755728421b24ee685919c8c73f6d9b6", "sha256": "7cb59f3ec73ef983d2f0f32832ade6f0fbba02cf1a0aa8621bc713a9a6417d09" }, "downloads": -1, "filename": "flati-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b755728421b24ee685919c8c73f6d9b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3224, "upload_time": "2019-01-28T14:25:01", "url": "https://files.pythonhosted.org/packages/61/f8/c04defc6da2b8e3014448e0a1f5deb33599052b784cc004752cd271cc463/flati-0.1.1.tar.gz" } ] }