{ "info": { "author": "Ronie Martinez", "author_email": "ronmarti18@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "|version|\\ |license|\\ |status|\n\nuseless-py\n==========\n\nUseful python utilities with less effort.\n\nInstallation:\n-------------\n\n.. code:: sh\n\n pip install useless-py\n\nFeatures:\n---------\n\n- set\\_interval() function and @interval decorator - similar to\n Javascript's setInterval() method, uses gevent\n- set\\_timeout() function and @timeout decorator - similar to\n Javascript's setTimeout() method, uses gevent\n- set\\_time\\_limit() function and @time\\_limit decorator - limits the\n maximum execution time of a function, raises TimeLimitExceededError\n- @extends decorator - inheritance using a class decorator, inspired by\n Java's extends\n- @nocase decorator - class decorator that allows access to attributes\n regardless of coding style (camelCase or snake\\_case)\n- @didyoumean decorator - class decorator, raises DidYouMeanError\n (subclass of AttributeError) which suggest close matches\n\nUsage:\n------\n\nCheck\n\"`samples `__\\ \"\nfolder.\n\nTo-Do:\n------\n\n- [ ] Class Decorators\n\n - [x] @extends - like Java's (instead of direct inheritance). IMO,\n more readable when you are doing multiple inheritance.\n - [ ] @implements - like Java's (with the help of python \"abc\"\n module).\n - [x] @nocase - rewrite of \"nocase\" module using a class decorator\n instead of direct inheritance, more Pythonic, IMO.\n (https://pypi.python.org/pypi/nocase)\n - [x] @didyoumean - raises a \"DidYouMean\" exception (instead of\n AttributeError) when an attribute of an instance does not exist\n and suggests close matches. Think of \"git\" when you messed up on\n giving the correct argument:\n\n .. code:: sh\n\n C:\\Users\\Ronie Martinez>git hello\n git: 'hello' is not a git command. See 'git --help'.\n Did you mean one of these?\n help\n reflog\n\n- [ ] Context Managers\n\n - [ ] Regular expressions in a \"with\" statement - I miss the old\n Perl $1, $2, $3 (special variables)... but global variable is an\n overkill, let's make a more Pythonic feature\n\nAuthor:\n-------\n\n- Ronie Martinez (ronmarti18@gmail.com)\n\n.. |version| image:: https://img.shields.io/pypi/v/useless-py.svg\n.. |license| image:: https://img.shields.io/pypi/l/useless-py.svg\n.. |status| image:: https://img.shields.io/pypi/status/useless-py.svg", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/Code-ReaQtor/useless-py/tarball/1.0.3", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Code-ReaQtor/useless-py", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "useless-py", "package_url": "https://pypi.org/project/useless-py/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/useless-py/", "project_urls": { "Download": "https://github.com/Code-ReaQtor/useless-py/tarball/1.0.3", "Homepage": "https://github.com/Code-ReaQtor/useless-py" }, "release_url": "https://pypi.org/project/useless-py/1.0.3/", "requires_dist": null, "requires_python": null, "summary": "Useful python utilities with less effort.", "version": "1.0.3" }, "last_serial": 2244518, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "6ef4684378d5a733c7834f779eacb46a", "sha256": "2c61bd17898f0d2c99c28ef9e505a7853e3b7176ce24e7f9cc8e39272d7cf117" }, "downloads": -1, "filename": "useless-py-1.0.1.zip", "has_sig": false, "md5_digest": "6ef4684378d5a733c7834f779eacb46a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4038, "upload_time": "2016-07-23T04:58:08", "url": "https://files.pythonhosted.org/packages/34/fc/7bb535e1e42952ed639cc8314d592eef68e5c6e9e1a05a3b33488e9855ef/useless-py-1.0.1.zip" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "a697079179899326ca24b3ca72ec97b0", "sha256": "5208e9ca3c3fb3d9a415788bab34d2bf5e50b6fa3acd701ab07787e5e38a1684" }, "downloads": -1, "filename": "useless-py-1.0.2.zip", "has_sig": false, "md5_digest": "a697079179899326ca24b3ca72ec97b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5117, "upload_time": "2016-07-24T05:58:15", "url": "https://files.pythonhosted.org/packages/34/f0/ee0567f2c0b8ee92204337b840fdab165d0c6242e33d87f63b52450b217b/useless-py-1.0.2.zip" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "9cfded89be6762b8e203dff292743d6a", "sha256": "27117ffe3044ffeee36af4572c224e445e04878668c45b133cfe606998c73b2a" }, "downloads": -1, "filename": "useless-py-1.0.3.zip", "has_sig": false, "md5_digest": "9cfded89be6762b8e203dff292743d6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5939, "upload_time": "2016-07-25T13:10:35", "url": "https://files.pythonhosted.org/packages/2e/e6/9ff8242741216f5724db7ac1b6a3c2d793eeb436da7eae6d45a514c020cb/useless-py-1.0.3.zip" } ], "1.0.3.a": [ { "comment_text": "", "digests": { "md5": "ca9ee37ff5789015c490d8c02eb70147", "sha256": "d05945f885ec64150ebfdd74b316412a26836728e4469909e2aaf09840db20c5" }, "downloads": -1, "filename": "useless-py-1.0.3.a.zip", "has_sig": false, "md5_digest": "ca9ee37ff5789015c490d8c02eb70147", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6459, "upload_time": "2016-07-26T11:29:29", "url": "https://files.pythonhosted.org/packages/99/71/b566b2e65e515a3fe5e728aa2aa84d8e63350469fb3ca4945429ee10c001/useless-py-1.0.3.a.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9cfded89be6762b8e203dff292743d6a", "sha256": "27117ffe3044ffeee36af4572c224e445e04878668c45b133cfe606998c73b2a" }, "downloads": -1, "filename": "useless-py-1.0.3.zip", "has_sig": false, "md5_digest": "9cfded89be6762b8e203dff292743d6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5939, "upload_time": "2016-07-25T13:10:35", "url": "https://files.pythonhosted.org/packages/2e/e6/9ff8242741216f5724db7ac1b6a3c2d793eeb436da7eae6d45a514c020cb/useless-py-1.0.3.zip" } ] }