# Path: malware_crawl/models.py
# class Malicouse_sites(models.Model):
#     """
#         The table which is going to be used for classification
#     """
#     url = models.CharField(max_length=255)
#     malware = models.BooleanField()


from pebl.util import levenshtein
from malware_crawl.models import Malicouse_sites
    import json
    import pkgutil
from __future__ import division

_mal_list = []




def read_from_database_to_dict():
    """
        Reads the malwares from the database and returns a mal_dict
    """

# Path: malware_crawl/models.py
# class Malicouse_sites(models.Model):
#     """
#         The table which is going to be used for classification
#     """
#     url = models.CharField(max_length=255)
#     malware = models.BooleanField()


# Path: demo/classifier.py
from pebl.util import levenshtein
from malware_crawl.models import Malicouse_sites
    import json
    import pkgutil

from __future__ import division

_mal_list = []




def read_from_database_to_dict():
    """
        Reads the malwares from the database and returns a mal_dict
    """

    malwares =  Malicouse_sites.objects.all()