2025-07-31 16:44:20 -07:00
# Python Scripts
This repository contains a variety of Python scripts ranging from command-line utilities to graphical games and test preparation tools. Below is a brief overview and usage instructions for each script.
---
## Utilities
2026-01-27 17:40:16 -07:00
### `daytrader.py`
**Description:** Automated Day Trading with Alpaca API.
```bash
python3 daytrader.py
```
2025-11-17 11:32:58 -07:00
### `stats-distributed-net.py`
**Description:** Search User or Team statistic data from stats.distributed.net.
```bash
python3 stats-distributed-net.py
```
2025-11-10 10:01:31 -07:00
### `miner-monero.py`
**Description:** Monero (XMR) Miner written in Python.
```bash
python3 miner-monero.py
```
2025-11-10 09:20:08 -07:00
### `miner-kaspa.py`
2025-11-10 10:01:31 -07:00
**Description:** Kaspa (KAS) Miner written in Python.
2025-11-10 09:20:08 -07:00
```bash
python3 miner-kaspa.py
```
2025-11-10 10:01:31 -07:00
### `miner-btc.py`
**Description:** Bitcoin (BTC) Miner written in Python.
2025-11-06 20:05:13 -07:00
```bash
2025-11-10 10:01:31 -07:00
python3 miner-btc.py
2025-11-06 20:05:13 -07:00
```
2025-07-31 16:44:20 -07:00
### `powerball.py`
**Description:** Command-line interface for powerball.com lottery information.
```bash
2024-11-18 11:20:35 -07:00
python3 powerball.py [ -List| -L]
2021-12-13 14:35:02 -07:00
```
2025-07-31 16:44:20 -07:00
### `dnet-user-stats.py`
**Description:** Command-line interface to stats.distributed.net user/project stats.
```bash
2024-11-18 15:42:43 -07:00
python3 dnet-stats.py -p <project> -u <user>
```
2025-07-31 16:44:20 -07:00
### `ua-pay.py`
**Description:** Command-line interface for University of Arizona payroll information.
```bash
2024-11-18 15:42:43 -07:00
python3 ua-pay.py -fn <first_name> -ln <last_name>
2021-12-13 14:35:02 -07:00
```
2025-07-31 16:44:20 -07:00
### `iso2usb-mac.py`
**Description:** Easily write ISO images to USB sticks on macOS.
```bash
2025-01-30 13:44:03 -07:00
python3 iso2usb-mac.py
2025-01-30 13:40:04 -07:00
```
2025-07-31 16:44:20 -07:00
### `text2watermark.py`
**Description:** Convert text to a PNG watermark image.
```bash
2025-03-24 14:45:10 -07:00
python3 text2watermark.py <text>
```
2025-07-31 16:44:20 -07:00
### `chatgpt.py`
**Description:** Command-line interface to chat.openai.com.
```bash
2025-07-07 09:28:49 -07:00
python3 chatgpt.py
```
2025-07-13 12:50:21 -07:00
2025-07-31 16:44:20 -07:00
### `diff-web.py`
**Description:** Monitor a website and send diffs to stdout, a log file, email, or webhook.
```bash
2025-07-24 11:11:01 -07:00
python3 diff-web.py --domain example.com --email user@example.com --hook example.com/hook
```
2025-07-31 16:44:20 -07:00
2025-08-04 09:17:07 -07:00
### `topless.py`
2025-07-31 16:44:20 -07:00
**Description:** Display top system processes with color.
```bash
2025-08-04 09:17:07 -07:00
python3 topless.py
2025-07-31 14:18:16 -07:00
```
2025-07-31 16:44:20 -07:00
---
## Amateur Radio Test Preparation
### `ham-test-cli.py`
**Description:** Amateur Radio Operator License test preparation tool (Command Line Interface).
```bash
python3 ham-test-cli.py
```
### `ham-test-gui.py`
**Description:** Amateur Radio Operator License test preparation tool (Graphical User Interface).
```bash
python3 ham-test-gui.py
```
### `ham-test-www.py`
**Description:** Amateur Radio Operator License test preparation tool (Web Browser).
```bash
python3 ham-test-www.py
```
---
## Screensavers
2025-11-19 13:30:21 -07:00
### `screensaver-matrix.py`
2025-07-31 16:44:20 -07:00
**Description:** The Matrix-themed screensaver.
```bash
2025-11-19 13:30:21 -07:00
python3 screensaver-matrix.py
2025-07-31 16:44:20 -07:00
```
2025-11-19 13:30:21 -07:00
### `screensaver-sushi.py`
2025-07-31 16:44:20 -07:00
**Description:** Sushi-themed screensaver.
```bash
2025-11-19 13:30:21 -07:00
python3 screensaver-sushi.py
2025-07-31 16:44:20 -07:00
```
---
## Games
2025-11-13 12:19:23 -07:00
### `game-groguvstiefighters.py`
**Description:** Grogu vs TIE Fighters game.
```bash
python3 game-groguvstiefighters.py
```
2025-11-13 12:21:00 -07:00
**Controls:**
- Movement: `W` , `A` , `S` , `D` (Keyboard)
- Fire: `Spacebar` (Keyboard), Primary-click (Mouse)
- Exit: `Esc` (Keyboard) or `Q` (Keyboard)
2025-11-13 12:19:23 -07:00
2025-11-18 13:56:58 -07:00
### `game-circlewars.py`
2025-07-31 16:44:20 -07:00
**Description:** Red vs Blue circles game.
```bash
2025-11-18 13:56:58 -07:00
python3 game-circlewars.py
2025-07-31 16:44:20 -07:00
```
**Controls:**
- Movement: `W` , `A` , `S` , `D` (Keyboard) or Direction-pad (Controller)
- Fire: `Spacebar` (Keyboard), Primary-click (Mouse), or `A` button (Controller)
- Pause/Exit: `Esc` (Keyboard) or `Start` (Controller), then `Q` (Keyboard) or `X` (Controller)
2025-11-18 13:56:58 -07:00
### `game-maguro.py`
2025-07-31 16:44:20 -07:00
**Description:** Maguro Cat eats sushi game.
```bash
2025-11-18 13:56:58 -07:00
python3 game-maguro.py
2025-07-31 16:44:20 -07:00
```
**Controls:**
- Movement: `A` (Left), `D` (Right) (Keyboard) or Joy-pad (Controller)
- Pause/Exit: `Esc` (Keyboard) or `Start` (Controller), then `Q` (Keyboard) or `X` (Controller)
2025-09-25 10:56:37 -07:00
### `game-tankwars.py`
2025-08-25 14:25:05 -07:00
**Description:** Red vs Blue tanks game.
```bash
2025-09-25 10:56:37 -07:00
python3 game-tankwars.py
2025-08-25 14:25:05 -07:00
```
**Controls:**
- Movement: `W` , `A` , `S` , `D` (Keyboard) or Direction-pad (Controller)
- Fire: `Spacebar` (Keyboard), Primary-click (Mouse), or `A` button (Controller)
- Pause/Exit: `Esc` (Keyboard) or `Start` (Controller), then `Q` (Keyboard) or `X` (Controller)
2025-07-31 16:44:20 -07:00
---
_Designed and tested on Mac and Linux. May or may not work on Windows. \*shrug\*_