<commit_before>from django.core.management.base import BaseCommand, CommandError
from LittleSportsBiscuit.models import Team, Player, Roster

class Command(BaseCommand):
    help = "This is the help line"

    def handle(self, *args, **options):
        #http://www.ourlads.com/ncaa-football-depth-charts/depth-chart/south-carolina/91832
        self.stdout.write("There are {} many Teams".format(Team.objects.count()))
<commit_msg>Initial management scripts<commit_after>from django.core.management.base import BaseCommand, CommandError
from bs4 import BeautifulSoup
from urllib.request import urlopen
from LittleSportsBiscuit.models import Team, Player, Roster

class Command(BaseCommand):
    help = "This is the help line"

    def handle(self, *args, **options):
        thisUrl = "http://www.ourlads.com/ncaa-football-depth-charts/depth-chart/south-carolina/91832"
        thisCode = urlopen(thisUrl)
        thisObj = BeautifulSoup(thisCode, "html.parser")
        print(thisObj.title)
        self.stdout.write("There are {} many Teams".format(Team.objects.count()))
        #self.stdout.write(thisObj.title)

{'fraction_non_alphanumeric': 0.11638316920322292, 'fraction_numerical': 0.009847806624888093, 'mean_word_length': 4.175925925925926, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '129106', 'n_tokens_mistral': 351, 'n_tokens_neox': 331, 'n_words': 74}