Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
youfou committed Jan 17, 2017
1 parent 74a8eb4 commit db84aa4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions mping/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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'
2 changes: 1 addition & 1 deletion mping/mping.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

setup(
name='mping',
version='0.1.0',
version='0.1.1',
packages=find_packages(),
package_data={
'': ['*.md'],
Expand All @@ -32,7 +32,7 @@
license='Apache 2.0',
author='Youfou',
author_email='[email protected]',
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',
Expand Down

0 comments on commit db84aa4

Please sign in to comment.