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/yourusername/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.0.tar.gz (7.6 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.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: another_sender-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 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.0.tar.gz
Algorithm Hash digest
SHA256 800eff99977c16c87d81d0e2c2f62f9ad0ffa8cff822d5d9b6bd9c0351b8d9b6
MD5 202df74949125348c254f92c6ce9ad30
BLAKE2b-256 1f6c93fa77907a2964fadf7e43ae85bb1320e84f3c4a9b67395e70c3e0955b34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: another_sender-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac6a19e43b04a45f299efeaba08ac7bd85264a7da4dc2dcaa335a1564e9778df
MD5 78734bce890375d12b89651f03d78386
BLAKE2b-256 3380a2330eaa16614c256ce8180cc90a2fb85f13ec654cc7365b31bf6b8d0299

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