From db84aa48660a0040893a857d85d7620aeee0bc84 Mon Sep 17 00:00:00 2001 From: Youfou Date: Tue, 17 Jan 2017 18:35:35 +0800 Subject: [PATCH] update readme --- README.md | 14 +++++++------- mping/__init__.py | 4 ++-- mping/mping.py | 2 +- setup.py | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 0b7bc2e..bdb1cda 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # mping -Ping hosts concurrently and find the fastest to you. +Ping multiple hosts concurrently and find the fastest to you. ## Installation @@ -20,15 +20,15 @@ Get hosts from a file, and ping them: The results will be like this: - host | count, loss%, min/avg/max - -----------|-------------------------- - shuame.com | 433, 0.0%, 5.4/6.8/14.1 - qq.com | 90, 0.0%, 31.8/33.5/39.5 - baidu.com | 77, 0.0%, 37.4/39.1/43.6 + host | count, loss%, min/avg/max + ----------|-------------------------- + host1.com | 99, 0.0%, 5.4/6.8/14.1 + host2.com | 90, 0.0%, 23.8/33.5/39.5 + host3.com | 77, 0.4%, 37.4/39.1/43.6 > The `count` number represents that how many pings returned to the each host. -Also check out the help stuff for more instructions: +Also Check out the help stuff for more instructions: mping -h diff --git a/mping/__init__.py b/mping/__init__.py index 9d32a41..6da26d9 100755 --- a/mping/__init__.py +++ b/mping/__init__.py @@ -5,7 +5,7 @@ mping ~~~~~ -Ping hosts concurrently and find the fastest to you. +Ping multiple hosts concurrently and find the fastest to you. >>> results = mping() @@ -25,7 +25,7 @@ from .mping import mping, results_string __title__ = 'mping' -__version__ = '0.1.0' +__version__ = '0.1.1' __author__ = 'Youfou' __license__ = 'Apache 2.0' __copyright__ = 'Copyright 2017 Youfou' diff --git a/mping/mping.py b/mping/mping.py index f1d014a..e83dab2 100755 --- a/mping/mping.py +++ b/mping/mping.py @@ -244,7 +244,7 @@ def results_string(prs): def main(): ap = argparse.ArgumentParser( - description='Ping hosts concurrently and find the fastest to you.', + description='Ping multiple hosts concurrently and find the fastest to you.', epilog='A plain text file or a json can be used as the -p/--path argument: ' '1. Plain text file: hosts in lines; ' '2. Json file: hosts in a list or a object (dict) with names.') diff --git a/setup.py b/setup.py index 83dc84f..4411660 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( name='mping', - version='0.1.0', + version='0.1.1', packages=find_packages(), package_data={ '': ['*.md'], @@ -32,7 +32,7 @@ license='Apache 2.0', author='Youfou', author_email='youfou@qq.com', - description='Ping hosts concurrently and find the fastest to you.', + description='Ping multiple hosts concurrently and find the fastest to you.', long_description=long_description, keywords=[ 'ping',