{ "info": { "author": "Tim Santor", "author_email": "tsantor@xstudios.agency", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6" ], "description": "Python Bash Utils\n=================\n\nAuthor: Tim Santor tsantor@xstudios.agency\n\nOverview\n========\n\nBash color management and log system for Python users.\n\nRequirements\n============\n\n- Python 2.7.x, 3.6.x\n\nInstallation\n============\n\nYou can install directly via pip:\n\n::\n\n pip install python-bash-utils\n\nUsage\n=====\n\nlogmsg\n------\n\nImport:\n\n::\n\n from bashutils import logmsg\n\nFunctions:\n\n::\n\n logmsg.divline() # ----------\n logmsg.header('header') # ==> header\n logmsg.success('success') # [OK] success\n logmsg.error('error') # [ERROR] error\n logmsg.warning('warning') # [WARNING] warning\n logmsg.info('info') # [INFO] info\n logmsg.note('note') # note\n\n logmsg.prompt('What is your name?) # [?] What is your name?\n lomgsg.confirm('Confirm this') # [?] Confirm this? (y/n)\n\nbashutils\n---------\n\nImport:\n\n::\n\n from bashutils import bashutils\n\nFunctions:\n\n::\n\n bashutils.get_os() # OSX, 'Fedora', 'CentOS', 'Debian', 'Ubuntu'\n\n status, stdout, stderr = bashutils.exec_cmd('git -h')\n\n bashutils.cmd_exists('git') # True or False\n\nVersion History\n===============\n\n- **0.1.0** - Initial release\n- **0.1.1** - Added some new methods\n- **0.1.2** - Refactor\n- **0.1.3** - Added Python 3.4.x support\n- **0.1.4** - Added ability to pass logger instance to log message as\n well\n- **0.1.5** - Added Windows output workaround\n- **0.1.6** - Removed needless ``declined`` method, was being overly\n verbose in output\n- **0.2.0** - Updated for Python 3\n- **0.3.0** - Simplified code base and now rely on ``colorama`` for\n cross-platform terminal color support\n- **0.3.1** - Added cooler icons for success/error for Linux/Mac\n- **0.3.2** - Remove unicode chars that cause issues when writing to\n file\n\nIssues\n======\n\nIf you experience any issues, please create an\n`issue `__ on\nBitbucket.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://bitbucket.org/tsantor/python-bash-utils/get/0.3.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/tsantor/python-bash-utils", "keywords": "bash utils colors log", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Python-Bash-Utils", "package_url": "https://pypi.org/project/Python-Bash-Utils/", "platform": "", "project_url": "https://pypi.org/project/Python-Bash-Utils/", "project_urls": { "Download": "https://bitbucket.org/tsantor/python-bash-utils/get/0.3.2.tar.gz", "Homepage": "https://bitbucket.org/tsantor/python-bash-utils" }, "release_url": "https://pypi.org/project/Python-Bash-Utils/0.3.2/", "requires_dist": [ "colorama (<4,>=0.3.9)", "six (<2,>=1.11.0)" ], "requires_python": "", "summary": "A package which allows making bash style command line scripts easier.", "version": "0.3.2" }, "last_serial": 3811410, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ed0276d8a4b6e9e3e1baa324d7fa9814", "sha256": "82fd2beda365f1f52dca624026a46dbc5a2954218de23c00192b62f2c2f9e48f" }, "downloads": -1, "filename": "Python-Bash-Utils-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ed0276d8a4b6e9e3e1baa324d7fa9814", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5359, "upload_time": "2015-04-08T22:50:36", "url": "https://files.pythonhosted.org/packages/af/0c/eab4c3ee515080752ba856fa530b5e6c5b85a46413b2fb11ea7a0c9fa20c/Python-Bash-Utils-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "478b533363b6fa84ec20ab036a4e4300", "sha256": "c6288971d3153329d6d6b9724e5cfb3f868706ece077cce57aea194f57facb15" }, "downloads": -1, "filename": "Python-Bash-Utils-0.1.1.tar.gz", "has_sig": false, "md5_digest": "478b533363b6fa84ec20ab036a4e4300", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5499, "upload_time": "2015-05-14T17:36:46", "url": "https://files.pythonhosted.org/packages/bb/90/f4b2d46540fda2440ad4d0c85e7ab835a9f8e1a5639e83f634d05b962f82/Python-Bash-Utils-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "f0b1544050c307bc2d4a976c1350e9db", "sha256": "6e6a5e539c0374f8c26ae9022d8a6503ce343d5c6b1e10b8d04de4ccebaa0d69" }, "downloads": -1, "filename": "Python_Bash_Utils-0.1.2-py2.7.egg", "has_sig": false, "md5_digest": "f0b1544050c307bc2d4a976c1350e9db", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4733, "upload_time": "2015-06-11T15:55:11", "url": "https://files.pythonhosted.org/packages/cb/58/d0625bc7e16bcc4d4931d51196d4a0ec892a26d7a843c0a077e39480d654/Python_Bash_Utils-0.1.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "20734a5009bbcb5df0fecf83898ebf31", "sha256": "b91613519d903a43ca35277cf130c377d539287a24549c937e68fcd1c7edb491" }, "downloads": -1, "filename": "Python_Bash_Utils-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "20734a5009bbcb5df0fecf83898ebf31", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7186, "upload_time": "2015-06-11T15:55:08", "url": "https://files.pythonhosted.org/packages/f7/5f/9dcf0c5976cc1c306de986e387fa3688927617c78631583767bbc987bb34/Python_Bash_Utils-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0da761294355163549fe730aeb601023", "sha256": "cd5ef0eb77ca585ab7765593ce727ed1623acd991d7cd7c144001305885d3db5" }, "downloads": -1, "filename": "Python-Bash-Utils-0.1.2.tar.gz", "has_sig": false, "md5_digest": "0da761294355163549fe730aeb601023", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5547, "upload_time": "2015-06-11T15:55:04", "url": "https://files.pythonhosted.org/packages/08/dc/631920b48c6aece8864dd0be0ac291b9fdfa0c912ed95689ea078ce81240/Python-Bash-Utils-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "3a82328a68acdee0ccc1dac4e82f436e", "sha256": "e0cc876b038da43a7c5e27aa3a7e8ac2bdb738fc500684d7f933650e3aacbbe0" }, "downloads": -1, "filename": "Python_Bash_Utils-0.1.3-py2.7.egg", "has_sig": false, "md5_digest": "3a82328a68acdee0ccc1dac4e82f436e", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5665, "upload_time": "2015-06-16T14:51:25", "url": "https://files.pythonhosted.org/packages/fb/9e/7d1065655adb27414a2353759a5cb950a9061737f01ba0b7a38d899a45b0/Python_Bash_Utils-0.1.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "b81bf2efe946c149848a967cf406efd4", "sha256": "2a4e7b281f9e7933774a94e7d818ab2ac17913d41d5f7d3c69768b1cc54668cf" }, "downloads": -1, "filename": "Python_Bash_Utils-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b81bf2efe946c149848a967cf406efd4", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8021, "upload_time": "2015-06-16T14:51:21", "url": "https://files.pythonhosted.org/packages/3d/e1/d8e91ede5f57fb6363d8078ddfd6303fcf95ba11503774927de6f5721a84/Python_Bash_Utils-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "275b5d2456657dd7e4f2ede2632dfebd", "sha256": "4835ed3da4897a4886748a3741dcede29e76e808b60bce472c8613f78fc684be" }, "downloads": -1, "filename": "Python-Bash-Utils-0.1.3.tar.gz", "has_sig": false, "md5_digest": "275b5d2456657dd7e4f2ede2632dfebd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5325, "upload_time": "2015-06-16T14:51:17", "url": "https://files.pythonhosted.org/packages/00/a6/959b09457e2e6ab6aa853b66a4c0a98f35d48da3af2aadf0894d640fab03/Python-Bash-Utils-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "fe9a3cef6193310e9573f0c46ef25ee2", "sha256": "f450d8a33feced1b4bfdabc438332539896e46f5a0a96700bac682a2281ef2b2" }, "downloads": -1, "filename": "Python_Bash_Utils-0.1.4-py2.7.egg", "has_sig": false, "md5_digest": "fe9a3cef6193310e9573f0c46ef25ee2", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5785, "upload_time": "2015-06-24T15:21:32", "url": "https://files.pythonhosted.org/packages/b8/d4/6977ab9e261d3b340c1d5f1c86d5ef274a212d071edb4c11a8061e474f0d/Python_Bash_Utils-0.1.4-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "f57328af8007cb07de5b2ba31180b9a9", "sha256": "86577114d8316ef675adc8bd6f19ad4cb6e553eaac46ad8285841e91f9edf754" }, "downloads": -1, "filename": "Python_Bash_Utils-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f57328af8007cb07de5b2ba31180b9a9", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8142, "upload_time": "2015-06-24T15:21:29", "url": "https://files.pythonhosted.org/packages/23/f7/c7deffad61d9fd94c75bd5f11cc445528fdbdf4e48b2e5d5a437dde67958/Python_Bash_Utils-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d88c6f9df315b1e61be1298202d1a626", "sha256": "dd176c806115f185089e9df5faf0904f6b344513bd536485a342fda71ba6fefd" }, "downloads": -1, "filename": "Python-Bash-Utils-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d88c6f9df315b1e61be1298202d1a626", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5454, "upload_time": "2015-06-24T15:21:25", "url": "https://files.pythonhosted.org/packages/86/14/f2b8906b98043fbb12c34e0efff0d9bd2d5e975d29cabae07f957ad8d07f/Python-Bash-Utils-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "18155a02aa5862f8a0584aae6be74e74", "sha256": "7c048ae1ddb9300e265e8636110102407e744e155162086fec42e03b8678901f" }, "downloads": -1, "filename": "Python_Bash_Utils-0.1.5-py2.7.egg", "has_sig": false, "md5_digest": "18155a02aa5862f8a0584aae6be74e74", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5875, "upload_time": "2015-06-25T17:19:16", "url": "https://files.pythonhosted.org/packages/6f/04/3bdd9e8a73103857cdee4a6b2372c483928e79e58246bbccf85e721faff0/Python_Bash_Utils-0.1.5-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "aa6d5eae8ada9743ec92ce6539ef35e3", "sha256": "4542e0292ada887c5cf3e1d3789ec574d9543b461783413cf94e80b14e0ff913" }, "downloads": -1, "filename": "Python_Bash_Utils-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "aa6d5eae8ada9743ec92ce6539ef35e3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8229, "upload_time": "2015-06-25T17:19:12", "url": "https://files.pythonhosted.org/packages/e4/54/64d7de00c868987644eadeb8098ad870e73451fa7a3a60cf902532ac90c0/Python_Bash_Utils-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7f79022f3101d1fd65edbd03aaf73d8e", "sha256": "be1e68071252b3154d3de486f5ed9331bf93c028aca0b756306650287eaebf35" }, "downloads": -1, "filename": "Python-Bash-Utils-0.1.5.tar.gz", "has_sig": false, "md5_digest": "7f79022f3101d1fd65edbd03aaf73d8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5524, "upload_time": "2015-06-25T17:19:08", "url": "https://files.pythonhosted.org/packages/47/c3/84375d79fc242d2c248b9fb8b1bb5c4e7f67e49ba046a9aba3bbb23356ee/Python-Bash-Utils-0.1.5.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "1f93c765b850fa63175ecf805adac949", "sha256": "537504bea0fbe4ed56016fbd324c3983b35a2561a740c2eba74f39680c955cef" }, "downloads": -1, "filename": "Python_Bash_Utils-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1f93c765b850fa63175ecf805adac949", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8730, "upload_time": "2017-12-26T18:18:22", "url": "https://files.pythonhosted.org/packages/3d/6b/698e738c401a365ba73c19242bf5f9963d96037c33534365dd5b8c7538ff/Python_Bash_Utils-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7f85e385192b7fcac38435fd1708a989", "sha256": "2d3f347946552a91a89471142b08d1851d55c8ef27271f6084a96d59f5993189" }, "downloads": -1, "filename": "Python-Bash-Utils-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7f85e385192b7fcac38435fd1708a989", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5804, "upload_time": "2017-12-26T18:18:23", "url": "https://files.pythonhosted.org/packages/09/15/90ebdb93d2d47c99150366e5af6bd977aa8a97c32e7ea1bb42d5e5442e2c/Python-Bash-Utils-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "9b76e22329cbe450ae89570d2bd97808", "sha256": "c357bea87023c4e8242af2c09d66743bc577fc0f6a1e76a6c51e0de376b976d7" }, "downloads": -1, "filename": "python_bash_utils-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9b76e22329cbe450ae89570d2bd97808", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7617, "upload_time": "2017-12-27T19:25:24", "url": "https://files.pythonhosted.org/packages/aa/c4/ce1c1da02ada63c579d03c6ca664e6dfb9db8ee4e6e62a89ba9728b350b9/python_bash_utils-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4d3d28329a8eb6627da43b3b3424303b", "sha256": "720500291fe7c33b1360f548290c081a0ae10fb23a7762c58d9a129c2f64b444" }, "downloads": -1, "filename": "python-bash-utils-0.3.0.tar.gz", "has_sig": false, "md5_digest": "4d3d28329a8eb6627da43b3b3424303b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4533, "upload_time": "2017-12-27T19:25:26", "url": "https://files.pythonhosted.org/packages/bd/d2/20274cdd3e89775a6c95fb25e6bfc47198977c6ebe63fc2c259025aab723/python-bash-utils-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "092a5f7ee772c424a8deeb79b14ac0f7", "sha256": "e3da8a4fb7bd702d311bdcb8faf397893c45b7a37f15e1842393325432d700b9" }, "downloads": -1, "filename": "python_bash_utils-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "092a5f7ee772c424a8deeb79b14ac0f7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4705, "upload_time": "2018-04-12T23:55:55", "url": "https://files.pythonhosted.org/packages/bb/89/ebfcfc8a52b289c7ce8bd47c53bc79f1c9fb86bbde74b7a147d218031c03/python_bash_utils-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b208f4c7fc931b217563def730528360", "sha256": "a9297afaeb903edf260b8855ec6ab091fae955bb6927feffd7e9240e3f19edca" }, "downloads": -1, "filename": "python-bash-utils-0.3.1.tar.gz", "has_sig": false, "md5_digest": "b208f4c7fc931b217563def730528360", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4861, "upload_time": "2018-04-12T23:55:56", "url": "https://files.pythonhosted.org/packages/28/a8/a92a42c4a89b0c6b00068a0cb048a44cc9cb93daeebca7bdb85c90388e50/python-bash-utils-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "afd628a90b2588d6b2b0feaeb646e8d8", "sha256": "d09b9ab0709263afce1c020d3f88ade260d7ffa0c9718cf51a47cfff7f795b8a" }, "downloads": -1, "filename": "python_bash_utils-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "afd628a90b2588d6b2b0feaeb646e8d8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4615, "upload_time": "2018-04-26T18:32:36", "url": "https://files.pythonhosted.org/packages/b9/bb/7f9e2dd5e53a634030047724eb0926e398994a1236a0b0a61253a8e86e50/python_bash_utils-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bdfb14620d0761c1ef45749bc31536ab", "sha256": "34c7d44fc9293fde30e0d2b231e1fdecea8f93b4f54b37df2ea6a0ddabbc69c6" }, "downloads": -1, "filename": "python-bash-utils-0.3.2.tar.gz", "has_sig": false, "md5_digest": "bdfb14620d0761c1ef45749bc31536ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4720, "upload_time": "2018-04-26T18:32:37", "url": "https://files.pythonhosted.org/packages/8c/71/033d81df6c14dff0102200900e0ecd492503c7a665e9b31fb96285a6a4cd/python-bash-utils-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "afd628a90b2588d6b2b0feaeb646e8d8", "sha256": "d09b9ab0709263afce1c020d3f88ade260d7ffa0c9718cf51a47cfff7f795b8a" }, "downloads": -1, "filename": "python_bash_utils-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "afd628a90b2588d6b2b0feaeb646e8d8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4615, "upload_time": "2018-04-26T18:32:36", "url": "https://files.pythonhosted.org/packages/b9/bb/7f9e2dd5e53a634030047724eb0926e398994a1236a0b0a61253a8e86e50/python_bash_utils-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bdfb14620d0761c1ef45749bc31536ab", "sha256": "34c7d44fc9293fde30e0d2b231e1fdecea8f93b4f54b37df2ea6a0ddabbc69c6" }, "downloads": -1, "filename": "python-bash-utils-0.3.2.tar.gz", "has_sig": false, "md5_digest": "bdfb14620d0761c1ef45749bc31536ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4720, "upload_time": "2018-04-26T18:32:37", "url": "https://files.pythonhosted.org/packages/8c/71/033d81df6c14dff0102200900e0ecd492503c7a665e9b31fb96285a6a4cd/python-bash-utils-0.3.2.tar.gz" } ] }