{ "info": { "author": "Vladislav Yarmak", "author_email": "vladislav-ex-src@vm-0.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: Microsoft :: Windows", "Operating System :: Microsoft :: Windows :: Windows 10", "Operating System :: Microsoft :: Windows :: Windows 7", "Operating System :: Microsoft :: Windows :: Windows 8", "Operating System :: Microsoft :: Windows :: Windows 8.1", "Operating System :: Microsoft :: Windows :: Windows Server 2003", "Operating System :: Microsoft :: Windows :: Windows Server 2008", "Operating System :: Microsoft :: Windows :: Windows Vista", "Operating System :: Microsoft :: Windows :: Windows XP", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet", "Topic :: Software Development :: Libraries", "Topic :: System :: Networking", "Topic :: Utilities" ], "description": "winping\n=======\n\nPing implementation which utilizes Windows ICMP API\n\n## Installation\n\nStandard Python package installation.\n\n## Usage\n\n### Utility\n\n#### Synopsis\n\n```\nC:\\>winping --help\nusage: winping [-h] [-w TIMEOUT] [-l SIZE] [-t | -n COUNT] [-4 | -6] address\n\nPing implementation which utilizes Windows ICMP API\n\npositional arguments:\n address specifies the host name or IP address of the destination\n\noptional arguments:\n -h, --help show this help message and exit\n -w TIMEOUT timeout in milliseconds to wait for each reply (default: 1000)\n -l SIZE number of data bytes to be sent (default: 32)\n -t ping the specified host until stopped (default: False)\n -n COUNT number of echo requests to send (default: 4)\n -4 force using IPv4 (default: False)\n -6 force using IPv6 (default: False)\n\n```\n\n#### Example\n\n```\nC:\\>winping google.com\n\nPinging google.com [172.217.20.206] with 32 bytes of data:\nReply from 172.217.20.206: bytes=32 time=29ms TTL=57\nReply from 172.217.20.206: bytes=32 time=25ms TTL=57\nReply from 172.217.20.206: bytes=32 time=24ms TTL=57\nReply from 172.217.20.206: bytes=32 time=25ms TTL=57\n\nPing statistics for 172.217.20.206:\n Packets: Sent = 4, Received = 4, Lost = 0 (0.00% loss),\nApproximate round trip times in milli-seconds:\n Minimum = 24ms, Maximum = 29ms, Average = 26ms\n\nC:\\>winping -6 google.com\n\nPinging google.com [2a00:1450:401b:804::200e] with 32 bytes of data:\nReply from 2a00:1450:401b:804::200e: time=79ms\nReply from 2a00:1450:401b:804::200e: time=77ms\nReply from 2a00:1450:401b:804::200e: time=76ms\nReply from 2a00:1450:401b:804::200e: time=75ms\n\nPing statistics for 2a00:1450:401b:804::200e:\n Packets: Sent = 4, Received = 4, Lost = 0 (0.00% loss),\nApproximate round trip times in milli-seconds:\n Minimum = 75ms, Maximum = 79ms, Average = 77ms\n\n```\n\nAlso, if python scripts are not in your system path, you may run it like this: `python -m winping`\n\n### Library\n\n```python3\nimport winping\nwith winping.IcmpHandle() as h:\n resp = winping.ping(h, '8.8.8.8')\nprint(resp[0].RoundTripTime)\nwith winping.Icmp6Handle() as h:\n resp = winping.ping6(h, '2a00:1450:401b:804::200e')\nprint(resp[0].RoundTripTime)\n```\n\nFor example of working ping utility see [winping/\\_\\_main\\_\\_.py](winping/__main__.py).\n\n## Limitations\n\n* Works only on Windows XP / Windows Server 2003 and newer.\n* No asyncio support at this moment, but you may run ping in thread executor.\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://github.com/Snawoot/winping", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "winping", "package_url": "https://pypi.org/project/winping/", "platform": "", "project_url": "https://pypi.org/project/winping/", "project_urls": { "Homepage": "https://github.com/Snawoot/winping" }, "release_url": "https://pypi.org/project/winping/0.2.3/", "requires_dist": null, "requires_python": ">=3.5.3", "summary": "Ping implementation which utilizes Windows ICMP API", "version": "0.2.3" }, "last_serial": 4970537, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "bddbe0ac42e62ce167386c4a7c815a0f", "sha256": "df06df960ce90519b49c570c75c84ccc97ebfbc25a282c0714b7f6418af33a10" }, "downloads": -1, "filename": "winping-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "bddbe0ac42e62ce167386c4a7c815a0f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 6953, "upload_time": "2019-03-20T10:40:52", "url": "https://files.pythonhosted.org/packages/d7/af/0f4873584c5f0feaeacf2e650cfaf61cda56e1a5b8f449ebc089789c4f04/winping-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4cf3f20052cbab7d467a02e55d342eef", "sha256": "91c457c148a80fa2529c128e539a139a779db26e6b177dc71fed9d253c7e17df" }, "downloads": -1, "filename": "winping-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4cf3f20052cbab7d467a02e55d342eef", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 5200, "upload_time": "2019-03-20T10:40:55", "url": "https://files.pythonhosted.org/packages/e8/07/32cbd5c60c9f8f9b8899b8d2f95060dceab07b1cf7bf63d1f115e0df79eb/winping-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d79d80bf923053f123aab1e3e6fe6e22", "sha256": "926a0a995872a85d34bfe3acc68da1bf082ed72ed0e8d372e9f1e76edae2ae75" }, "downloads": -1, "filename": "winping-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d79d80bf923053f123aab1e3e6fe6e22", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 7992, "upload_time": "2019-03-21T21:50:38", "url": "https://files.pythonhosted.org/packages/fa/30/b370aa3a0e917523c32242aa424a32b6a84063a99eb804417ceb0fbd02b3/winping-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f8d198b2303120b7f6731978872f8c70", "sha256": "d5cac37eb4f7615f496b59cfb45f4f005491a429b8d2a1868add7fcf653d5dac" }, "downloads": -1, "filename": "winping-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f8d198b2303120b7f6731978872f8c70", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 6781, "upload_time": "2019-03-21T21:50:39", "url": "https://files.pythonhosted.org/packages/5c/fd/917088e4ec06997fabf29a2d567bdf0f00d11d222c4beee2b6472e93be90/winping-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "89e30762b0fddf6ecf3a23e237469fff", "sha256": "5a9cd353e5957a2ee03458fcf52979e52b82daf5c07b5858294956ee362f967c" }, "downloads": -1, "filename": "winping-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "89e30762b0fddf6ecf3a23e237469fff", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 7991, "upload_time": "2019-03-21T23:46:03", "url": "https://files.pythonhosted.org/packages/3a/66/75ccd9cb171756aa2c2c9712d2b252c1b8b12efe4c45ea21a93064372779/winping-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c004f3e0f7681f8a0a310a42d68fd143", "sha256": "c69e58cbc9642031ef1fd75356e91f3eef78d664a79289de208d0e19cb0ef544" }, "downloads": -1, "filename": "winping-0.2.1.tar.gz", "has_sig": false, "md5_digest": "c004f3e0f7681f8a0a310a42d68fd143", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 6793, "upload_time": "2019-03-21T23:46:04", "url": "https://files.pythonhosted.org/packages/68/2d/6186ece4e83d3356dda3f7e9fac43317e76b0be095400284e9b0e141daa9/winping-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "314feedde940eb3a3085909f922b4974", "sha256": "a8d58fc29e9da2d1808b53d04a5732ec4ec445ec74c44d1f644b8f69dfc80a3d" }, "downloads": -1, "filename": "winping-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "314feedde940eb3a3085909f922b4974", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 8003, "upload_time": "2019-03-21T23:49:59", "url": "https://files.pythonhosted.org/packages/d1/e3/2032ac93cb9b6be42a92f4f0e1baf696019075e46e3962103970cbac79e1/winping-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d0348d67d9fbe430e94b73cfc50b6318", "sha256": "fd9f7c3f32285d878c623df139890200816f91a1cbba561ee8161733d43da338" }, "downloads": -1, "filename": "winping-0.2.2.tar.gz", "has_sig": false, "md5_digest": "d0348d67d9fbe430e94b73cfc50b6318", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 6807, "upload_time": "2019-03-21T23:50:01", "url": "https://files.pythonhosted.org/packages/e5/7a/96d4d417659676eb3805159cadb0d02de300bb7c0068c20799fa9530cc10/winping-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "bff1164e3196ba66c560d713b098b907", "sha256": "f3f358cf20ddecb774a482dbe57cd3794f403c2d16035d110124537e0aed3c7d" }, "downloads": -1, "filename": "winping-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "bff1164e3196ba66c560d713b098b907", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 8014, "upload_time": "2019-03-21T23:57:31", "url": "https://files.pythonhosted.org/packages/8a/77/8e8e27abb319fda906a6c02619c8719309552054664d5aaba5b45bf06773/winping-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c2098721660ef3cd498931f611e69d12", "sha256": "04f434a16c9a2306882de63ebf46ab2eee5128579a6861bdf1a03b10d18c6bc8" }, "downloads": -1, "filename": "winping-0.2.3.tar.gz", "has_sig": false, "md5_digest": "c2098721660ef3cd498931f611e69d12", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 6806, "upload_time": "2019-03-21T23:57:33", "url": "https://files.pythonhosted.org/packages/5c/8c/5865532358258a939e540a1985054dac67ce053e1cb324882f31b0738e96/winping-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bff1164e3196ba66c560d713b098b907", "sha256": "f3f358cf20ddecb774a482dbe57cd3794f403c2d16035d110124537e0aed3c7d" }, "downloads": -1, "filename": "winping-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "bff1164e3196ba66c560d713b098b907", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 8014, "upload_time": "2019-03-21T23:57:31", "url": "https://files.pythonhosted.org/packages/8a/77/8e8e27abb319fda906a6c02619c8719309552054664d5aaba5b45bf06773/winping-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c2098721660ef3cd498931f611e69d12", "sha256": "04f434a16c9a2306882de63ebf46ab2eee5128579a6861bdf1a03b10d18c6bc8" }, "downloads": -1, "filename": "winping-0.2.3.tar.gz", "has_sig": false, "md5_digest": "c2098721660ef3cd498931f611e69d12", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 6806, "upload_time": "2019-03-21T23:57:33", "url": "https://files.pythonhosted.org/packages/5c/8c/5865532358258a939e540a1985054dac67ce053e1cb324882f31b0738e96/winping-0.2.3.tar.gz" } ] }