Coverage for dht_crawler/arg_parse.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
#!/usr/bin/env python3 Created by Martin Vaško Argument parser '''
''' This part is about parsing input arguments. Using argparse for standardized use '''
help='Specifies info_hash of torrent file which can \ be get from magnet-link.') help='Gets torrent file, which decompose and start \ monitoring from DHT nodes in this file or \ from tracker (swarm).') help='Given file with magnet-link \ would be parsed and its output filled to proper \ class variables and starts crawling from magnet-link \ (Some DHT node).') help='Specify port to which should be connection \ binded.') action='store', help='Set for how long should program \ monitor continuously.') help='Store ip addresses with coresponding \ dictionary in format country:city -> ip.addr.') help='Prints output in desired format for tarzan'\ ' server. It accepts only well formated output.'\ ' Cannot combine with --print_as_country.') help='Change shared queue between processes \ from default lifo to fifo') # settings for dht
help='Counter specifies how long to wait after \ a queue with nodes is empty.') action='store', help='Specifies maximum number of \ peers in queue. This is set by default \ on value of 200.') help='Tests connection to remote(local) server.') action='store', help='Store country name to \ converge only in this country and do not \ bootstrap away from it.')
''' Parse arguments from argParse class ''' |