Skip to main content

Generate DBus

gen_dbus is tool for generation of dbus modules.

Developed in python code.

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

gen_dbus python checker gen_dbus package checker GitHub issues open GitHub contributors

Table of Contents

Installation

Used next development environment

debian linux os

gen_dbus python3 build

Currently there are three ways to install package

  • Install process based on using pip mechanism
  • Install process based on build mechanism
  • Install process based on setup.py mechanism
  • Install process based on docker mechanism
Install using pip

**gen_dbus is located at pypi.org.

You can install by using pip

# python3
pip3 install gen-dbus
Install using build

Navigate to release page download and extract release archive.

To install gen_dbus type the following

tar xvzf gen_dbus-x.y.z.tar.gz
cd gen_dbus-x.y.z/
# python3
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py 
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build --no-isolation --wheel
pip3 install ./dist/gen_dbus-*-py3-none-any.whl
rm -f get-pip.py
chmod 755 /usr/local/lib/python3.9/dist-packages/usr/local/bin/gen_dbus_run.py
ln -s /usr/local/lib/python3.9/dist-packages/usr/local/bin/gen_dbus_run.py /usr/local/bin/gen_dbus_run.py
Install using py setup

Navigate to release page download and extract release archive.

To install gen_dbus locate and run setup.py with arguments

tar xvzf gen_dbus-x.y.z.tar.gz
cd gen_dbus-x.y.z/
# python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_data
python3 setup.py install_egg_info
Install using docker

You can use Dockerfile to create image/container.

Dependencies

gen_dbus requires next modules and libraries

Tool structure

gen_dbus is based on OOP

Generator structure

    gen_dbus/
        ├── conf/
        │   ├── gen_dbus.cfg
        │   ├── gen_dbus.logo
        │   ├── gen_dbus_util.cfg
        │   ├── project.yaml
        │   └── template/
        │       ├── posix_c/
        │       │   ├── dbus_client/
        │       │   │   ├── AUTHORS.template
        │       │   │   ├── autogen.template
        │       │   │   ├── ChangeLog.template
        │       │   │   ├── configure.template
        │       │   │   ├── COPYING.template
        │       │   │   ├── Makefile.template
        │       │   │   ├── NEWS.template
        │       │   │   ├── README.template
        │       │   │   └── src/
        │       │   │       ├── main.template
        │       │   │       └── Makefile.template
        │       │   └── dbus_server/
        │       │       ├── AUTHORS.template
        │       │       ├── autogen.template
        │       │       ├── ChangeLog.template
        │       │       ├── configure.template
        │       │       ├── COPYING.template
        │       │       ├── Makefile.template
        │       │       ├── NEWS.template
        │       │       ├── README.template
        │       │       └── src/
        │       │           ├── main.template
        │       │           └── Makefile.template
        │       ├── posix_cxx/
        │       │   ├── dbus_client/
        │       │   │   ├── AUTHORS.template
        │       │   │   ├── autogen.template
        │       │   │   ├── ChangeLog.template
        │       │   │   ├── configure.template
        │       │   │   ├── COPYING.template
        │       │   │   ├── Makefile.template
        │       │   │   ├── NEWS.template
        │       │   │   ├── po/
        │       │   │   │   ├── ChangeLog.template
        │       │   │   │   ├── LINGUAS.template
        │       │   │   │   └── POTFILES.template
        │       │   │   ├── README.template
        │       │   │   └── src/
        │       │   │       ├── main.template
        │       │   │       └── Makefile.template
        │       │   └── dbus_server/
        │       │       ├── AUTHORS.template
        │       │       ├── autogen.template
        │       │       ├── ChangeLog.template
        │       │       ├── configure.template
        │       │       ├── COPYING.template
        │       │       ├── Makefile.template
        │       │       ├── NEWS.template
        │       │       ├── po/
        │       │       │   ├── ChangeLog.template
        │       │       │   ├── LINGUAS.template
        │       │       │   └── POTFILES.template
        │       │       ├── README.template
        │       │       └── src/
        │       │           ├── main.template
        │       │           └── Makefile.template
        │       └── posix_py/
        │           ├── dbus_client/
        │           │   ├── AUTHORS.template
        │           │   ├── autogen.template
        │           │   ├── ChangeLog.template
        │           │   ├── configure.template
        │           │   ├── COPYING.template
        │           │   ├── Makefile.template
        │           │   ├── NEWS.template
        │           │   ├── README.template
        │           │   └── src/
        │           │       ├── dbus_client.template
        │           │       └── Makefile.template
        │           └── dbus_server/
        │               ├── AUTHORS.template
        │               ├── autogen.template
        │               ├── ChangeLog.template
        │               ├── configure.template
        │               ├── COPYING.template
        │               ├── Makefile.template
        │               ├── NEWS.template
        │               ├── README.template
        │               └── src/
        │                   ├── dbus_server.template
        │                   └── Makefile.template
        ├── __init__.py
        ├── log/
        │   └── gen_dbus.log
        ├── pro/
        │   ├── __init__.py
        │   ├── read_template.py
        │   └── write_template.py
        ├── py.typed
        └── run/
            └── gen_dbus_run.py
    
    23 directories, 77 files

Code coverage

Name Stmts Miss Cover
gen_dbus/__init__.py 73 12 84%
gen_dbus/pro/__init__.py 62 1 98%
gen_dbus/pro/read_template.py 115 15 87%
gen_dbus/pro/write_template.py 90 13 86%
Total 340 41 88%

Docs

Documentation Status

More documentation and info at

Contributing

Contributing to gen_dbus

License: GPL v3 License

Copyright (C) 2021 - 2026 by vroncevic.github.io/gen_dbus

gen_dbus is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 3.x or, at your option, any later version of Python 3 you may have available.

Lets help and support PSF.

Python Software Foundation

Donate

Metadata

Release files for gen-dbus 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gen-dbus 1.1.5
File Size Uploaded
gen_dbus-1.1.5.tar.gz 25.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gen-dbus 1.1.5
File Interpreter ABI Platform
gen_dbus-1.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 53.5 kB

Release files / gen_dbus-1.1.5.tar.gz

Download URL gen_dbus-1.1.5.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
907a5fbb418f690da941f88971589d4ae9df9d639b649afcfc65d123a998e779
BLAKE2b-256 checksum
How to use checksums
58abb8e726cef018c96aea85d69149efb3aa687c5d3fe8f400706fc99b89eead
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.0 CPython/3.12.3

Release files / gen_dbus-1.1.5-py3-none-any.whl

Download URL gen_dbus-1.1.5-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94032ab7ddd35a65b33bd86f86f7d60d301d154ff52b33babdf7ad44415a4ef7
BLAKE2b-256 checksum
How to use checksums
a43a21456117f4f9838d3a4585d4fae040f3fa731c56d591da1f30e91eeea2ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.1.5 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page