{ "info": { "author": "Thiago Moraes", "author_email": "tmoraes@fb.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# WhatsApp Business API Setup Debugger\n\nUser Guide: https://developers.facebook.com/docs/whatsapp/guides/wadebug\n\nWADebug is a command-line tool to help find any potential issues with WhatsApp\nBusiness API setup, and to make requesting for help from WhatsApp support more effective.\n\nTo run, simply type `wadebug` on command-ine and check the diagnostic.\nIt will guide on some problems and provide guidance if you need additional\nsupport.\n\n# Usage\n\nTo execute all actions:\n `$ wadebug`\n\nTo execute one specific action\n `$ wadebug partial check_network`\n\n# Installation\n\n## For users:\n`$ pip3 install wadebug`\n\n## For developers:\n\nThis tool uses `tox` to test both Python 2.7 and 3.6. `tox` will create\nvirtual environments to run tests for both. Install tox on your system's Python.\nAll other dependencies with go into virtualenvs.\n\n1. Install tox on your system using pip `pip install tox`, you may need to run the command in `sudo`\n2. After installing tox, run `tox` in the root directory. Tests should run and pass.\n3. Run `source .tox/py3/bin/activate` to enable one of the virtualenvs. Dependencies will be installed automatically.\n4. Run `pip install --editable .` to enable `wadebug` in all directories that would reflect your changes.\n5. Run `wadebug` with environment variable `WADEBUG_DEV_MODE=True` to enable full stacktrace. The variable is set to False by default.\n\n\n# Testing\n\nTo execute all unit tests, from project's root folder directory run:\n```\n$ tox\n```\nWarning: do NOT run `tox` from a virtualenv as it will fail.\n\n`tox` will run tests in Python 2 and 3.\n\nTo run tests in Python 3 for faster feedback, run either `$ pytest` from within the virtualenv or `$ tox -epy3` out of it.\n\nTo run tests in a particular module:\n ```source .tox/py3/bin/activate # to enable virtualenv on Bash\n $ pytest wadebug/wa_actions/tests/test_check_webapp_port.py -v```\n\n(`-v` turns on verbose mode, which shows every test case in the module)\n\n\n# Dependencies\n\n* This tool uses https://docker-py.readthedocs.io for interacting with Docker\n* It uses `click` to build the command-line interface\n\nMore details can be found at `setup.py` file.\n\n# Architecture\nThe module `wa_actions.implementations` is the heart of the tool. Each action\nis a Python class with one static method called `_run`. This method describes the\naction to perform.\n\nThe idea is that a developer can implement a new `action` to investigate a\npotential problem with the deployment without knowing anything about `wadebug` architecture.\n\nThree sample actions can be seem on `wadebug/wa_actions/implementations/dummy_action.py` to understand how they are created.\nOn `wadebug/wa_actions/implementations/check_webapp_port.py` the implementation of a real action can be found.\n\n## License\n\nWADebug is [MIT licensed](./LICENSE).\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://developers.facebook.com/docs/whatsapp/guides/wadebug", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wadebug", "package_url": "https://pypi.org/project/wadebug/", "platform": "any", "project_url": "https://pypi.org/project/wadebug/", "project_urls": { "Homepage": "https://developers.facebook.com/docs/whatsapp/guides/wadebug" }, "release_url": "https://pypi.org/project/wadebug/0.1.4/", "requires_dist": [ "click", "docker", "outdated", "pydash", "PyMySQL", "pytest", "pytest-cov", "PyYAML", "six", "mock", "enum34 ; python_version < \"3.4\"" ], "requires_python": "", "summary": "Investigate issues with WhatsApp Business API setup.", "version": "0.1.4" }, "last_serial": 5774554, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f585234af78bdea35d139aa77b374590", "sha256": "e44229f2f6b94b8f6fa0fd89aca3fce20e86b9dbfbdc8913e03a0b085e8d8f01" }, "downloads": -1, "filename": "wadebug-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f585234af78bdea35d139aa77b374590", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 38235, "upload_time": "2018-10-23T03:17:29", "url": "https://files.pythonhosted.org/packages/aa/ec/e050f55e4f80b937db3d6ebaac5e6a21f18ef0a75a35c06d56ed5d20b61f/wadebug-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "69aa0c32c68a07c04bd7818c7c00fe88", "sha256": "a4e109af92a73929e97301c3e8e3e62f6982375381b16b3856b25479473a7ab7" }, "downloads": -1, "filename": "wadebug-0.1.0.tar.gz", "has_sig": false, "md5_digest": "69aa0c32c68a07c04bd7818c7c00fe88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20492, "upload_time": "2018-10-23T03:17:30", "url": "https://files.pythonhosted.org/packages/74/fd/917437652897274ec9ceb002206c5b9b3fac6ad4d3965fab62edacd1d2b2/wadebug-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "295b7754c24e82cc7d63f8642be4f064", "sha256": "490508c2fd2203c7397f9569133d234283b0a5abcacb417aa66ef255e4f6afda" }, "downloads": -1, "filename": "wadebug-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "295b7754c24e82cc7d63f8642be4f064", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 39773, "upload_time": "2018-10-23T17:02:45", "url": "https://files.pythonhosted.org/packages/bf/08/0060cafb9ac843dc8fbe7c08db79044a6234f4d0bb4a62cb9a288291060a/wadebug-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dac8b533169d312a0d6d47cce1eb9e29", "sha256": "f64591874f2251d8d5bfefd8438798cf2abc392887166715431cc847ae63b5f5" }, "downloads": -1, "filename": "wadebug-0.1.1.tar.gz", "has_sig": false, "md5_digest": "dac8b533169d312a0d6d47cce1eb9e29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22146, "upload_time": "2018-10-23T17:02:46", "url": "https://files.pythonhosted.org/packages/a4/3a/f4ab1b9776016e54651b886f061d7fa3246bd2e2c473a5b23ec031ab2cc5/wadebug-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "94a9c957ae0b15708a7b82e89fb5de79", "sha256": "3f7e2f781dca3bf4925a004b0108ac5e169c57b7e93c60135e36227b27928964" }, "downloads": -1, "filename": "wadebug-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "94a9c957ae0b15708a7b82e89fb5de79", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 43892, "upload_time": "2018-12-28T05:19:09", "url": "https://files.pythonhosted.org/packages/eb/90/aaaa61b060ba6c6354a85e3d2a6bff9f7e33fc5eef3c8d1f61b739955919/wadebug-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eb6a82dbf1fd4f3a66cbf9e3271c0127", "sha256": "06da41a029e2492c962e38460cba68766d39610e9e16a93ea6a15c922cac0591" }, "downloads": -1, "filename": "wadebug-0.1.2.tar.gz", "has_sig": false, "md5_digest": "eb6a82dbf1fd4f3a66cbf9e3271c0127", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25261, "upload_time": "2018-12-28T05:19:11", "url": "https://files.pythonhosted.org/packages/7d/3b/7d92e6dd73463ad94e26f45313269e94dd5d67fd777e4c2f210327265435/wadebug-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "e24525f504f7ed3d0a7ca4044d852402", "sha256": "06ee2fd6a876444e80554c1ec3d02f5276e89f564be3d1f72b8829663931ed69" }, "downloads": -1, "filename": "wadebug-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e24525f504f7ed3d0a7ca4044d852402", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 55312, "upload_time": "2019-04-26T03:36:00", "url": "https://files.pythonhosted.org/packages/25/f8/6a24ac3431bbbf0ad2d3ee57a9a973da72f51bd336bf11fc06969d9b191e/wadebug-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3a234c8dd92eae9399805e730974cf27", "sha256": "566e05104b298f7b2b98d5989137eff56f1b53996f3d3752ca1288b02fc68d07" }, "downloads": -1, "filename": "wadebug-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3a234c8dd92eae9399805e730974cf27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32284, "upload_time": "2019-04-26T03:36:03", "url": "https://files.pythonhosted.org/packages/1c/79/619703080970fedf4d9169795543f7427fe9c274c78681db95394ff051ff/wadebug-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "48f3af4f189354617f286e23c5964b06", "sha256": "d28767a8b788c704196ecc7f060254cafe6dfe15c6bd377380d29cd4cda2664f" }, "downloads": -1, "filename": "wadebug-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "48f3af4f189354617f286e23c5964b06", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 59329, "upload_time": "2019-09-03T08:10:18", "url": "https://files.pythonhosted.org/packages/51/d7/01f4913953652dec6f88113ac414adcf5d6e3e7e06aaa58b8d70d355ecf2/wadebug-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "18b875d04e4f90d7f55972b8335234c4", "sha256": "f7a3c0771834419ba3a6f721b90fdc29e0a6746252d2cab79b4a98e6362e07ab" }, "downloads": -1, "filename": "wadebug-0.1.4.tar.gz", "has_sig": false, "md5_digest": "18b875d04e4f90d7f55972b8335234c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33548, "upload_time": "2019-09-03T08:10:20", "url": "https://files.pythonhosted.org/packages/59/4a/83846f305d757a3ff27337cc9335e9c3fe9d96e8584e9ccf4f22f04b1a31/wadebug-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "48f3af4f189354617f286e23c5964b06", "sha256": "d28767a8b788c704196ecc7f060254cafe6dfe15c6bd377380d29cd4cda2664f" }, "downloads": -1, "filename": "wadebug-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "48f3af4f189354617f286e23c5964b06", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 59329, "upload_time": "2019-09-03T08:10:18", "url": "https://files.pythonhosted.org/packages/51/d7/01f4913953652dec6f88113ac414adcf5d6e3e7e06aaa58b8d70d355ecf2/wadebug-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "18b875d04e4f90d7f55972b8335234c4", "sha256": "f7a3c0771834419ba3a6f721b90fdc29e0a6746252d2cab79b4a98e6362e07ab" }, "downloads": -1, "filename": "wadebug-0.1.4.tar.gz", "has_sig": false, "md5_digest": "18b875d04e4f90d7f55972b8335234c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33548, "upload_time": "2019-09-03T08:10:20", "url": "https://files.pythonhosted.org/packages/59/4a/83846f305d757a3ff27337cc9335e9c3fe9d96e8584e9ccf4f22f04b1a31/wadebug-0.1.4.tar.gz" } ] }