{ "info": { "author": "zhengxiaowai", "author_email": "h1x2y3awalm@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: Microsoft", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: System", "Topic :: Utilities" ], "description": "tcping\n======\n\n\u4e00\u4e2a\u7c7b\u4f3c\u4e8e ping \u7684\u7cfb\u7edf\u5de5\u5177\uff0c \u68c0\u6d4b\u5728\u8fde\u63a5 tcp \u65f6\u5019\u7684\u5ef6\u8fdf\uff0c\n\u6bd4\u8f83\u6b63\u786e\u662f\u53cd\u5e94\u51fa\u7f51\u7edc\u7684\u5ef6\u8fdf\u60c5\u51b5\uff0c\u6bd5\u7adf tcp \u7528\u9014\u6bd4\u8f83\u5e7f\u3002\n\n\u867d\u7136\u548c icmp \u7684 ping \u539f\u7406\u4e0d\u540c\uff0cping \u547d\u4ee4\u4e5f\u80fd\u5f88\u5927\u7a0b\u5ea6\u4e0a\u53cd\u6620\u51fa\u7f51\u7edc\u7684\u5ef6\u8fdf\uff0c\n\u4f46\u662f\u8be5\u77eb\u60c5\u8fd8\u662f\u8981\u77eb\u60c5\u4e00\u628a\u7684\u3002\n\nUsage\n-----\n\n::\n\n pip install tcping\n\n::\n\n \u279c ~ tcping api.github.com\n Connected to api.github.com[:80]: seq=1 time=236.44 ms\n Connected to api.github.com[:80]: seq=2 time=237.99 ms\n Connected to api.github.com[:80]: seq=3 time=248.88 ms\n Connected to api.github.com[:80]: seq=4 time=233.51 ms\n Connected to api.github.com[:80]: seq=5 time=249.23 ms\n Connected to api.github.com[:80]: seq=6 time=249.77 ms\n Connected to api.github.com[:80]: seq=7 time=235.82 ms\n Connected to api.github.com[:80]: seq=8 time=242.30 ms\n Connected to api.github.com[:80]: seq=9 time=248.26 ms\n Connected to api.github.com[:80]: seq=10 time=251.77 ms\n\n --- api.github.com[:80] tcping statistics ---\n 10 connections, 10 successed, 0 failed, 100.00% success rate\n minimum = 233.51ms, maximum = 251.77ms, average = 243.40ms\n\n\u5475\u5475\uff0cGFW\uff0c66666\n\n::\n\n \u279c ~ tcping --help\n Usage: tcping [OPTIONS] HOST\n\n Options:\n -p, --port INTEGER Tcp port\n -c, --count INTEGER Try connections counts\n -t, --timeout FLOAT Timeout seconds\n --report / --no-report Show report to replace statistics\n --help \n\n\u5176\u4e2d\u8fd9\u4e2a ``--report`` \u53ef\u4ee5\u751f\u6210\u4e00\u4e2a ascii \u7684 table\uff0c\u597d\u770b\u4e00\u70b9\u5427\u3002\u3002\u3002\n\n::\n\n \u279c ~ tcping api.github.com -c 3 --report\n Connected to api.github.com[:80]: seq=1 time=237.79 ms\n Connected to api.github.com[:80]: seq=2 time=237.72 ms\n Connected to api.github.com[:80]: seq=3 time=258.53 ms\n\n +----------------+------+-----------+--------+--------------+----------+----------+----------+\n | Host | Port | Successed | Failed | Success Rate | Minimum | Maximum | Average |\n +----------------+------+-----------+--------+--------------+----------+----------+----------+\n | api.github.com | 80 | 3 | 0 | 100.00% | 237.72ms | 258.53ms | 244.68ms |\n +----------------+------+-----------+--------+--------------+----------+----------+----------+\n\nEND\n---\n\n\u5176\u5b9e\u5199\u8fd9\u4e2a\u4e3b\u8981\u662f\u4e3a\u4e86\u6d4b\u8bd5\u642d\u5efa\u7ffb\u5899 VPS \u7684 tcp \u5ef6\u8fdf\u3002\u3002\u3002\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kontspace/tcping", "keywords": "python tcp ping", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "tcping", "package_url": "https://pypi.org/project/tcping/", "platform": "", "project_url": "https://pypi.org/project/tcping/", "project_urls": { "Homepage": "https://github.com/kontspace/tcping" }, "release_url": "https://pypi.org/project/tcping/0.1.1rc1/", "requires_dist": [ "click", "prettytable", "six" ], "requires_python": "", "summary": "command line for tcp ping", "version": "0.1.1rc1" }, "last_serial": 2798534, "releases": { "0.1.0rc1": [ { "comment_text": "", "digests": { "md5": "3a6dde00e0b1b2a57f856b44e9d5d209", "sha256": "ae095a3bf5c97cb2c69ba4ad0f8ead61ee254ee9a2d4ef9fc6b76dc9e5e5a6c4" }, "downloads": -1, "filename": "tcping-0.1.0rc1-py2-none-any.whl", "has_sig": false, "md5_digest": "3a6dde00e0b1b2a57f856b44e9d5d209", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6329, "upload_time": "2017-03-14T10:50:38", "url": "https://files.pythonhosted.org/packages/a2/b8/64fbf488e633beb3c84373606e2a0930ee2cd16c3c8ea2994d04c9cc9d26/tcping-0.1.0rc1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e3aea335e8c9e4a3c8e747f39a30e9fe", "sha256": "b38e331f8081fb2defb7d0938f19cf99d715c10384f705042b1580fdb951dc6f" }, "downloads": -1, "filename": "tcping-0.1.0rc1.tar.gz", "has_sig": false, "md5_digest": "e3aea335e8c9e4a3c8e747f39a30e9fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3989, "upload_time": "2017-03-14T10:50:40", "url": "https://files.pythonhosted.org/packages/ea/7d/713166f7ae885c5207c0955411b75b3c76c56d410569f54def2fb528ae13/tcping-0.1.0rc1.tar.gz" } ], "0.1.1rc1": [ { "comment_text": "", "digests": { "md5": "e6122b47476462abc80d786f1ef729ea", "sha256": "10843d60e2c3abbdf1b4aed0d1133c25d7bc15310d61fd8a0dbd91236d646c29" }, "downloads": -1, "filename": "tcping-0.1.1rc1-py2.7.egg", "has_sig": false, "md5_digest": "e6122b47476462abc80d786f1ef729ea", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 9437, "upload_time": "2017-04-12T10:26:11", "url": "https://files.pythonhosted.org/packages/6c/b2/dff5772613436c3aaaf2d2b1f02387b9b9c7b43ae0831c12fbfe8eaeacc5/tcping-0.1.1rc1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "3a2c5e329cfa03051337212459a8c89b", "sha256": "48ad03a463cf6d963454d45c199843dc0ad4fb0cd0dde6ab648e35364cbfe34a" }, "downloads": -1, "filename": "tcping-0.1.1rc1-py2-none-any.whl", "has_sig": false, "md5_digest": "3a2c5e329cfa03051337212459a8c89b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8255, "upload_time": "2017-04-12T10:26:09", "url": "https://files.pythonhosted.org/packages/b3/f8/d90058c75b09e28260d9b6cb22c25507dea0733df288394fa10f2d8eb20c/tcping-0.1.1rc1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "263633dece556e1fcc064a9a9d5eb52e", "sha256": "557d5e928601e5a31e55abe20c6b9fff18bdc74a1e1d620d6b28b2f7c7a26606" }, "downloads": -1, "filename": "tcping-0.1.1rc1.tar.gz", "has_sig": false, "md5_digest": "263633dece556e1fcc064a9a9d5eb52e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4085, "upload_time": "2017-04-12T10:26:14", "url": "https://files.pythonhosted.org/packages/2a/a1/7e8ac7d81a1a89b1cdb8200fee2c0779410a63743806213cb9289ab6ee94/tcping-0.1.1rc1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e6122b47476462abc80d786f1ef729ea", "sha256": "10843d60e2c3abbdf1b4aed0d1133c25d7bc15310d61fd8a0dbd91236d646c29" }, "downloads": -1, "filename": "tcping-0.1.1rc1-py2.7.egg", "has_sig": false, "md5_digest": "e6122b47476462abc80d786f1ef729ea", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 9437, "upload_time": "2017-04-12T10:26:11", "url": "https://files.pythonhosted.org/packages/6c/b2/dff5772613436c3aaaf2d2b1f02387b9b9c7b43ae0831c12fbfe8eaeacc5/tcping-0.1.1rc1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "3a2c5e329cfa03051337212459a8c89b", "sha256": "48ad03a463cf6d963454d45c199843dc0ad4fb0cd0dde6ab648e35364cbfe34a" }, "downloads": -1, "filename": "tcping-0.1.1rc1-py2-none-any.whl", "has_sig": false, "md5_digest": "3a2c5e329cfa03051337212459a8c89b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8255, "upload_time": "2017-04-12T10:26:09", "url": "https://files.pythonhosted.org/packages/b3/f8/d90058c75b09e28260d9b6cb22c25507dea0733df288394fa10f2d8eb20c/tcping-0.1.1rc1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "263633dece556e1fcc064a9a9d5eb52e", "sha256": "557d5e928601e5a31e55abe20c6b9fff18bdc74a1e1d620d6b28b2f7c7a26606" }, "downloads": -1, "filename": "tcping-0.1.1rc1.tar.gz", "has_sig": false, "md5_digest": "263633dece556e1fcc064a9a9d5eb52e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4085, "upload_time": "2017-04-12T10:26:14", "url": "https://files.pythonhosted.org/packages/2a/a1/7e8ac7d81a1a89b1cdb8200fee2c0779410a63743806213cb9289ab6ee94/tcping-0.1.1rc1.tar.gz" } ] }