Metadata-Version: 2.4
Name: nubrain
Version: 0.1.21
Summary: NuBrain connect
Project-URL: Homepage, https://nubrain.io/
Author-email: nuBrain Team <hello@nubrain.io>
License-Expression: MIT
Requires-Python: >=3.10
Requires-Dist: brainflow>=5.16.0
Requires-Dist: certifi>=2025.4.26
Requires-Dist: charset-normalizer>=3.4.2
Requires-Dist: h5py
Requires-Dist: idna>=3.10
Requires-Dist: numpy>=2.2.6
Requires-Dist: pillow>=11.2.1
Requires-Dist: pygame>=2.6.1
Requires-Dist: pylsl>=1.17.6
Requires-Dist: pyyaml
Requires-Dist: requests>=2.32.3
Requires-Dist: scipy>=1.15.3
Requires-Dist: urllib3>=2.4.0
Provides-Extra: dev
Requires-Dist: build; extra == 'dev'
Requires-Dist: spyder-kernels==2.5.2; extra == 'dev'
Requires-Dist: twine; extra == 'dev'
Description-Content-Type: text/markdown

# nubrain-connect

Create Pipfile (only when running for the first time):
```bash
conda create -y -n py-nubrain -c conda-forge pip setuptools pipenv python=3.12
cd /home/john/github/nubrain-connect
pipenv --rm
rm Pipfile Pipfile.lock
pipenv install -e ./app
pipenv install -e "./app[dev]" --dev
```

Update Pipfile (after modifying dependencies in `pyproject.toml` file):
```bash
cd /home/john/github/nubrain-connect
conda activate py-nubrain
pipenv lock --clear
```

For local testing:
```bash
# Not the `liblsl` dependency (needed by pylsls).
conda create -y -n py-nubrain -c conda-forge pip setuptools pipenv liblsl python=3.12
conda activate py-nubrain
pip install -e /home/john/github/nubrain-connect/app
```

## Run experiment

```bash
sudo nano /sys/bus/usb-serial/devices/ttyUSB0/latency_timer
# Change to 1

conda activate py-nubrain

nubrain --config=/path/to/example_config.yaml
```
