<commit_before># Python Bluetooth Low Energy(BLE) Wrapper

A Python wrapper for connecting Bluetooth smart peripherals and centrals.
Currently this wrapper only supports OSX.

## Installation

pip install -U git+https://github.com/brettchien/PyBLEWrapper.git

## Usage

example usage is in example.py
<commit_msg>add description about interactive console mode<commit_after># Python Bluetooth Low Energy(BLE) Wrapper

A Python wrapper for connecting Bluetooth smart peripherals and centrals.
Currently this wrapper only supports OSX.

## Installation

pip install -U git+https://github.com/brettchien/PyBLEWrapper.git

## Usage

- example usage is in example.py

- A interactive console is also provided

```
    $ git clone https://github.com/brettchein/PyBLEWrapper.git
    $ cd PyBLEWrapper
    $ python setup install
    $ cd pyble
    $ python backend.py
    INFO:osx.centralManager.OSXCentralManager:Initialize CBCentralManager
    INFO:osx.centralManager.OSXCentralManager:BLE is ready!!
    EcoBLE(20-c9-d0-97-57-a0) $ help

    Documented commands (type help <topic>):
    ========================================
    connect     debug       disconnectAll  execute  help  list  shell
    connectAll  disconnect  eval           exit     hist  scan  stop 

    Undocumented commands:
    ======================
    EOF  test

    EcoBLE(20-c9-d0-97-57-a0) $ 
```

{'fraction_non_alphanumeric': 0.11614317019722425, 'fraction_numerical': 0.013148283418553688, 'mean_word_length': 3.6440677966101696, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 3, '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': '1000229', 'n_tokens_mistral': 433, 'n_tokens_neox': 388, 'n_words': 120}