{ "info": { "author": "Rik Bose", "author_email": "rbose@cs.rochester.edu", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Welcome to **neonpy**\n\n## Warning\n\n**neonpy** is an entirely experimental library consisting largely of decorators I think will be useful to me.\nI may be very wrong. **neonpy** comes with no warranty.\n\n## Basic philosophy\n\n1. Per function logging\n2. Distinguish between mutable and immutable\n3. Fix code quickly\n\n\n## @normalize_fields\n\n```\n@normalize_fields(bar=lambda x: x.lower())\n@normalize_fields(foo=lambda x: x.lower(), quux=lambda x: x.upper())\ndef myfunction(foo, bar=\"PET\", quux=\"motor\"):\n x = 5\n print(foo, bar, quux)\n\n\nmyfunction(\"my\", \"PIGEON\", \"Pie\")\nmyfunction(\"MY\")\nmyfunction(\"MY\", \"CAT\")\nmyfunction(\"my\", \"CAT\")\nmyfunction(\"MY\", \"dog\")\n```\n\n## @memoize\n\nWARNING: Do not use this if you are using objects that are hashable but not immutable\n\n```\n@memoize\ndef fib(a):\n if a < 2:\n return 1\n return fib(a-1) + fib(a-2)\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mrmechko/neon", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "neonpy", "package_url": "https://pypi.org/project/neonpy/", "platform": "", "project_url": "https://pypi.org/project/neonpy/", "project_urls": { "Homepage": "https://github.com/mrmechko/neon" }, "release_url": "https://pypi.org/project/neonpy/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "add a little neon to your python", "version": "0.0.1" }, "last_serial": 5603213, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "6544819b3d570e0faeff551a0bdbbf83", "sha256": "ff5ae018ea2010b6f2952e7aa7fccaaa9a93661f0f2db6b37a4ef4141be3beca" }, "downloads": -1, "filename": "neonpy-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6544819b3d570e0faeff551a0bdbbf83", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3953, "upload_time": "2019-07-30T04:06:09", "url": "https://files.pythonhosted.org/packages/34/49/c70ec188f14ffe5ec3dd47552207cd9c8e89964185ed6f940fce35d63ace/neonpy-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7bebf96b0ce782e503a1febc99951155", "sha256": "c59ebf83b60ac1a4a5e5aad87bb4bdb711437c5a24027f5ec7a5b98f2f95d2c5" }, "downloads": -1, "filename": "neonpy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7bebf96b0ce782e503a1febc99951155", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2832, "upload_time": "2019-07-30T04:06:11", "url": "https://files.pythonhosted.org/packages/df/b9/daa365f7c9d0870dc23ba6f9afc5f464830ed925a22156cfa41fed2f57cf/neonpy-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6544819b3d570e0faeff551a0bdbbf83", "sha256": "ff5ae018ea2010b6f2952e7aa7fccaaa9a93661f0f2db6b37a4ef4141be3beca" }, "downloads": -1, "filename": "neonpy-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6544819b3d570e0faeff551a0bdbbf83", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3953, "upload_time": "2019-07-30T04:06:09", "url": "https://files.pythonhosted.org/packages/34/49/c70ec188f14ffe5ec3dd47552207cd9c8e89964185ed6f940fce35d63ace/neonpy-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7bebf96b0ce782e503a1febc99951155", "sha256": "c59ebf83b60ac1a4a5e5aad87bb4bdb711437c5a24027f5ec7a5b98f2f95d2c5" }, "downloads": -1, "filename": "neonpy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7bebf96b0ce782e503a1febc99951155", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2832, "upload_time": "2019-07-30T04:06:11", "url": "https://files.pythonhosted.org/packages/df/b9/daa365f7c9d0870dc23ba6f9afc5f464830ed925a22156cfa41fed2f57cf/neonpy-0.0.1.tar.gz" } ] }