<commit_before>## Python Examples

This directory contains examples of using the DocumentAlchemy API within the
[Python](https://www.python.org/) programming language.

## Contents

 * **qr-code** - This is the simplest example, using the core Python modules (urllib2) to invoke the DocumentAlchemy API to generate a QR code encoding arbitrary data.

 * **qr-watermark** - Generate a new QR code image and store it in the DocumentAlchemy file-store. Then stamp that image as a watermark on each page of a PDF document.<commit_msg>add office-to-pdf example to python README<commit_after>## Python Examples

This directory contains examples of using the DocumentAlchemy API within the
[Python](https://www.python.org/) programming language.

## Contents

 * **[qr-code](./qr-code)** - This is the simplest example, using the core Python modules (urllib2) to invoke the DocumentAlchemy API to generate a QR code encoding arbitrary data.

 * **[qr-watermark](./qr-watermark)** - Generate a new QR code image and store it in the DocumentAlchemy file-store. Then stamp that image as a watermark on each page of a PDF document.

 * **[ms-office-to-pdf](./ms-office-to-pdf)** - Converts Microsoft Word, PowerPoint or Excel documents to PDF.
{'fraction_non_alphanumeric': 0.09253246753246754, 'fraction_numerical': 0.0016233766233766235, 'mean_word_length': 4.407894736842105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '7439350', 'n_tokens_mistral': 346, 'n_tokens_neox': 315, 'n_words': 156}