2019-07-17T12:33:34 Created temporary directory: /tmp/pip-ephem-wheel-cache-z3lgvqgp 2019-07-17T12:33:34 Created temporary directory: /tmp/pip-req-tracker-9uh7ty3l 2019-07-17T12:33:34 Created requirements tracker '/tmp/pip-req-tracker-9uh7ty3l' 2019-07-17T12:33:34 Created temporary directory: /tmp/pip-wheel-lmgr_fym 2019-07-17T12:33:34 Collecting python3-ping==2014.05.02.805ee25 2019-07-17T12:33:34 1 location(s) to search for versions of python3-ping: 2019-07-17T12:33:34 * https://pypi.org/simple/python3-ping/ 2019-07-17T12:33:34 Getting page https://pypi.org/simple/python3-ping/ 2019-07-17T12:33:34 Analyzing links from page https://pypi.org/simple/python3-ping/ 2019-07-17T12:33:34 Found link https://files.pythonhosted.org/packages/45/3b/b3024e1014b2253f93db3088b23b3e5004cc57dd3eaa9187aa1b8f8c952f/python3-ping-2014.05.01.022aa83.tar.gz#sha256=92f103426d2b60397733f94b29bb34dc52276671f0760d8a2b82013fa248cebf (from https://pypi.org/simple/python3-ping/), version: 2014.05.01.022aa83 2019-07-17T12:33:34 Found link https://files.pythonhosted.org/packages/66/ac/88d5938bc7fd0b3498ef2eabdae99df17e7a4d57297c3ad27727f8baea8e/python3-ping-2014.05.02.805ee25.tar.gz#sha256=615f0c8b4af96cad2651f88812b46376bd9b09a2f520a6c88e448c73984cc3bf (from https://pypi.org/simple/python3-ping/), version: 2014.05.02.805ee25 2019-07-17T12:33:34 Found link https://files.pythonhosted.org/packages/c5/55/4a1d195eb8c10ef0c95274c003e07b51e4419b56d0598441681e4d01cc37/python3-ping-2014.05.02.16245f0.tar.gz#sha256=1e9ffdae20d327bbe47c92e79515c01bda30700ee0ae333b77f97d9c112224ca (from https://pypi.org/simple/python3-ping/), version: 2014.05.02.16245f0 2019-07-17T12:33:34 Using version 2014.05.02.805ee25 (newest of versions: 2014.05.02.805ee25) 2019-07-17T12:33:34 Created temporary directory: /tmp/pip-unpack-q7bxcmhf 2019-07-17T12:33:34 Downloading https://files.pythonhosted.org/packages/66/ac/88d5938bc7fd0b3498ef2eabdae99df17e7a4d57297c3ad27727f8baea8e/python3-ping-2014.05.02.805ee25.tar.gz 2019-07-17T12:33:34 Downloading from URL https://files.pythonhosted.org/packages/66/ac/88d5938bc7fd0b3498ef2eabdae99df17e7a4d57297c3ad27727f8baea8e/python3-ping-2014.05.02.805ee25.tar.gz#sha256=615f0c8b4af96cad2651f88812b46376bd9b09a2f520a6c88e448c73984cc3bf (from https://pypi.org/simple/python3-ping/) 2019-07-17T12:33:34 Added python3-ping==2014.05.02.805ee25 from https://files.pythonhosted.org/packages/66/ac/88d5938bc7fd0b3498ef2eabdae99df17e7a4d57297c3ad27727f8baea8e/python3-ping-2014.05.02.805ee25.tar.gz#sha256=615f0c8b4af96cad2651f88812b46376bd9b09a2f520a6c88e448c73984cc3bf to build tracker '/tmp/pip-req-tracker-9uh7ty3l' 2019-07-17T12:33:34 Running setup.py (path:/tmp/pip-wheel-lmgr_fym/python3-ping/setup.py) egg_info for package python3-ping 2019-07-17T12:33:34 Running command python setup.py egg_info 2019-07-17T12:33:36 ============ 2019-07-17T12:33:36 python3-ping 2019-07-17T12:33:36 ============ 2019-07-17T12:33:36 A pure python ping implementation using raw sockets. 2019-07-17T12:33:36 Note that ICMP messages can only be sent from processes running as root 2019-07-17T12:33:36 (in Windows, you must run this script as 'Administrator'). 2019-07-17T12:33:36 Original Version from `Matthew Dixon Cowles`_ 2019-07-17T12:33:36 .. _Matthew Dixon Cowles: ftp://ftp.visi.com/users/mdc/ping.py 2019-07-17T12:33:36 * copyleft 1989-2011 by the python-ping team, see AUTHORS_ for more details. 2019-07-17T12:33:36 * license: GNU GPL v2, see LICENSE_ for more details. 2019-07-17T12:33:36 .. _AUTHORS: AUTHORS 2019-07-17T12:33:36 .. _LICENSE: LICENSE 2019-07-17T12:33:36 Usage 2019-07-17T12:33:36 ===== 2019-07-17T12:33:36 :: 2019-07-17T12:33:36 ~/python3-ping$ sudo ./ping.py google.com 2019-07-17T12:33:36 PYTHON-PING google.com (209.85.148.99): 55 data bytes 2019-07-17T12:33:36 64 bytes from google.com (209.85.148.99): icmp_seq=0 ttl=54 time=56.2 ms 2019-07-17T12:33:36 64 bytes from google.com (209.85.148.99): icmp_seq=1 ttl=54 time=55.7 ms 2019-07-17T12:33:36 64 bytes from google.com (209.85.148.99): icmp_seq=2 ttl=54 time=55.5 ms 2019-07-17T12:33:36 ----google.com PYTHON PING Statistics---- 2019-07-17T12:33:36 3 packets transmitted, 3 packets received, 0.0% packet loss 2019-07-17T12:33:36 round-trip (ms) min/avg/max = 55.468/55.795/56.232 2019-07-17T12:33:36 ~/python3-ping]# ./ping.py 2019-07-17T12:33:36 usage: ping.py [-h] [-q] [-c COUNT] [-W TIMEOUT] [-s PACKET_SIZE] destination 2019-07-17T12:33:36 ping.py: error: the following arguments are required: destination 2019-07-17T12:33:36 TODOs 2019-07-17T12:33:36 ===== 2019-07-17T12:33:36 * refactor ping.py 2019-07-17T12:33:36 * add a "suprocess ping", with output parser 2019-07-17T12:33:36 New Features 2019-07-17T12:33:36 ============ 2019-07-17T12:33:36 * CLI interface -> thanks for Yu-Jie Lin to add this feature with argparse module 2019-07-17T12:33:36 Contribute 2019-07-17T12:33:36 ========== 2019-07-17T12:33:36 `Fork this repo`_ on GitHub_ and `send pull requests`_. Thank you. 2019-07-17T12:33:36 .. _Fork this repo: http://help.github.com/fork-a-repo/ 2019-07-17T12:33:36 .. _GitHub: https://github.com/emamirazavi/python3-ping 2019-07-17T12:33:36 .. _send pull requests: http://help.github.com/send-pull-requests/ 2019-07-17T12:33:36 History 2019-07-17T12:33:36 ======= 2019-07-17T12:33:36 See HISTORY.rst_. 2019-07-17T12:33:36 .. _HISTORY.rst: HISTORY.rst 2019-07-17T12:33:36 Links 2019-07-17T12:33:36 ===== 2019-07-17T12:33:36 * `Sourcecode at GitHub`__ 2019-07-17T12:33:36 * `Python Package Index`__ 2019-07-17T12:33:36 __ https://github.com/emamirazavi/python3-ping 2019-07-17T12:33:36 __ https://pypi.python.org/pypi/python3-ping 2019-07-17T12:33:36 running egg_info 2019-07-17T12:33:36 creating pip-egg-info/python3_ping.egg-info 2019-07-17T12:33:36 writing pip-egg-info/python3_ping.egg-info/PKG-INFO 2019-07-17T12:33:36 writing dependency_links to pip-egg-info/python3_ping.egg-info/dependency_links.txt 2019-07-17T12:33:36 writing top-level names to pip-egg-info/python3_ping.egg-info/top_level.txt 2019-07-17T12:33:36 writing manifest file 'pip-egg-info/python3_ping.egg-info/SOURCES.txt' 2019-07-17T12:33:36 reading manifest file 'pip-egg-info/python3_ping.egg-info/SOURCES.txt' 2019-07-17T12:33:36 reading manifest template 'MANIFEST.in' 2019-07-17T12:33:36 /tmp/pip-wheel-lmgr_fym/python3-ping/setup.py:29: UserWarning: Can't get git hash, returncode was: 128 - git stdout: b'' - git stderr: b'fatal: not a git repository (or any of the parent directories): .git\n' 2019-07-17T12:33:36 warnings.warn(msg) 2019-07-17T12:33:36 /usr/local/lib/python3.7/dist-packages/setuptools/dist.py:481: UserWarning: The version specified ('') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. 2019-07-17T12:33:36 "details." % self.metadata.version 2019-07-17T12:33:36 warning: no files found matching 'README.creole' 2019-07-17T12:33:36 warning: no previously-included files matching '*.pyc' found under directory '*' 2019-07-17T12:33:36 warning: no previously-included files matching '*.pyo' found under directory '*' 2019-07-17T12:33:36 writing manifest file 'pip-egg-info/python3_ping.egg-info/SOURCES.txt' 2019-07-17T12:33:36 WARNING: Requested python3-ping==2014.05.02.805ee25 from https://files.pythonhosted.org/packages/66/ac/88d5938bc7fd0b3498ef2eabdae99df17e7a4d57297c3ad27727f8baea8e/python3-ping-2014.05.02.805ee25.tar.gz#sha256=615f0c8b4af96cad2651f88812b46376bd9b09a2f520a6c88e448c73984cc3bf, but installing version 0.0.0 2019-07-17T12:33:36 Removed python3-ping==2014.05.02.805ee25 from https://files.pythonhosted.org/packages/66/ac/88d5938bc7fd0b3498ef2eabdae99df17e7a4d57297c3ad27727f8baea8e/python3-ping-2014.05.02.805ee25.tar.gz#sha256=615f0c8b4af96cad2651f88812b46376bd9b09a2f520a6c88e448c73984cc3bf from build tracker '/tmp/pip-req-tracker-9uh7ty3l' 2019-07-17T12:33:36 Building wheels for collected packages: python3-ping 2019-07-17T12:33:36 Created temporary directory: /tmp/pip-wheel-vf6cgjvj 2019-07-17T12:33:36 Building wheel for python3-ping (setup.py): started 2019-07-17T12:33:36 Destination directory: /tmp/pip-wheel-vf6cgjvj 2019-07-17T12:33:36 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-lmgr_fym/python3-ping/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-vf6cgjvj 2019-07-17T12:33:37 ============ 2019-07-17T12:33:37 python3-ping 2019-07-17T12:33:37 ============ 2019-07-17T12:33:37 A pure python ping implementation using raw sockets. 2019-07-17T12:33:37 Note that ICMP messages can only be sent from processes running as root 2019-07-17T12:33:37 (in Windows, you must run this script as 'Administrator'). 2019-07-17T12:33:37 Original Version from `Matthew Dixon Cowles`_ 2019-07-17T12:33:37 .. _Matthew Dixon Cowles: ftp://ftp.visi.com/users/mdc/ping.py 2019-07-17T12:33:37 * copyleft 1989-2011 by the python-ping team, see AUTHORS_ for more details. 2019-07-17T12:33:37 * license: GNU GPL v2, see LICENSE_ for more details. 2019-07-17T12:33:37 .. _AUTHORS: AUTHORS 2019-07-17T12:33:37 .. _LICENSE: LICENSE 2019-07-17T12:33:37 Usage 2019-07-17T12:33:37 ===== 2019-07-17T12:33:37 :: 2019-07-17T12:33:37 ~/python3-ping$ sudo ./ping.py google.com 2019-07-17T12:33:37 PYTHON-PING google.com (209.85.148.99): 55 data bytes 2019-07-17T12:33:37 64 bytes from google.com (209.85.148.99): icmp_seq=0 ttl=54 time=56.2 ms 2019-07-17T12:33:37 64 bytes from google.com (209.85.148.99): icmp_seq=1 ttl=54 time=55.7 ms 2019-07-17T12:33:37 64 bytes from google.com (209.85.148.99): icmp_seq=2 ttl=54 time=55.5 ms 2019-07-17T12:33:37 ----google.com PYTHON PING Statistics---- 2019-07-17T12:33:37 3 packets transmitted, 3 packets received, 0.0% packet loss 2019-07-17T12:33:37 round-trip (ms) min/avg/max = 55.468/55.795/56.232 2019-07-17T12:33:37 ~/python3-ping]# ./ping.py 2019-07-17T12:33:37 usage: ping.py [-h] [-q] [-c COUNT] [-W TIMEOUT] [-s PACKET_SIZE] destination 2019-07-17T12:33:37 ping.py: error: the following arguments are required: destination 2019-07-17T12:33:37 TODOs 2019-07-17T12:33:37 ===== 2019-07-17T12:33:37 * refactor ping.py 2019-07-17T12:33:37 * add a "suprocess ping", with output parser 2019-07-17T12:33:37 New Features 2019-07-17T12:33:37 ============ 2019-07-17T12:33:37 * CLI interface -> thanks for Yu-Jie Lin to add this feature with argparse module 2019-07-17T12:33:37 Contribute 2019-07-17T12:33:37 ========== 2019-07-17T12:33:37 `Fork this repo`_ on GitHub_ and `send pull requests`_. Thank you. 2019-07-17T12:33:37 .. _Fork this repo: http://help.github.com/fork-a-repo/ 2019-07-17T12:33:37 .. _GitHub: https://github.com/emamirazavi/python3-ping 2019-07-17T12:33:37 .. _send pull requests: http://help.github.com/send-pull-requests/ 2019-07-17T12:33:37 History 2019-07-17T12:33:37 ======= 2019-07-17T12:33:37 See HISTORY.rst_. 2019-07-17T12:33:37 .. _HISTORY.rst: HISTORY.rst 2019-07-17T12:33:37 Links 2019-07-17T12:33:37 ===== 2019-07-17T12:33:37 * `Sourcecode at GitHub`__ 2019-07-17T12:33:37 * `Python Package Index`__ 2019-07-17T12:33:37 __ https://github.com/emamirazavi/python3-ping 2019-07-17T12:33:37 __ https://pypi.python.org/pypi/python3-ping 2019-07-17T12:33:37 /tmp/pip-wheel-lmgr_fym/python3-ping/setup.py:29: UserWarning: Can't get git hash, returncode was: 128 - git stdout: b'' - git stderr: b'fatal: not a git repository (or any of the parent directories): .git\n' 2019-07-17T12:33:37 warnings.warn(msg) 2019-07-17T12:33:37 /usr/local/lib/python3.7/dist-packages/setuptools/dist.py:481: UserWarning: The version specified ('') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. 2019-07-17T12:33:37 "details." % self.metadata.version 2019-07-17T12:33:37 running bdist_wheel 2019-07-17T12:33:37 running build 2019-07-17T12:33:37 running build_scripts 2019-07-17T12:33:37 creating build 2019-07-17T12:33:37 creating build/scripts-3.7 2019-07-17T12:33:37 copying and adjusting ping.py -> build/scripts-3.7 2019-07-17T12:33:37 changing mode of build/scripts-3.7/ping.py from 644 to 755 2019-07-17T12:33:37 installing to build/bdist.linux-armv7l/wheel 2019-07-17T12:33:37 running install 2019-07-17T12:33:37 running install_egg_info 2019-07-17T12:33:37 running egg_info 2019-07-17T12:33:37 writing python3_ping.egg-info/PKG-INFO 2019-07-17T12:33:37 writing dependency_links to python3_ping.egg-info/dependency_links.txt 2019-07-17T12:33:37 writing top-level names to python3_ping.egg-info/top_level.txt 2019-07-17T12:33:37 reading manifest file 'python3_ping.egg-info/SOURCES.txt' 2019-07-17T12:33:37 reading manifest template 'MANIFEST.in' 2019-07-17T12:33:37 warning: no files found matching 'README.creole' 2019-07-17T12:33:37 warning: no previously-included files matching '*.pyc' found under directory '*' 2019-07-17T12:33:37 warning: no previously-included files matching '*.pyo' found under directory '*' 2019-07-17T12:33:37 writing manifest file 'python3_ping.egg-info/SOURCES.txt' 2019-07-17T12:33:37 Copying python3_ping.egg-info to build/bdist.linux-armv7l/wheel/python3_ping-0.0.0-py3.7.egg-info 2019-07-17T12:33:37 running install_scripts 2019-07-17T12:33:37 creating build/bdist.linux-armv7l/wheel/python3_ping-0.0.0.data 2019-07-17T12:33:37 creating build/bdist.linux-armv7l/wheel/python3_ping-0.0.0.data/scripts 2019-07-17T12:33:37 copying build/scripts-3.7/ping.py -> build/bdist.linux-armv7l/wheel/python3_ping-0.0.0.data/scripts 2019-07-17T12:33:37 changing mode of build/bdist.linux-armv7l/wheel/python3_ping-0.0.0.data/scripts/ping.py to 755 2019-07-17T12:33:37 adding license file "LICENSE" (matched pattern "LICEN[CS]E*") 2019-07-17T12:33:38 adding license file "AUTHORS" (matched pattern "AUTHORS*") 2019-07-17T12:33:38 creating build/bdist.linux-armv7l/wheel/python3_ping-0.0.0.dist-info/WHEEL 2019-07-17T12:33:38 creating '/tmp/pip-wheel-vf6cgjvj/python3_ping-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2019-07-17T12:33:38 adding 'python3_ping-0.0.0.data/scripts/ping.py' 2019-07-17T12:33:38 adding 'python3_ping-0.0.0.dist-info/AUTHORS' 2019-07-17T12:33:38 adding 'python3_ping-0.0.0.dist-info/LICENSE' 2019-07-17T12:33:38 adding 'python3_ping-0.0.0.dist-info/METADATA' 2019-07-17T12:33:38 adding 'python3_ping-0.0.0.dist-info/WHEEL' 2019-07-17T12:33:38 adding 'python3_ping-0.0.0.dist-info/top_level.txt' 2019-07-17T12:33:38 adding 'python3_ping-0.0.0.dist-info/RECORD' 2019-07-17T12:33:38 removing build/bdist.linux-armv7l/wheel 2019-07-17T12:33:38 Building wheel for python3-ping (setup.py): finished with status 'done' 2019-07-17T12:33:38 Stored in directory: /tmp/tmp6gmhhl5f 2019-07-17T12:33:38 Successfully built python3-ping 2019-07-17T12:33:38 Cleaning up... 2019-07-17T12:33:38 Removing source in /tmp/pip-wheel-lmgr_fym/python3-ping 2019-07-17T12:33:38 Removed build tracker '/tmp/pip-req-tracker-9uh7ty3l'