{ "info": { "author": "Dane Morgan", "author_email": "danemorgan91@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "Functions I've used accross multiple projects, more info in this README to come\n\n #alert(alarm, x) counts down from x and prints int x and a string alarm to console\n\n alert('Till countdown', 10)\n\n #check_dir(child, parent) looks for a child directory in a parent directly, if there is no child dir then one is created \n \n check_dir('log', '~')\n\n #check_file(fname, file_dest) ensures that a file is not in a directory, if it is not in the directory then the a path is provided for file creation \n \n check_file('somefile.txt', '~/projects')\n\n #log_it(text, dest_dir) takes in string text and a string file destination folderand creates a file named with timestamp\n \n log_it('this is a test', './log/')\n\n #run_in_background(args) takes in a string shell command and runs it as a background process\n run_in_background('firefox')\n\n #limit_proc(proc,limit) takes in a string process name and an int limit, limit represents a threshold of a certain process. If limit is reached then a simple spinlock activates and activly waits until the process count is no longer at the limit\n\n limit_proc('curl', 5)\n\n #kill_proc(proc) takes in a string process name and kills processes with that name\n\n kill_proc('curl')", "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/deadlift1226/easy_utils.git", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "easy-utils", "package_url": "https://pypi.org/project/easy-utils/", "platform": "", "project_url": "https://pypi.org/project/easy-utils/", "project_urls": { "Homepage": "https://github.com/deadlift1226/easy_utils.git" }, "release_url": "https://pypi.org/project/easy-utils/0.0.6/", "requires_dist": null, "requires_python": "", "summary": "Easy to use utilities: alerts, logging, running background processes, file and directory checking", "version": "0.0.6" }, "last_serial": 4616839, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0e60d4b70f0d5dbb32966fb18867f35d", "sha256": "fce45c2e340c473e63e318136674603a03e29a51bc99441b3ff0c1f30804a98a" }, "downloads": -1, "filename": "easy_utils-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0e60d4b70f0d5dbb32966fb18867f35d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1425, "upload_time": "2018-09-11T12:40:07", "url": "https://files.pythonhosted.org/packages/6b/f5/5622861a3776c52b417318800407de2af70727c6703a3a1b7e8f190eb33d/easy_utils-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "beeadc96b901755ff18ef10b084ccc9f", "sha256": "03e8cc52d5853f93d9c8463d2939e3ddeb1a933e71c95d56e26fa7d4b69f84a2" }, "downloads": -1, "filename": "easy_utils-0.0.1.tar.gz", "has_sig": false, "md5_digest": "beeadc96b901755ff18ef10b084ccc9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1043, "upload_time": "2018-09-11T12:40:10", "url": "https://files.pythonhosted.org/packages/fb/c1/c6b57b36dd4c202e2bf6541ea4aa43c7bfeb8c66f2a464ba5024433aa336/easy_utils-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "499f22c0816e2a6bdb66d5522916deed", "sha256": "9d226f53fc9de2f557ad7f946fc8739b2bb75846da2051eb6346a86c1a6b0a6c" }, "downloads": -1, "filename": "easy_utils-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "499f22c0816e2a6bdb66d5522916deed", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1494, "upload_time": "2018-09-11T13:02:57", "url": "https://files.pythonhosted.org/packages/d9/f0/13cba4b382af9684f6ede8ee243c307cc36ee08e8f6cf837b3be33c319ae/easy_utils-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3af76ee0fb0d84674bc7563d73ec7ebe", "sha256": "a9340ff2180ead6e0387f8de928b35941ccf6e6b564fe986aa9e10f20a63fa36" }, "downloads": -1, "filename": "easy_utils-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3af76ee0fb0d84674bc7563d73ec7ebe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1165, "upload_time": "2018-09-11T13:02:58", "url": "https://files.pythonhosted.org/packages/03/c1/f9219ddaa5ba8be4950413a144bc6a70147e1e5eb0d3142557f56825769f/easy_utils-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "19f56cc70498b31e59d4695736aa987f", "sha256": "297fe97103e1bf8f6a51428b3745d7e2482a4a75361f25a5ed4bf947a68802af" }, "downloads": -1, "filename": "easy_utils-0.0.3.tar.gz", "has_sig": false, "md5_digest": "19f56cc70498b31e59d4695736aa987f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1610, "upload_time": "2018-09-20T12:46:45", "url": "https://files.pythonhosted.org/packages/cb/8b/8c8d4a170e254487b31a4f0c9efae35d5dad2b3b7b9cf6a0aa60b11412d7/easy_utils-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "59d1e512b1abde4b981c93a7ce6a3c44", "sha256": "8a26bac665099ddf6cdec712739071bf33d7ea994f9c032eec1a4ef5a082758a" }, "downloads": -1, "filename": "easy_utils-0.0.4.tar.gz", "has_sig": false, "md5_digest": "59d1e512b1abde4b981c93a7ce6a3c44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1635, "upload_time": "2018-09-20T13:13:30", "url": "https://files.pythonhosted.org/packages/cd/a0/54ec566f4c740264683ad21c793cd5aed1b34a5c2cb51afdd0568b1d6562/easy_utils-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "313d30525a7d0755c2861622964972dc", "sha256": "af7c9286f64c5620afdfbe545f46c0206c5d783e99357ad628683f3930bdb346" }, "downloads": -1, "filename": "easy_utils-0.0.5.tar.gz", "has_sig": false, "md5_digest": "313d30525a7d0755c2861622964972dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2308, "upload_time": "2018-12-19T13:59:48", "url": "https://files.pythonhosted.org/packages/2a/df/9b67d0875a9f5c6ca3f56e979f96f613f7bb8989f2f3ab52fcd7ea6e1709/easy_utils-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "0de1b97c6357969ffe0e319058fdfeaa", "sha256": "594e8baf04ca7f37eec9e3c96971f125d402be21050356854d4756cdb59a1071" }, "downloads": -1, "filename": "easy_utils-0.0.6.tar.gz", "has_sig": false, "md5_digest": "0de1b97c6357969ffe0e319058fdfeaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2323, "upload_time": "2018-12-19T14:08:41", "url": "https://files.pythonhosted.org/packages/75/30/9f9bd544a10be219060c65e25d9a20a969aaffad811175d366a3bab6c461/easy_utils-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0de1b97c6357969ffe0e319058fdfeaa", "sha256": "594e8baf04ca7f37eec9e3c96971f125d402be21050356854d4756cdb59a1071" }, "downloads": -1, "filename": "easy_utils-0.0.6.tar.gz", "has_sig": false, "md5_digest": "0de1b97c6357969ffe0e319058fdfeaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2323, "upload_time": "2018-12-19T14:08:41", "url": "https://files.pythonhosted.org/packages/75/30/9f9bd544a10be219060c65e25d9a20a969aaffad811175d366a3bab6c461/easy_utils-0.0.6.tar.gz" } ] }