<commit_before>Excel for Web API
=================

**Currently in alpha.**

An Excel MediaTypeFormatter for ASP.NET Web API.<commit_msg>More detail on where this is and where it's going.<commit_after>Excel for Web API
=================

**Currently in alpha.**

An Excel MediaTypeFormatter for ASP.NET Web API.


Basic syntax
------------

```C#
config.Formatters.Add(new ExcelMediaTypeFormatter()) // Where config is your HttpConfiguration.
```

Notable issues
--------------

- Can only serialize classes decorated with `DataContract` and `DataMember` attributes.
  - This is a temporary workaround to allow ordering of columns that will soon be dispatched with.
- Incomplete unit test coverage.
- Bad documentation—sorry about that! :)

Future work
-----------

- Remove yucky dependency on `DataContract` attributes.
- Allow reading from Excel documents.
{'fraction_non_alphanumeric': 0.15133876600698487, 'fraction_numerical': 0.0, 'mean_word_length': 3.7252747252747254, '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': '2779712', 'n_tokens_mistral': 229, 'n_tokens_neox': 208, 'n_words': 95}