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.5.tar.gz (10.4 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.5-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: another_sender-0.1.5.tar.gz
  • Upload date:
  • Size: 10.4 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.5.tar.gz
Algorithm Hash digest
SHA256 96c62f62328e91a25b583d41117b5b5a96e1d3f16824931209a858827d8e4081
MD5 d5c7d2435adc933c33e230806e255ca3
BLAKE2b-256 e9279f3dbef7e7a2cb29ccf5c621c719bd6a710f640882d5881759573b6d1077

See more details on using hashes here.

File details

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

File metadata

  • Download URL: another_sender-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 11.3 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b762ff1054fcd3f2b8ea9b85ce15e9c1b013205328ced9d2521cd0c998a473ba
MD5 edc259126f59b196db886d7981a26f03
BLAKE2b-256 46f0d627f030c8272236b909c23beade8b27cae98556f19fdfb0e8a46296ac5c

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