Files
Python/README.md
T

146 lines
3.5 KiB
Markdown
Raw Normal View History

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
2025-11-10 09:20:08 -07:00
### `miner-kaspa.py`
**Description:** Kaspa Miner written in Python.
```bash
python3 miner-kaspa.py
```
2025-11-06 20:05:13 -07:00
### `macminer.py`
**Description:** BTC Miner written in Python.
```bash
python3 macminer.py
```
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
### `matrix-screensaver.py`
**Description:** The Matrix-themed screensaver.
```bash
python3 matrix-screensaver.py
```
### `sushi-screensaver.py`
**Description:** Sushi-themed screensaver.
```bash
python3 sushi-screensaver.py
```
---
## Games
### `circlewars-game.py`
**Description:** Red vs Blue circles game.
```bash
python3 circlewars-game.py
```
**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)
### `maguro-game.py`
**Description:** Maguro Cat eats sushi game.
```bash
python3 maguro-game.py
```
**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\*_