<jupyter_start><jupyter_text>Cythonhttp://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/notebooks/Cython%20Magics.ipynbhttp://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/running_cython.ipynb<jupyter_code>%load_ext cython
a = 10
b = 20
%%cython_inline
return a + b
%%cython
def testfunc():
    return 42
testfunc()
%%cython -lm
from libc.math cimport sin
print 'sin(1)=', sin(1)
# TODO: something useful!<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13721413721413722, 'fraction_numerical': 0.02079002079002079, 'mean_word_length': 6.650793650793651, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '475702', 'license': 'CC0-1.0', 'n_tokens_mistral': 203, 'n_tokens_neox': 191, 'n_words': 28, 'path': 'optimization/cython.ipynb', 'repo_name': 'mgeier/python-audio', 'size': '481'}