<jupyter_start><jupyter_text>Scriptedforms (lab extension)https://github.com/SimonBiggs/scriptedforms<jupyter_code># !pip install scriptedforms<jupyter_output><empty_output><jupyter_text>Write markdown<jupyter_code>%%writefile ../_data/test_scriptedform.md

# An example

<section-live>

<variable-string>your_name</variable-string>

```python
print('Hello {}!'.format(your_name))
```

</section-live><jupyter_output><empty_output><jupyter_text>Run markdown from terminalThis will start a new Jupyter instance in a new browser tab<jupyter_code>!scriptedforms ../_data/test_scriptedform.md
!ps | grep jupyter
!!lsof -i:8888
!kill <PID><jupyter_output><empty_output><jupyter_text>Get raw<jupyter_code>!scriptedforms ~/Downloads/scriptedforms_raw.md<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13144329896907217, 'fraction_numerical': 0.005154639175257732, 'mean_word_length': 9.5, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '450833', 'license': 'MIT', 'n_tokens_mistral': 300, 'n_tokens_neox': 289, 'n_words': 40, 'path': '_productivity/scriptedforms_markdown.ipynb', 'repo_name': 'aixpact/data-science', 'size': '776'}