Skip to main content

CLI to send command files over UDP, SPI, and more.

Project description

📡 another-sender

another-sender is a command-line tool for sending command files over UDP (SPI and I2C coming soon). Designed for embedded development, hardware testing, and automation workflows.


✨ Features

  • 📂 Command file folder selection
  • 🧠 Configurable parser types: text, hex, json
  • 🔧 Adjustable delay between lines
  • 🌐 UDP communication support (SPI/I2C extensible)
  • 💾 Persistent configuration via command.meta.json and udp_config.json
  • 🧼 Clean CLI interface with interactive menus

🚀 Installation

pip install another-sender

Or for development:

git clone https://github.com/minipcb/another-sender.git
cd another-sender
pip install -e .

🛠 Usage

Launch the CLI:

another-sender

Or check the version:

another-sender --version

🧩 Menu Options

  • A – Send all files in the selected folder
  • T – Set delay (in seconds) between sending each line
  • C – Change active command folder (commands/)
  • M – Change communication mode (UDP, SPI, I2C)
  • P – Change parser type (text, hex, json)
  • Select a file number to send a specific file
  • Q – Quit

🧾 Command File Format

Command files are plain text and support:

  • Blank lines and # comments (ignored)
  • Commands interpreted based on parser type

Example (text)

# type: text
PING
RESET
START

Example (hex)

01 FF A0 0D
02 00 3B

🔄 Persistent Config

Stored in:

  • command.meta.json
    • Communication mode
    • Parser type
    • Command folder
  • udp_config.json
    • IP address and port
    • Delay setting

📁 Folder Structure

commands/
├── default/
│   ├── INIT_SYSTEM.txt
│   ├── CMD_ALL.txt

📌 Roadmap

  • UDP Support
  • Multi-parser logic
  • Config metadata file
  • SPI and I2C backend integration
  • Rich-based TUI
  • Batch mode (--send <file>)

📃 License

MIT License © 2025 Nolan Manteufel

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

another_sender-0.1.3.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

another_sender-0.1.3-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file another_sender-0.1.3.tar.gz.

File metadata

  • Download URL: another_sender-0.1.3.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for another_sender-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3dbf026f9cb0e04a783d149b25c05a1d4f367f91fefab061c09fa0b4c01169b4
MD5 c52ffb9a67f5ed6e0646820466bf9b30
BLAKE2b-256 f0fd96db1594487566eb1c5c6231ac7afe587d2e3871b49b3146c14bbdc7c4fe

See more details on using hashes here.

File details

Details for the file another_sender-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: another_sender-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for another_sender-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c6bf1c79102299cde3e2f1640659154e235134ff2c2d0d9448f1a0aa772ee9ec
MD5 06a7574bb642911c86c5bc9f255fe444
BLAKE2b-256 49e039c427fc3ceceb219e04d433af15103b0107b41678967be11995a327dc66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page