JeysonFlores / xml2godbus

Terminal app to parse XML DBus introspection files to godbus services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xml2godbus

Parse your XML introspection file for DBus to the godbus library.

Note: This is work in progress, it may not work properly for some specific use cases

Supported features:

  • Methods
  • Signals
  • Properties

Supported datatypes:

  • byte | BYTE
  • bool | BOOLEAN
  • int16 | INT16
  • uint16 | UINT16
  • int | INT32
  • uint | UINT32
  • int32 | INT32
  • uint32 | UINT32
  • int64 | INT64
  • uint64 | UINT64
  • float64 | DOUBLE
  • string | STRING
  • ObjectPath | OBJECT_PATH
  • Signature | SIGNATURE
  • Variant | VARIANT
  • interface{} | VARIANT
  • UnixFDIndex | UNIX_FD
  • array | ARRAY
  • map | DICT
  • struct | STRUCT

Build & Installation

Dependencies

- click (8.0.3)
- xmltodict (0.12.0)

To install them just run:

pip3 install click xmltodict

Build

git clone https://github.com/JeysonFlores/xml2godbus
cd xml2godbus
sudo python3 setup.py install

Run

xml2-godbus --xml MyFile.xml

About

Terminal app to parse XML DBus introspection files to godbus services.

License:MIT License


Languages

Language:Python 100.0%