Programming- and CLI-Interface for the h5-dataformat of the Shepherd-Testbed
Project description
Shepherd - Core
This Python Module bundles data-models and file-access-routines for the shepherd-testbed, that are used by several codebases.
Users probably want to use the datalib.
Main Project: https://github.com/orgua/shepherd
Source Code: https://github.com/orgua/shepherd-datalib
This library allows to
- read and write shepherds h5-files
- create, read, write and convert experiments for the testbed (all data-models included)
- simulate the virtual source, including virtual harvesters
- connect and query the testbed via a webclient (TestbedClient)
- work with target-firmwares
- embed, modify, verify, convert
- Note: working with ELF-files requires external dependencies, see
Installation
-Chapter
- decode waveforms -> uart
see examples for more details.
Installation
The Library is available via PyPI and can be installed with
pip install shepherd-core
# or for the full experience
pip install shepherd-data
If you are working with .elf
-files (embedding into experiments) you make "objcopy" accessible to python. In Ubuntu, you can either install build-essential
or binutils-$ARCH
with arch being msp430
or arm-none-eabi
for the nRF52.
sudo apt install build-essential
For more advanced work with .elf
-files (modify value of symbols / target-ID) you should install
pip install shepherd-core[elf]
and also make sure the prereqs for the pwntools are met.
For creating an inventory of the host-system you should install
pip install shepherd-core[inventory]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for shepherd_core-2023.8.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b36e52210277bbc2e6233f0dc02117f0856b44f60b2f37391b343d3108d8a27 |
|
MD5 | bf263a810c6da6ca95adb7077e480829 |
|
BLAKE2b-256 | dc299c147428e00914cd2611a20f89d1042ba8a50613e88a03d6464cb487c4e0 |