Skip to main content

Command line tool that quickly lets you send a can frame using the message and signal names encoded in a KCD

Project description

pycan-send

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install pycan-send

Usage

pycan-send path/to/file.kcd can0 -m MessageName -s SignalName Value

Value can be numeric or, for signals that define labeled choices in the KCD, the label name itself (e.g. -s Mode Active).

Fish tab completion

One-shot (current shell only):

_PYCAN_SEND_COMPLETE=fish_source pycan-send | source

Persistent:

_PYCAN_SEND_COMPLETE=fish_source pycan-send > ~/.config/fish/completions/pycan-send.fish

Once enabled, tab completion works for KCD files, message names (-m <TAB> after the KCD path), signal names, and choice labels — all pulled live from the KCD file given on the command line.

License

pycan-send is distributed under the terms of the MIT license.

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

pycan_send-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

pycan_send-0.0.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file pycan_send-0.0.1.tar.gz.

File metadata

  • Download URL: pycan_send-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pycan_send-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9bdc39c076857ffaccb4d741764e28702cba5e6733a878f1de045ea649e7ac2f
MD5 189ca85fdbedda721fd33ecc1077c04f
BLAKE2b-256 0f6578fda5209e8b64f7b03357f0b0a61e3e5bf757e7680a4b212150598d9f8c

See more details on using hashes here.

File details

Details for the file pycan_send-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pycan_send-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pycan_send-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 181f7c3ac8ccf20fa40d556855beafb188220d63a637bf1e4b38e0b8cf06ef6e
MD5 e11c3b835be814227c71102377dfb41b
BLAKE2b-256 363f265cc24a25f62b8da09d340b3ebb6798e91f2696414f88a8be4310356316

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