<commit_before>Structure Arduino SDK
============

The Structure Arduino SDK provides a simple way for your Arduino-based things to connect and communicate with the Structure IoT platform.

## Installation
The Structure Arduino SDK is distributed as an Arduino library. It can be installed in two ways:

1. Download a zip of this repository and include it into your Arduino Sketch. Select `Sketch -> Include Library -> Add .ZIP` library from the Arduino menu.

2. Clone the contents of the repository into Arduino's library folder on your system. This location changes based on OS, but on Mac it's typically at `Documents / Arduino / libraries`.

Once installed, using the library requires a single include directive.

```arduino
#include <Structure.h>
```

## Dependencies

The Structure Arduino SDK depends on [ArduinoJson](https://github.com/bblanchon/ArduinoJson) and [PubSubClient](https://github.com/knolleary/pubsubclient). These libraries must be installed before using the Structure SDK. Please refer to their documentation for specific installation instructions.

## Example

Below is a basic example of using the Structure Arduino SDK. For specific examples for various boards, please refer to the [`examples`](https://github.com/GetStructure/structure-sdk-arduino/tree/master/examples) folder.<commit_msg>Added link to Structure.<commit_after>Structure Arduino SDK
============

The Structure Arduino SDK provides a simple way for your Arduino-based things to connect and communicate with the [Structure IoT developer platform](https://getstructure.io).

## Installation
The Structure Arduino SDK is distributed as an Arduino library. It can be installed in two ways:

1. Download a zip of this repository and include it into your Arduino Sketch. Select `Sketch -> Include Library -> Add .ZIP` library from the Arduino menu.

2. Clone the contents of the repository into Arduino's library folder on your system. This location changes based on OS, but on Mac it's typically at `Documents / Arduino / libraries`.

Once installed, using the library requires a single include directive.

```arduino
#include <Structure.h>
```

## Dependencies

The Structure Arduino SDK depends on [ArduinoJson](https://github.com/bblanchon/ArduinoJson) and [PubSubClient](https://github.com/knolleary/pubsubclient). These libraries must be installed before using the Structure SDK. Please refer to their documentation for specific installation instructions.

## Example

Below is a basic example of using the Structure Arduino SDK. For specific examples for various boards, please refer to the [`examples`](https://github.com/GetStructure/structure-sdk-arduino/tree/master/examples) folder.
{'fraction_non_alphanumeric': 0.0779269202087994, 'fraction_numerical': 0.0014914243102162564, 'mean_word_length': 4.9490022172949, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5463461', 'n_tokens_mistral': 720, 'n_tokens_neox': 645, 'n_words': 327}