ipsurv.data_collector package

IpSurv’s Module Index

ipsurv.data_collector.pass_data_collector module

class PassDataCollector(name, requester, args)

Bases: ipsurv.data_collector.data_collector.DataCollector

Parameters
  • name (str) –

  • requester (PassRequester) –

  • args (argparse.Namespace) –

build_data(target, data, success, response, response_time)
Parameters
  • target (Target) –

  • data (ValueData) –

  • response (dict) –

  • response_time (float) –

get_name()
get_requires()
request_data(target, requires)
Parameters
  • target (Target) –

  • requires (list) –

class PassRequester(timeout=None)

Bases: ipsurv.requester.requester.Requester

request(target)
Parameters

target (Target) –