Skip to main content

Python generator and tools for libstored

Project description

(py)libstored -- Store generator and Embedded Debugger client

libstored is a generator for a C++ class (store) with your application's variables, and a tool set to synchronize updates between processes (including FPGA), and debug it remotely. Refer to the documentation for details and examples.

This Python package contains:

  • The generator itself.
  • The client implementation of the Debugger protocol (version 2), and a few helper classes and modules to debug your application.

The synchronization protocol of libstored is not available in python (yet?).

Generator

In short, to generate the store, run python3 -m libstored.cmake, which produces a FindLibstored.cmake for you. Then, call find_package(Libstored) in your CMakeLists.txt. Afterwards, the CMake function libstored_generate() can be used to create the store (C++ header/source files, VHDL package, documentation) for you and build it as a static library.

This library includes the Debugger, which provides the server side of the Debugging client below.

Debugging client

Execute these modules like python3 -m libstored.gui, optionally with -h argument to get some more help:

  • libstored.gui: a GUI that connects to a debug target.
  • libstored.cli: a command line interface that connects to a debug target.
  • libstored.wrapper.stdio: a stdin/stdout wrapper, which is a bridge between Embedded Debugger messages within the stdin/stdout streams of the application to a ZeroMQ socket interface, which in turn can be used to connect libstored.gui or libstored.cli to.
  • libstored.wrapper.serial: like libstored.wrapper.stdio, but using pyserial instead of stdin/stdout.
  • libstored.log: command line tool that connects to a debug target and logs samples to CSV. It is equivalent to passing -f to libstored.gui, but this tool allows easier automation of a specific set of samples.

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

libstored-2.2.0.tar.gz (321.0 kB view details)

Uploaded Source

Built Distribution

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

libstored-2.2.0-py3-none-any.whl (362.5 kB view details)

Uploaded Python 3

File details

Details for the file libstored-2.2.0.tar.gz.

File metadata

  • Download URL: libstored-2.2.0.tar.gz
  • Upload date:
  • Size: 321.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for libstored-2.2.0.tar.gz
Algorithm Hash digest
SHA256 6bb560d645f2f4dc2c5bcaba66757e369056832e69691a34fd2cc13ce99ce1e9
MD5 86021ef1955a8b811e0a64060a11199a
BLAKE2b-256 efa5be7dc06ca115248b0fc010ac9d955820d1bec72b03d23e2f37187b701116

See more details on using hashes here.

File details

Details for the file libstored-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: libstored-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 362.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for libstored-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6587184a494f9c61ed02542b76d820d45027c3c22d20ce30da721c54383c9e2b
MD5 6da07d4e3c514b2c603c9842f9f07730
BLAKE2b-256 45461202ec5cfc32dcdb702c7039924006ba60dd37cc4b05d71e1a8b4144ef4c

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