Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

REACHER — Operant Experiment Control Server

Hardware control, session coordination, and live data capture for Arduino-driven rodent operant behavior experiments.

Version Language License Changelog Phoxel Workbench

Written by: Joshua Boquiren


Overview

REACHER runs rodent operant conditioning experiments end to end — it drives the Arduino-based behavioral chamber, records every event as it happens, and exports the session ready for analysis. Paradigms ship as firmware for fixed ratio, progressive ratio, variable interval, omission, and Pavlovian conditioning, each exposing the hardware a self-administration rig actually uses: levers, cue lights and speakers, syringe pumps, lick circuits, and optogenetic laser control. Reinforcement ratios, timing parameters, session limits, and per-board pin assignments are set from the interface, so a rig is reconfigured between subjects without editing or recompiling firmware.

Every lever press, infusion, lick, and cue is timestamped against the trial clock and streamed live to the browser while the session runs, alongside microscope frame timestamps for aligning behavior with calcium imaging. A single host coordinates several chambers at once — each with its own serial port, paradigm, and output file — and hosts on the same network can be paired so one browser drives an entire rig room. Firmware for any paradigm is flashed onto a board directly from the interface, with no separate Arduino toolchain on the experimenter's machine.


Getting Started

pip install reacher2p                               # from PyPI
pip install reacher2p-3.4.0b13-py3-none-any.whl        # from a release wheel

Host setup — installation, pairing, and systemd services — is documented in docs/setup-guide.md; see CONTRIBUTING.md and RELEASING.md for development and release process.


Architecture & Dependencies

Component Language Framework / Libraries
REST & WebSocket API Python 3.10+ FastAPI, Uvicorn, websockets
Serial kernel Python 3.10+ pyserial
Session manager Python 3.10+ Python standard library (threading, asyncio)
Discovery & pairing Python 3.10+ zeroconf, httpx
Terminal monitor Python 3.10+ Rich, httpx
Firmware uploader Python 3.10+ avrdude
Arduino firmware C++ (Arduino) REACHERDevices, arduino-cli (AVR core)

License

This project is released into the public domain under the Unlicense. See LICENSE for details.

Contact

Joshua Boquiren — thejoshbq@proton.me

GitHub: Otis-Lab-MUSC/reacher

Metadata

Release files for reacher2p 3.4.0b13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reacher2p 3.4.0b13
File Size Uploaded Provenance Actions
reacher2p-3.4.0b13.tar.gz 709.3 kB With provenance Details for reacher2p-3.4.0b13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reacher2p 3.4.0b13
File Interpreter ABI Platform Actions
reacher2p-3.4.0b13-py3-none-any.whl Python 3 none any Details for reacher2p-3.4.0b13-py3-none-any.whl

Total release size: 1.3 MB

Release files / reacher2p-3.4.0b13.tar.gz

Download URL reacher2p-3.4.0b13.tar.gz
Size 709.3 kB
Tags Source
SHA-256 checksum
How to use checksums
333c932ccf79a6e2a9c32b27316a27972220dfa34a99208124eb7b8f814bb6c7
BLAKE2b-256 checksum
How to use checksums
402e556f8dad6f9f2ff525ec83b455eab023d8b7583f2db319f1c0cca857d601
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / reacher2p-3.4.0b13-py3-none-any.whl

Download URL reacher2p-3.4.0b13-py3-none-any.whl
Size 564.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6218787d0b17030732f78db780c0e9ac62e2807cbc04799b8badb082669b3129
BLAKE2b-256 checksum
How to use checksums
abe817c78e4f16ed11f01900ea2e10c5b4b0b2d0d819f304a4cca6a1a2a66419
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for reacher2p 3.4.0b13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for reacher2p-3.4.0b13.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page