<commit_before>ev3py
=====

This Python module lets you interact with LEGO Mindstorms EV3 bricks using intuitive, easy-to-understand methods. It communicates with the EV3's native firmware, so there is no need to create a bootable SD card; just turn on the brick and start coding.

For now the module is still inchoate; it only covers three basic functions (starting motors, stopping motors, and reading data from sensors) and it only works on Macs, and only via Bluetooth. The goal is to eventually cover all EV3 capability and make ev3py work with USB and WiFi and also with Linux and Windows.

No installation is necessary. Just download the two files (ev3py.py and dec_to_hex.py) and import the 'ev3' class from ev3py.

Usage example (starts motor in port A with 20% capacity):

    from ev3py import ev3

    mybrick = ev3()
    mybrick.connect('bt') # connect with EV3 via Bluetooth
    mybrick.start_motor(port = 'a', power = 20)
<commit_msg>updated method name<commit_after>ev3py
=====

This Python module lets you interact with LEGO Mindstorms EV3 bricks using intuitive, easy-to-understand methods. It communicates with the EV3's native firmware, so there is no need to create a bootable SD card; just turn on the brick and start coding.

For now the module is still inchoate; it only covers three basic functions (starting motors, stopping motors, and reading data from sensors) and it only works on Macs, and only via Bluetooth. The goal is to eventually cover all EV3 capability and make ev3py work with USB and WiFi and also with Linux and Windows.

No installation is necessary. Just download the two files (ev3py.py and dec_to_hex.py) and import the 'ev3' class from ev3py.

Usage example (starts motors in ports A and D, with 20% capacity):

    from ev3py import ev3

    mybrick = ev3()
    mybrick.connect('bt') # connect with EV3 via Bluetooth
    mybrick.start_motors(ports = 'ad', power = 20)

{'fraction_non_alphanumeric': 0.055845511482254695, 'fraction_numerical': 0.016701461377870562, 'mean_word_length': 4.223433242506812, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1706141', 'n_tokens_mistral': 555, 'n_tokens_neox': 516, 'n_words': 288}