<commit_before># SPMReader
=========

Reads Spektrum SPM Files and turns them into pretty, pretty XML.

Semi-sample output:

```xml
	<Spektrum Generator="DX18" VCode="1.03" Originator="HH201JAAk4AGwAGj0ELG1szlFbVB+S" PosIndex="5" PosMaxSail="10" Type="Sail" curveIndex="7" enabXPLUS="Disabled" Name="DX18 Sail 2AL 2FL V3" />
	  <Sail Wing="Ail_2_Flap_2" Tail="Normal" Motor="None" />
	</Spektrum>
<<<<<<< HEAD
```  
=======
>>>>>>> d0f8a5c93bfd7d6f9ce44bbeba7d39ab6e20d48d
  
## Goals
=========

Ideally this project should take in any .SPM file from any Spektrum AirWave compatible receiver and convert it to a *standardized** XML output. In the long run it would be great to see a GUI editor for the XML which could in turn use this *library* to convert the XML back to a .SPM file for use in a Spektrum radio. It could also serve as a converter from one model of Spektrum radio to another or to a completely different computer radio manufacturer.<commit_msg>God I suck at this git crap<commit_after># SPMReader
=========

Reads Spektrum SPM Files and turns them into pretty, pretty XML.

Semi-sample output:

```xml
	<Spektrum Generator="DX18" VCode="1.03" Originator="HH201JAAk4AGwAGj0ELG1szlFbVB+S" PosIndex="5" PosMaxSail="10" Type="Sail" curveIndex="7" enabXPLUS="Disabled" Name="DX18 Sail 2AL 2FL V3" />
	  <Sail Wing="Ail_2_Flap_2" Tail="Normal" Motor="None" />
	</Spektrum>
```
  
## Goals
=========

Ideally this project should take in any .SPM file from any Spektrum AirWave compatible receiver and convert it to a *standardized** XML output. In the long run it would be great to see a GUI editor for the XML which could in turn use this *library* to convert the XML back to a .SPM file for use in a Spektrum radio. It could also serve as a converter from one model of Spektrum radio to another or to a completely different computer radio manufacturer.
{'fraction_non_alphanumeric': 0.10890557939914162, 'fraction_numerical': 0.033261802575107295, 'mean_word_length': 5.016129032258065, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4751366', 'n_tokens_mistral': 659, 'n_tokens_neox': 624, 'n_words': 247}