<jupyter_start><jupyter_text>markdown utils - file path  code snippet - no title<jupyter_code>from my_happy_jupyter_utils import (
  markdown_utils
)


markdown_utils.get_code_snippet({
    'file_path': '/'.join([
        'data/code',
        'hello.py'
    ]),
    'title': '',
    'show_line_number': False,
    'line_numbers': "",
    'start_line_number': 1,
    'end_line_number': 2,
    'language': 'python'
})<jupyter_output><empty_output><jupyter_text>code snippet - title<jupyter_code>from my_happy_jupyter_utils import (
  markdown_utils
)


markdown_utils.get_code_snippet({
    'file_path': '/'.join([
        'data/code',
        'hello.py'
    ]),
    'title': 'hello python',
    'show_line_number': False,
    'line_numbers': "",
    'start_line_number': 1,
    'end_line_number': 2,
    'language': 'python'
})<jupyter_output><empty_output><jupyter_text>source code - no title<jupyter_code>from my_happy_jupyter_utils import (
  markdown_utils
)


markdown_utils.get_content_with_line_number_by_url({
    'file_path': '/'.join([
        'data/code',
        'hello.py'
    ]),
    'title': '',
    'language': 'python',
    'show_line_number': False,
    'need_process_markdown': True
})<jupyter_output><empty_output><jupyter_text>source code - title<jupyter_code>from my_happy_jupyter_utils import (
  markdown_utils
)


markdown_utils.get_content_with_line_number_by_url({
    'file_path': '/'.join([
        'data/code',
        'shell_demo.sh'
    ]),
    'title': 'shell demo',
    'language': 'shell',
    'show_line_number': False,
    'need_process_markdown': True
})<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1474398519432449, 'fraction_numerical': 0.0024676125848241827, 'mean_word_length': 3.9451219512195124, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '620296', 'license': 'Apache-2.0', 'n_tokens_mistral': 626, 'n_tokens_neox': 597, 'n_words': 89, 'path': 'examples/0101_0101_markdown_utils_file_path.ipynb', 'repo_name': 'ggservice007/my-happy-jupyter-utils', 'size': '1621'}