Metadata-Version: 2.4
Name: tastm32
Version: 1.0.0
Summary: Library and Control scripts for a TAStm32 replay device
Author-email: TheMas3212 <mas3212@gmail.com>, Ownasaurus <Ownasaurus@users.noreply.github.com>, rasteri <andy@rasteri.com>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/themas3212/TAStm32-py
Project-URL: Issues, https://github.com/themas3212/TAStm32-py/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyserial>=3.4
Requires-Dist: psutil>=5.6.7
Requires-Dist: inputs>=0.5
Requires-Dist: tasd>=1.0
Dynamic: license-file


# TAStm32

This is a python library for controlling a [TAStm32 replay device](https://github.com/Ownasaurus/TAStm32/tree/master)


## Installation

Install tastm32 with pip

```bash
  pip install tastm32
```

## Executables

Provides the following executables

`tastm32-play` Play files using cli arguments

`tastm32-tasd` Play TASD files directly (Experimental)

`tastm32-clear` Reset the state of the TAStm32 device

`tastm32-controller` Basic mapping of XInput controller to SNES

`tastm32-dfu` Reset TAStm32 into DFU firmware mode

`tastm32-dumpinfo` Query and display a variety of infomation baked into the firmware onboard the TAStm32

`tastm32-ping` Simple ping of the device to confirm communication

`tastm32-power` Manage Reset pin state (On, Off, Reset)

`tastm32-remote` Basic CLI app for sending single inputs

`tastm32-stream-nes-mono` Script for streaming raw pcm audio to a NES (for JukeNES payload)

`tastm32-stream-snes-stereo` Script for streaming raw pcm audio to a SNES (for JukeSNES payload)



## API Usage/Examples


Simple script that setups the device and pings it, wating for a response
```py
import tastm32
dev = tastm32.TAStm32("/dev/ttyACM0")
dev.ping()
dev.waitForPong()
```
