{ "info": { "author": "Jerod Gawne", "author_email": "jerodgawne@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU Affero General Public License v3", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Utilities" ], "description": "jgutils: A Python Utility Module\n=\n\nThis package is currently targeting Python3.7+ but it *should work with Python3.6+.\n\nInstallation\n==\n```bash\npip install jgutils\n```\nFlatten (flatten)\n==\nFlatten embedded lists/tuples into a single generator.\n\nGet Files (getfiles)\n==\n* todo: add wild-card support\n* todo: tests\n\nFile listing utility. Basic matching and sorting.\n\nGet IPs (getips)\n==\nAttempts to resolve ipv4/6 IPs for LAN/WAN adapters.\n\nReturns an object with:\n\nobj.lan4, obj.lan6, obj.wan4, obj.wan6\n\nContext manager is implemented if desired.\n\n`__repr__` is prety printed dictionary\n\nNatural Sort (naturalsort)\n==\n* todo: test_numeric_intermixed_mode1 sometimes returns different output with different order input\n\nSorting for Humans; Two Modes\n```python\nmylist = ['elm0', 'elm1', 'Elm2', 'elm9', 'elm10', 'Elm11', 'Elm12', 'elm13', 'elm']\nmode1 = ['elm', 'elm0', 'elm1', 'Elm2', 'elm9', 'elm10', 'Elm11', 'Elm12', 'elm13']\nmode2 = ['elm', 'elm0', 'elm1', 'Elm2', 'elm9', 'elm10', 'Elm11', 'Elm12', 'elm13']\n\nmylist1 = ['e0lm', 'e1lm', 'E2lm', 'e9lm', 'e10lm', 'E12lm', 'e13lm', 'elm', 'e01lm']\nmode1 = ['e0lm', 'e1lm', 'e01lm', 'E2lm', 'e9lm', 'e10lm', 'E12lm', 'e13lm', 'elm']\nmode2 = ['elm', 'e0lm', 'e1lm', 'E2lm', 'e9lm', 'e01lm', 'e10lm', 'E12lm', 'e13lm']\n```\n\nPersistent Dictionary (persistentdict)\n==\n* todo: more tests\n\nIn-Memory dictionary with transparent disk-based backing.\n\nReplace (replace)\n==\nBased on the built-in replace.\nAccepts a list of 'old' substrings to be replaced by a single 'new' substring.\n\nUSHoliday (usholiday)\n==\ntodo: more tests(leap year/day)\n\nTests for the following US federal holidays as well as observed days.\nObserved: If a holiday falls on a Saturday observance => Friday, Sunday => Monday\n\n* New years: January 1\n* Martin Luther King Jr.: 3rd Monday in January\n* Washington's Birthday (Presidents): 3rd Monday in February\n* Memorial: Last Monday in May\n* Independance: July 4\n* Labor: First Monday in September\n* Columbus: Second Monday in October\n* Veterans: November 11\n* Thanksgiving: Fourth Thursday in November\n\nVarprint (varprint)\n==\nPrints the name of the variable and the value.\n \n```bash\n: {variable_type} = () \nsome_var: String = (5) hello\n```\nReferences\n==\n* [Python](https://www.python.org/)\n* [Python-Packaging](https://python-packaging.readthedocs.io/en/latest/) \n* [Python Packaging Tutorial](https://packaging.python.org/tutorials/packaging-projects/)\n* [Python List Classifiers](https://pypi.org/pypi?%3Aaction=list_classifiers)\n* [GitHub](https://github.com/jerodg/jgutils)\n* [Pypi](https://pypi.org/project/jgutils/)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/jerodg/jgutils", "keywords": "utility utilities persistent dictionary file list listing", "license": "AGPLv3", "maintainer": "", "maintainer_email": "", "name": "jgutils", "package_url": "https://pypi.org/project/jgutils/", "platform": "", "project_url": "https://pypi.org/project/jgutils/", "project_urls": { "Homepage": "http://github.com/jerodg/jgutils" }, "release_url": "https://pypi.org/project/jgutils/0.8.0.0/", "requires_dist": null, "requires_python": "", "summary": "jerodg.com utilities module", "version": "0.8.0.0" }, "last_serial": 4820465, "releases": { "0.2.5.1": [ { "comment_text": "", "digests": { "md5": "8a1fda41c4885a44380c7a51d3ba3f5b", "sha256": "b379e57a20d900438746a08b1dc4366b3e01c6fd07a52eaa88d3e43f6997cebb" }, "downloads": -1, "filename": "jgutils-0.2.5.1.tar.gz", "has_sig": false, "md5_digest": "8a1fda41c4885a44380c7a51d3ba3f5b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16194, "upload_time": "2018-11-01T18:05:35", "url": "https://files.pythonhosted.org/packages/6b/bf/89ccaacc9b1b397a63e17eb5acf441a74d612bab2dfde527b7b8210d4aee/jgutils-0.2.5.1.tar.gz" } ], "0.3.1.1": [ { "comment_text": "", "digests": { "md5": "d2cdb83852fe7b776f60a9756b3255a2", "sha256": "e375a0a9dcccf24b0e74b9ded278ebad8ca2d9666264cf3e0fb6a168b26243c8" }, "downloads": -1, "filename": "jgutils-0.3.1.1.tar.gz", "has_sig": false, "md5_digest": "d2cdb83852fe7b776f60a9756b3255a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18541, "upload_time": "2018-11-13T14:56:52", "url": "https://files.pythonhosted.org/packages/af/d4/248ad99264a902c777f620b2d0ce6c0b8f17b03f362988c32d6fcc2e021c/jgutils-0.3.1.1.tar.gz" } ], "0.4.0.0": [ { "comment_text": "", "digests": { "md5": "a82aaa8617cc38619623de2073431c69", "sha256": "313ee281f0bbfa496d51e5623aa84aeddf3cc8ffe836a8db7b310c2f1928afde" }, "downloads": -1, "filename": "jgutils-0.4.0.0.tar.gz", "has_sig": false, "md5_digest": "a82aaa8617cc38619623de2073431c69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19013, "upload_time": "2018-11-13T14:56:53", "url": "https://files.pythonhosted.org/packages/eb/85/0eea6862ecd9cf983dceacaccf2391fcdde54a1e521168e618ad76264590/jgutils-0.4.0.0.tar.gz" } ], "0.5.0.0": [ { "comment_text": "", "digests": { "md5": "97b1f236e4fa2cf95227c5050ac84c2e", "sha256": "5a4866126f58505c99de83b346e2f4dd6288d9a75bd20edbacb389ef71b798df" }, "downloads": -1, "filename": "jgutils-0.5.0.0.tar.gz", "has_sig": false, "md5_digest": "97b1f236e4fa2cf95227c5050ac84c2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20236, "upload_time": "2018-11-13T14:56:54", "url": "https://files.pythonhosted.org/packages/1e/fb/ea057ffe791f869f59feee794b1d340808d1d66ed671c7ac9641282b4bda/jgutils-0.5.0.0.tar.gz" } ], "0.5.1.0": [ { "comment_text": "", "digests": { "md5": "c26d43f0f52e2770775fe066ee9d1c9e", "sha256": "5a1b543d94a9a17edd81a76fec9808752155cd298154dfd915fc2509a0b0f7b6" }, "downloads": -1, "filename": "jgutils-0.5.1.0.tar.gz", "has_sig": false, "md5_digest": "c26d43f0f52e2770775fe066ee9d1c9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20291, "upload_time": "2018-11-13T14:56:56", "url": "https://files.pythonhosted.org/packages/35/f9/438abdfb93c4018279ff40914ae5d40578926c155ea0e6e48d996afd5aae/jgutils-0.5.1.0.tar.gz" } ], "0.6.0.0": [ { "comment_text": "", "digests": { "md5": "8f6226276691da0e972d24162ae4ae00", "sha256": "5ed4bf2f2e423784342b8b854417706a38114dabbe1f961db6be47f262fa3148" }, "downloads": -1, "filename": "jgutils-0.6.0.0.tar.gz", "has_sig": false, "md5_digest": "8f6226276691da0e972d24162ae4ae00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21959, "upload_time": "2018-11-23T21:26:29", "url": "https://files.pythonhosted.org/packages/ce/28/2f43da51c84b8bf66a941b3437cb28ab11cf2e070550081cc07fdb59e79f/jgutils-0.6.0.0.tar.gz" } ], "0.6.2.5": [ { "comment_text": "", "digests": { "md5": "3d80353299216d3679cf0a5a7a48e741", "sha256": "3072ac2cf5ec655fd14b0fc9e4e7ddf9b34994ea90bf03ab444ebfce04a14720" }, "downloads": -1, "filename": "jgutils-0.6.2.5.tar.gz", "has_sig": false, "md5_digest": "3d80353299216d3679cf0a5a7a48e741", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22899, "upload_time": "2018-11-23T21:26:46", "url": "https://files.pythonhosted.org/packages/90/d7/ff2da2bc6e681a5e27c0eeca6aa3b848c7c2de7d2ce171d7e50a5bd3710e/jgutils-0.6.2.5.tar.gz" } ], "0.7.0.2": [ { "comment_text": "", "digests": { "md5": "51e7c895af50dc08dffde803cc304182", "sha256": "90365b2d6d1b1533386d9f7e3624f58c0e6cfb1da089e580cb9d0d8a7611e09f" }, "downloads": -1, "filename": "jgutils-0.7.0.2.tar.gz", "has_sig": true, "md5_digest": "51e7c895af50dc08dffde803cc304182", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23416, "upload_time": "2018-11-29T16:04:10", "url": "https://files.pythonhosted.org/packages/0b/23/8efcb98ace86a8bda4c338fa1d1df1aae2e725dc59cab11e8bb17e915bad/jgutils-0.7.0.2.tar.gz" } ], "0.8.0.0": [ { "comment_text": "", "digests": { "md5": "fce15224f8a204597df0c9585fa71b01", "sha256": "730fe71daaf83136e6e821b4b49fe226f88cbdf147d88a266f596a735b459e41" }, "downloads": -1, "filename": "jgutils-0.8.0.0.tar.gz", "has_sig": true, "md5_digest": "fce15224f8a204597df0c9585fa71b01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24396, "upload_time": "2018-11-30T17:51:21", "url": "https://files.pythonhosted.org/packages/64/06/44905197e46a2bb5784e10a4fbcf7d4347562d7b187e6412cbef9723281b/jgutils-0.8.0.0.tar.gz" } ], "1.0a0.dev0": [ { "comment_text": "", "digests": { "md5": "9b7bb6726a1ca3ad37e32a701316ad4a", "sha256": "83b22b6c6fafe01e21697d39e51a3af9e299d09c5d7255e6b07502ce5101463c" }, "downloads": -1, "filename": "jgutils-1.0a0.dev0.tar.gz", "has_sig": true, "md5_digest": "9b7bb6726a1ca3ad37e32a701316ad4a", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 28462, "upload_time": "2019-02-14T13:58:09", "url": "https://files.pythonhosted.org/packages/57/1c/8b1f86d3d92de2f89a4256bfee64de698fa14294a7c08970770d1ef713d3/jgutils-1.0a0.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fce15224f8a204597df0c9585fa71b01", "sha256": "730fe71daaf83136e6e821b4b49fe226f88cbdf147d88a266f596a735b459e41" }, "downloads": -1, "filename": "jgutils-0.8.0.0.tar.gz", "has_sig": true, "md5_digest": "fce15224f8a204597df0c9585fa71b01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24396, "upload_time": "2018-11-30T17:51:21", "url": "https://files.pythonhosted.org/packages/64/06/44905197e46a2bb5784e10a4fbcf7d4347562d7b187e6412cbef9723281b/jgutils-0.8.0.0.tar.gz" } ] }