Metadata-Version: 2.1
Name: octostudio
Version: 0.1.0
Summary: 
Author: wwj718
Author-email: wuwenjie718@gmail.com
Requires-Python: >=3.8,<3.13
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: adafruit-circuitpython-ble (>=10.0.4,<11.0.0)
Requires-Dist: microblocks-wifi-radio (>=0.4.0,<0.5.0)
Description-Content-Type: text/markdown

# OctoStudio

This Python library pass messages between Python and [OctoStudio](https://octostudio.org/en/).

Specifically, it works with two blocks of OctoStudio:

- beam to phones
- wait for beam (work-in-progress)

![](./octostudio.png)

## Install

```
pip install octostudio
```

## Usage

```
from octostudio import OctoStudio

def on_message(shape_id):
    print(shape_id)

def main():
    octo = OctoStudio()
    octo.on_message = on_message
    octo.start()
```


## For MicroBlocks users

This library was originally used to bridge OctoStudio's Bluetooth radio with MicroBlocks' wifi radio.

To do this you need to install this package, then run the command: `octostudio-microblocks-bridge`

Take a look at the [inner workings](./octostudio/cli.py)
