<commit_before># -*- coding: utf-8 -*-
"""
Created on Thu Jan 28 21:27:07 2016

@author: kurner

A namedtuple is a subclass of tuple allowing for named
columns and therefore dot notation access, treating 
elements as named attributes.

Bookmark(place='Anaconda.org', url='http://anaconda.org')
"""

from collections import namedtuple

Bmk = namedtuple('Bookmark', 'place url')

# tuple of tuples
tuples = (
    ("Guild Programming Courses @ DropBox", "http://bit.ly/1TrSJFB"),
    ("Anaconda.org", "http://anaconda.org"),
    ("Python.org", "http://python.org"),
    ("Python Docs", "https://docs.python.org/3/"),
    ("Spaghetti Code", "http://c2.com/cgi/wiki?SpaghettiCode"),
    ("Structured Programming", "http://c2.com/cgi/wiki?StructuredProgramming"),
    ("Map of Languages", "http://archive.oreilly.com/pub/a/oreilly//news/languageposter_0504.html"),
    ("XKCD", "http://xkcd.com"),
    ("PDX Code Guild", "https://pdxcodeguild.com/"),
    ("Will 'Geeks' Rule? CBS News (world domination meme)","http://www.cbsnews.com/news/will-geeks-rule-the-world/"),
    ("Django","https://docs.djangoproject.com/"),
    ("PythonAnywhere","https://www.pythonanywhere.com/"),
    ("CodeAcademy: Python","https://www.codecademy.com/learn/python"),
    ("Unicode on Youtube", "https://www.youtube.com/watch?v=Z_sl99D2a18"),
    ("In Defense of Ada", "http://www.grunch.net/synergetics/adaessay.html"),
    ("Grace Hopper on Letterman", "https://www.youtube.com/watch?v=1-vcErOPofQ"),
    ("The Mind of a Genius: <NAME>", "https://www.youtube.com/watch?v=XZ9tt72feL8"),
    ("World Domination meme", "https://www.google.com/search?q=linux+world+domination&safe=off&source=lnms&tbm=isch"),
    ("Warriors of the Net", "https://www.youtube.com/watch?v=PBWhzz_Gn10"),
    ("LAMP stack", "https://www.google.com/search?q=lamp+stack&safe=off&biw=787&bih=535&source=lnms&tbm=isch"),
    ("LAMP stack (Wikipedia)","https://en.wikipedia.org/wiki/LAMP_(software_bundle)"),
    ("In the Beginning was the Command Line", "http://c2.com/cgi/wiki?InTheBeginningWasTheCommandLine"),
    ("First Wiki","http://c2.com/cgi-bin/wiki" ),
    ("'Meme' on Wikipedia", "https://en.wikipedia.org/wiki/Meme"),<commit_msg>add a link to Tom Lehrer's New Math<commit_after># -*- coding: utf-8 -*-
"""
Created on Thu Jan 28 21:27:07 2016

@author: kurner

A namedtuple is a subclass of tuple allowing for named
columns and therefore dot notation access, treating 
elements as named attributes.

Bookmark(place='Anaconda.org', url='http://anaconda.org')
"""

from collections import namedtuple

Bmk = namedtuple('Bookmark', 'place url')

# tuple of tuples
tuples = (
    ("Guild Programming Courses @ DropBox", "http://bit.ly/1TrSJFB"),
    ("Anaconda.org", "http://anaconda.org"),
    ("Python.org", "http://python.org"),
    ("Python Docs", "https://docs.python.org/3/"),
    ("'New Math' by <NAME> (animated)","https://youtu.be/UIKGV2cTgqA"),
    ("Spaghetti Code", "http://c2.com/cgi/wiki?SpaghettiCode"),
    ("Structured Programming", "http://c2.com/cgi/wiki?StructuredProgramming"),
    ("Map of Languages", "http://archive.oreilly.com/pub/a/oreilly//news/languageposter_0504.html"),
    ("XKCD", "http://xkcd.com"),
    ("PDX Code Guild", "https://pdxcodeguild.com/"),
    ("Will 'Geeks' Rule? CBS News (world domination meme)","http://www.cbsnews.com/news/will-geeks-rule-the-world/"),
    ("Django","https://docs.djangoproject.com/"),
    ("PythonAnywhere","https://www.pythonanywhere.com/"),
    ("CodeAcademy: Python","https://www.codecademy.com/learn/python"),
    ("Unicode on Youtube", "https://www.youtube.com/watch?v=Z_sl99D2a18"),
    ("In Defense of Ada", "http://www.grunch.net/synergetics/adaessay.html"),
    ("<NAME>", "https://www.youtube.com/watch?v=1-vcErOPofQ"),
    ("The Mind of a Genius: <NAME>", "https://www.youtube.com/watch?v=XZ9tt72feL8"),
    ("World Domination meme", "https://www.google.com/search?q=linux+world+domination&safe=off&source=lnms&tbm=isch"),
    ("Warriors of the Net", "https://www.youtube.com/watch?v=PBWhzz_Gn10"),
    ("LAMP stack", "https://www.google.com/search?q=lamp+stack&safe=off&biw=787&bih=535&source=lnms&tbm=isch"),
    ("LAMP stack (Wikipedia)","https://en.wikipedia.org/wiki/LAMP_(software_bundle)"),
    ("In the Beginning was the Command Line", "http://c2.com/cgi/wiki?InTheBeginningWasTheCommandLine"),
    ("First Wiki","http://c2.com/cgi-bin/wiki" ),
    ("'Meme' on Wikipedia", "https://en.wikipedia.org/wiki/Meme"),
{'fraction_non_alphanumeric': 0.20660229059061308, 'fraction_numerical': 0.018639119694587918, 'mean_word_length': 4.539800995024875, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 27, 'lorem ipsum': 0, 'www.': 20, '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': '2591744', 'n_tokens_mistral': 1685, 'n_tokens_neox': 1597, 'n_words': 282}