"""
This python file contains all the function with all the intended loading animation to be loaded when requested.
"""
import time
import sys




def animateDecrypting():
    ''' 
    This function is intended to show the loading animation shown in the tool while loading anything.
    '''

    percentage = 0
    for _ in range(1):
        # for cha in character:
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Decrypting ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.1)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Decrypting ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.1)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Decrypting ████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.1)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Decrypting ████████████████░░░░░░░░░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.1)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Decrypting ████████████████████░░░░░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.1)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Decrypting ████████████████████████░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.1)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Decrypting ████████████████████████████░░░░░░░░░░░░ {percentage}')
        time.sleep(.1)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Decrypting ████████████████████████████████░░░░░░░░ {percentage}')
        time.sleep(.1)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Decrypting ████████████████████████████████████░░░░ {percentage}')
        time.sleep(.1)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Decrypting ████████████████████████████████████████ {percentage}')
        time.sleep(.1)


def initializingNetstat():
    percentage = 0
    for _ in range(1):
        sys.stdout.write(
            f'\r Initializing Netstat ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Initializing Netstat ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Initializing Netstat ████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Initializing Netstat ████████████████░░░░░░░░░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Initializing Netstat ████████████████████░░░░░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Initializing Netstat ████████████████████████░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Initializing Netstat ████████████████████████████░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Initializing Netstat ████████████████████████████████░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Initializing Netstat ████████████████████████████████████░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Initializing Netstat ████████████████████████████████████████ ')
        time.sleep(.5)


def netstatPortNumber():
    percentage = 0
    for _ in range(1):
        sys.stdout.write(
            f'\r Extracting Port ID ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Extracting Port ID ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Extracting Port ID ████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Extracting Port ID ████████████████░░░░░░░░░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Extracting Port ID ████████████████████░░░░░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Extracting Port ID ████████████████████████░░░░░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Extracting Port ID ████████████████████████████░░░░░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Extracting Port ID ████████████████████████████████░░░░░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Extracting Port ID ████████████████████████████████████░░░░ ')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Extracting Port ID ████████████████████████████████████████ ')
        time.sleep(.5)


def scripLoading():
    percentage = 0
    for _ in range(1):
        # for cha in character:
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Loading Your Script ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Loading Your Script ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Loading Your Script ████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Loading Your Script ████████████████░░░░░░░░░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Loading Your Script ████████████████████░░░░░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Loading Your Script ████████████████████████░░░░░░░░░░░░░░░░ {percentage}')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Loading Your Script ████████████████████████████░░░░░░░░░░░░ {percentage}')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Loading Your Script ████████████████████████████████░░░░░░░░ {percentage}')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Loading Your Script ████████████████████████████████████░░░░ {percentage}')
        time.sleep(.5)
        percentage = percentage + 10
        sys.stdout.write(
            f'\r Loading Your Script ████████████████████████████████████████ {percentage}')
        time.sleep(.5)
