ipsurv.core package

IpSurv’s Module Index

ipsurv.core.object_factory module

class ObjectFactory

Bases: abc.ABC

Description: https://deer-hunt.github.io/ipsurv/pages/ipsurv-cmd/program_architecture_classes.html#objectfactory

create_args_builder(config, pipeline)
Parameters
Return type

ArgsBuilder

create_collectors(args, dns_resolver)
Parameters
Return type

dict

create_dns_resolver(args)
Parameters

args (argparse.Namespace) –

Return type

DnsResolveRequester

create_dns_reverse_collector(dns_resolver, args)
Parameters
Return type

SelfCollector

create_dnstxt_collector(dns_resolver, args)
Parameters
Return type

DnsTxtCollector

create_geoip_collector(args)
Parameters

args (argparse.Namespace) –

Return type

GeoIpCollector

create_http(args)
Parameters

args (argparse.Namespace) –

Return type

HttpRequester

create_http_collector(requester, args)
Parameters
Return type

HttpCollector

create_icmp_collector(requester, args)
Parameters
Return type

ICMPCollector

create_ipinfo_collector(args)
Parameters

args (argparse.Namespace) –

Return type

IpInfoCollector

create_pipeline()
Return type

Pipeline

create_rdap_collector(args)
param args

type args

argparse.Namespace

Return type

RdapCollector

create_reactivities(args)
Parameters

args (argparse.Namespace) –

Return type

list

create_self_collector(args, dns_resolver, server_reactivity)
Parameters
Return type

SelfCollector

create_serializer(args)
Parameters

args (argparse.Namespace) –

Return type

Serializer

create_server_reactivity(args)
Parameters

args (argparse.Namespace) –

Return type

ServerReactivity

create_target_parser(args, pipeline, dns_resolver)
Parameters
Return type

TargetParser

create_tcp_collector(requester, args)
Parameters
Return type

TCPCollector

create_udp_collector(requester, args)
Parameters
Return type

UDPCollector

create_value_data_factory(args, config)
Parameters
  • args (argparse.Namespace) –

  • config (Config) –

Return type

ValueDataFactory

get_config()
Return type

Config