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.1.tar.gz (7.1 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.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: another_sender-0.1.1.tar.gz
  • Upload date:
  • Size: 7.1 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.1.tar.gz
Algorithm Hash digest
SHA256 5f6c4cacc9e2f9416f52adc67856d63dc3394a710dbe10cf51c2a14d6a8ac459
MD5 df8df9c60c81f7a76050f80e0a1f8068
BLAKE2b-256 ef916f0cf66febe685058e84d15e323333869b7dce7ad1fbd85ffa840fcb67c0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: another_sender-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09e965ebd2d0b85a633f3d0e25a0dc3e7597b5e214ddf93437750644f990b0ba
MD5 c4568c891f3a3faf82ae4572c24e02f8
BLAKE2b-256 ccc3aa41773b747df143fe3ed4eecec78810dd242d1ee06cb51c447e7b003d4b

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