RELEASE: Version 1.0 #3

Merged
luketainton merged 14 commits from develop into main 2022-06-25 23:27:02 +02:00
8 changed files with 16 additions and 0 deletions
Showing only changes of commit 460e74c6bb - Show all commits

View File

@ -1,5 +1,7 @@
#!/usr/local/env python3
"""MODULE: Provides CLI arguments to the application."""
import argparse
from app.query_normalisation import get_public_ip

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python3
"""MODULE: Provides functions to call various APIs to retrieve IP/prefix information."""
import ipaddress
import requests

View File

@ -1,5 +1,7 @@
#!/usr/local/bin/python3
"""MODULE: Main application module."""
import sys
from app.args import parse_args

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python3
"""MODULE: Provides functions for preparing, then printing, retrieved data."""
from tabulate import tabulate

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python3
"""MODULE: Provides functions that ensure an IP address is available to query the APIs for."""
import socket
import ipaddress
import requests

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python3
"""MODULE: Provides test cases for app/ip_info.py."""
from app.ip_info import ( # pragma: no cover
get_ip_information,
get_autonomous_system_number,

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python3
"""MODULE: Provides test cases for app/main.py."""
# from app.ip import is_ip_address

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python3
"""MODULE: Provides test cases for app/query_normalisation.py."""
from app.query_normalisation import ( # pragma: no cover
is_ip_address,
resolve_domain_name,