<commit_before>def install_nbextension(**kwargs):
    """Install the appropriate html and javascript into the IPython nbextension.

    Keyword arguments will be passed on to the IPython install_nbextension function.
    """
    import os.path
    try:
        from jupyter_notebook import nbextensions
    except ImportError: # IPython 3.x
        from IPython.html import nbextensions
    pkgdir = os.path.dirname(__file__)
    kwargs['destination'] = 'pythreejs'
    nbextensions.install_nbextension(os.path.join(pkgdir, 'nbextension'), **kwargs)

from .pythreejs import (
    Texture, 
    ImageTexture, 
    DataTexture, 
    Color, 
    Object3d, <commit_msg>Upstream jupyter_notebook repo rename<commit_after>def install_nbextension(**kwargs):
    """Install the appropriate html and javascript into the IPython nbextension.

    Keyword arguments will be passed on to the IPython install_nbextension function.
    """
    import os.path
    try:
        from notebook import nbextensions
    except ImportError: # IPython 3.x
        from IPython.html import nbextensions
    pkgdir = os.path.dirname(__file__)
    kwargs['destination'] = 'pythreejs'
    nbextensions.install_nbextension(os.path.join(pkgdir, 'nbextension'), **kwargs)

from .pythreejs import (
    Texture, 
    ImageTexture, 
    DataTexture, 
    Color, 
    Object3d, 
{'fraction_non_alphanumeric': 0.08023774145616643, 'fraction_numerical': 0.0029717682020802376, 'mean_word_length': 3.5201342281879193, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4294175', 'n_tokens_mistral': 435, 'n_tokens_neox': 411, 'n_words': 109}