Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
This is a small Python framework targeted towards the testing of remote systems like satellites and rovers. It simplifies sending and receiving TMTCs (Telemetry and Telecommands) and testing via different communication interfaces. This tool can be used either as a command line tool or as a GUI tool which requires a PyQt6 installation.
The framework currently supports the following communication interfaces (among others):
It is also possible to supply custom interfaces.
The examples
folder contains a simple
example using a dummy communication interface. It sends a PUS ping telecommand and then reads the
ping reply and the verification replies back from the dummy interface. Assuming, the package was
installed in a virtual environment like shown in the installation chapter, it can be
run like this for the CLI mode:
cd examples
./tmtcc.py
or like this for the GUI mode:
cd examples
./tmtcc.py -g
The EIVE and SOURCE project implementation of the TMTC commander provide more complex implementations.
To run the tests, install the test requirements first with the following command, assuming a virtual environment:
pip install .[test]
All tests are provided in the src/test
folder and can be run with coverage information
by running
coverage run -m pytest
provided that pytest
and coverage
were installed with
pip install coverage pytest
It is recommended to use a virtual environment when installing this library. The steps here assume you have set up and activated the environment.
To install the full version with GUI support, run the following command to install from the cloned source code
pip install .[gui]
You can omit [gui]
for a CLI only installation. Alternatively you can also install the package
from PyPI with pip install tmtccmd[gui]
.
The documentation is built with Sphinx
Install the required dependencies first:
pip install -r docs/requirements.txt
Then the documentation can be built with
cd docs
make html
The doctests can be run with the following command
cd docs
make doctest
When using PyCharm and running the application from PyCharm, it is recommended to set
the Emulate terminal in output console
option. This is because packages like prompt-toolkit
require a complete terminal for features like auto-complete to work.
FAQs
TMTC Commander Core
We found that tmtccmd demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.