beacon.util package

Submodules

beacon.util.domains module

Miscellaneous web domain functions to determine the who and what about a domain. WHOIS -> Owner, has_dns_record() etc

beacon.util.names module

beacon.util.names.get_fl_name_variations(first_name, last_name, include_initials=False)[source]

Generate different variations of a full name containing only the first and last name.

Parameters:
  • first_name – The first name
  • last_name – The last name
  • include_initials – Include variations with names abbreviated by their first letter
Returns:

A list of (first_name, last_name) tuples

beacon.util.names.get_fml_name_variations(first_name, middle_name, last_name, include_initials=False)[source]

Generate different variations of a full name containing the first, middle, and last name.

Parameters:
  • first_name – The first name
  • middle_name – The middle name
  • last_name – The last name
  • include_initials – Include variations with names abbreviated by their first letter
Returns:

A list of (first_name, middle_name, last_name) tuples

beacon.util.names.retrieve_nicknames_for_name(name)[source]

Retrieve nicknames for name from the database

Parameters:name – The name that might have nicknames
Returns:A list of nicknames. Empty list if nicknames were not found.

Module contents