{ "info": { "author": "Jonathan Jacobs", "author_email": "jonathan@jsphere.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries" ], "description": "===============================================\nCompose: No frills Python function composition.\n===============================================\n\n\n *Important*\n If you prefer to write Python code in a more functional style you may find the\n toolz_ package to be more useful, it includes a `compose` function as well as\n several functions conducive to writing functional code in Python.\n\n.. _toolz: https://pypi.python.org/pypi/toolz\n\nNo magic operators or special objects just a function with unit tests. Here is a\nwonderfully contrived example to whet your appetite:\n\n.. code-block:: pycon\n\n >>> import json\n >>> from compose import compose\n >>> from operator import itemgetter\n >>> compose((3).__mul__, next, iter, itemgetter('b'), json.loads)('{\"a\": 1, \"b\": [2, 3]}')\n 6\n\n\nContribute\n==========\n\nSee http://github.com/jonathanj/compose for development.\n\n\nInstallation\n============\n\n.. code-block:: console\n\n $ pip install compose-func\n", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jonathanj/compose", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "compose-func", "package_url": "https://pypi.org/project/compose-func/", "platform": "any", "project_url": "https://pypi.org/project/compose-func/", "project_urls": { "Homepage": "https://github.com/jonathanj/compose" }, "release_url": "https://pypi.org/project/compose-func/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "No frills function composition", "version": "1.0.1" }, "last_serial": 1940154, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "3d155511a3315b49617e9def4dc0df96", "sha256": "fbbff5ddfd90d5073bb3767a0dc3af473e6a5d778490cffa3cc7a39864d1ea11" }, "downloads": -1, "filename": "compose-func-1.0.0.tar.gz", "has_sig": true, "md5_digest": "3d155511a3315b49617e9def4dc0df96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1703, "upload_time": "2016-02-04T17:41:25", "url": "https://files.pythonhosted.org/packages/48/e7/261ec0488c5c447a3c298d926b155b9a0d9ba85ff38acd71920688b887c7/compose-func-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "96a3b826fb1e6ba3988c442f1d2425e1", "sha256": "68e0c64687b3d5afe2b3c094de5565d6d0aa93f2106023769ba56a8f5c430725" }, "downloads": -1, "filename": "compose_func-1.0.1-py2-none-any.whl", "has_sig": true, "md5_digest": "96a3b826fb1e6ba3988c442f1d2425e1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 2498, "upload_time": "2016-02-04T17:49:01", "url": "https://files.pythonhosted.org/packages/83/39/a789c2e1a1bf79ae5f993ff047b550cbc3a31a844ed4ab21ebcaa95b8ce7/compose_func-1.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0c7b00913130ae5ecca4ee90dbd791f", "sha256": "b0d46485c826d3a7a1d589d492c42786aa975e5035abceeb478dcf540535741d" }, "downloads": -1, "filename": "compose-func-1.0.1.tar.gz", "has_sig": true, "md5_digest": "a0c7b00913130ae5ecca4ee90dbd791f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1702, "upload_time": "2016-02-04T17:48:29", "url": "https://files.pythonhosted.org/packages/4b/8f/cbd1f8570d2a552409656d748fd2bb68151e87504c89c733d64e44e59e30/compose-func-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "96a3b826fb1e6ba3988c442f1d2425e1", "sha256": "68e0c64687b3d5afe2b3c094de5565d6d0aa93f2106023769ba56a8f5c430725" }, "downloads": -1, "filename": "compose_func-1.0.1-py2-none-any.whl", "has_sig": true, "md5_digest": "96a3b826fb1e6ba3988c442f1d2425e1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 2498, "upload_time": "2016-02-04T17:49:01", "url": "https://files.pythonhosted.org/packages/83/39/a789c2e1a1bf79ae5f993ff047b550cbc3a31a844ed4ab21ebcaa95b8ce7/compose_func-1.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0c7b00913130ae5ecca4ee90dbd791f", "sha256": "b0d46485c826d3a7a1d589d492c42786aa975e5035abceeb478dcf540535741d" }, "downloads": -1, "filename": "compose-func-1.0.1.tar.gz", "has_sig": true, "md5_digest": "a0c7b00913130ae5ecca4ee90dbd791f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1702, "upload_time": "2016-02-04T17:48:29", "url": "https://files.pythonhosted.org/packages/4b/8f/cbd1f8570d2a552409656d748fd2bb68151e87504c89c733d64e44e59e30/compose-func-1.0.1.tar.gz" } ] }