{"id":15475239,"url":"https://github.com/ffy00/dbus-objects","last_synced_at":"2026-02-28T03:01:18.253Z","repository":{"id":45254466,"uuid":"259153938","full_name":"FFY00/dbus-objects","owner":"FFY00","description":"DBus objects implementation on top of the Python type system","archived":false,"fork":false,"pushed_at":"2025-08-11T19:51:33.000Z","size":209,"stargazers_count":11,"open_issues_count":9,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-11T19:36:12.124Z","etag":null,"topics":["dbus","dbus-objects","dbus-python","hacktoberfest","jeepney","python"],"latest_commit_sha":null,"homepage":"https://dbus-objects.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FFY00.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","contributing":null,"funding":"FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"FFY00"}},"created_at":"2020-04-26T23:19:25.000Z","updated_at":"2024-06-22T11:58:25.000Z","dependencies_parsed_at":"2024-10-27T12:15:36.979Z","dependency_job_id":"30dbd9ea-92e5-4e15-9b60-fc1ffe53d381","html_url":"https://github.com/FFY00/dbus-objects","commit_stats":{"total_commits":158,"total_committers":5,"mean_commits":31.6,"dds":"0.37341772151898733","last_synced_commit":"39e304dae83b38700be114b9d4440e3e25f92fde"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/FFY00/dbus-objects","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FFY00%2Fdbus-objects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FFY00%2Fdbus-objects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FFY00%2Fdbus-objects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FFY00%2Fdbus-objects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FFY00","download_url":"https://codeload.github.com/FFY00/dbus-objects/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FFY00%2Fdbus-objects/sbom","scorecard":{"id":48370,"data":{"date":"2025-08-11","repo":{"name":"github.com/FFY00/dbus-objects","commit":"39e304dae83b38700be114b9d4440e3e25f92fde"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 2/20 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/checks.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/FFY00/dbus-objects/checks.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/FFY00/dbus-objects/checks.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/FFY00/dbus-objects/checks.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/FFY00/dbus-objects/checks.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/FFY00/dbus-objects/checks.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/FFY00/dbus-objects/checks.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/FFY00/dbus-objects/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/FFY00/dbus-objects/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/FFY00/dbus-objects/tests.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/FFY00/dbus-objects/tests.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/checks.yml:21","Warn: pipCommand not pinned by hash: .github/workflows/checks.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/checks.yml:27","Warn: pipCommand not pinned by hash: .github/workflows/checks.yml:43","Warn: pipCommand not pinned by hash: .github/workflows/checks.yml:44","Warn: pipCommand not pinned by hash: .github/workflows/checks.yml:62","Warn: pipCommand not pinned by hash: .github/workflows/checks.yml:63","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:33","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   8 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T23:13:36.061Z","repository_id":45254466,"created_at":"2025-08-14T23:13:36.061Z","updated_at":"2025-08-14T23:13:36.061Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29923428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dbus","dbus-objects","dbus-python","hacktoberfest","jeepney","python"],"created_at":"2024-10-02T03:09:23.327Z","updated_at":"2026-02-28T03:01:18.203Z","avatar_url":"https://github.com/FFY00.png","language":"Python","readme":"# dbus-objects\n\n![checks](https://github.com/FFY00/dbus-objects/workflows/checks/badge.svg)\n![tests](https://github.com/FFY00/dbus-objects/workflows/tests/badge.svg)\n[![codecov](https://codecov.io/gh/FFY00/dbus-objects/branch/master/graph/badge.svg)](https://codecov.io/gh/FFY00/dbus-objects)\n[![PyPI version](https://badge.fury.io/py/dbus-objects.svg)](https://pypi.org/project/dbus-objects/)\n\nDBus objects implementation on top of the Python type system.\n\nObject declarations will be introspected and the equivalent DBus signature\nautomatically generated. This makes it incredible easy to develop DBus object\nproviders (\"servers\"), especially if you are already writing typed Python!\n\nIntegrations:\n  - [jeepney](https://gitlab.com/takluyver/jeepney) (blocking IO and [trio](https://github.com/python-trio/trio) backends)\n\n```python\nimport random\n\nfrom typing import List\n\nimport dbus_objects\nimport dbus_objects.integration.jeepney\n\n\nclass ExampleObject(dbus_objects.DBusObject):\n    def __init__(self):\n        super().__init__(default_interface_root='io.github.ffy00.dbus_objects.example')\n        self._bets = []\n        self._name = 'something'\n\n    @dbus_objects.dbus_method()\n    def ping(self) -\u003e str:\n        return 'Pong!'\n\n    @dbus_objects.dbus_method()\n    def print(self, msg: str) -\u003e None:\n        print(msg)\n\n    @dbus_objects.dbus_method()\n    def sum(self, a: int, b: int) -\u003e int:\n        return a + b\n\n    @dbus_objects.dbus_method()\n    def save_bet(self, number: int) -\u003e None:\n        self._bets.append(number)\n\n    @dbus_objects.dbus_method()\n    def get_bets(self) -\u003e List[int]:\n        return self._bets\n\n    @dbus_objects.dbus_method()\n    def lotery(self) -\u003e int:\n        winner = random.choice(self._bets)\n        self._bets = []\n        return winner\n\n    @dbus_objects.dbus_property()\n    def name(self) -\u003e str:\n        return self._name\n\n    @name.setter\n    def name(self, value: str):\n        self._name = value\n        self.name_updated(value)\n\n    name_updated = dbus_objects.dbus_signal(new_name=str)\n\n\nserver = dbus_objects.integration.jeepney.BlockingDBusServer(\n    bus='SESSION',\n    name='io.github.ffy00.dbus-objects',\n)\nserver.register_object('/io/github/ffy00/dbus_objects/example', ExampleObject())\n\nserver.listen()\n```\n\nThis example will generate the following server topology:\n```\npaths\n├── /\n│   ├── org.freedesktop.DBus.Introspectable\n│   │   └── Introspect\n│   └── org.freedesktop.DBus.Peer\n│       └── Ping\n├── /io\n│   ├── org.freedesktop.DBus.Introspectable\n│   │   └── Introspect\n│   └── org.freedesktop.DBus.Peer\n│       └── Ping\n├── /io/github\n│   ├── org.freedesktop.DBus.Introspectable\n│   │   └── Introspect\n│   └── org.freedesktop.DBus.Peer\n│       └── Ping\n├── /io/github/ffy00\n│   ├── org.freedesktop.DBus.Introspectable\n│   │   └── Introspect\n│   └── org.freedesktop.DBus.Peer\n│       └── Ping\n├── /io/github/ffy00/dbus_objects\n│   ├── org.freedesktop.DBus.Introspectable\n│   │   └── Introspect\n│   └── org.freedesktop.DBus.Peer\n│       └── Ping\n└── /io/github/ffy00/dbus_objects/example\n    ├── io.github.ffy00.dbus_objects.example.ExampleObject\n    │   ├── GetBets\n    │   ├── Lotery\n    │   ├── Ping\n    │   ├── Print\n    │   ├── SaveBet\n    │   └── Sum\n    ├── org.freedesktop.DBus.Introspectable\n    │   └── Introspect\n    ├── org.freedesktop.DBus.Peer\n    │   └── Ping\n    └── org.freedesktop.DBus.Properties\n        ├── Get\n        ├── GetAll\n        └── Set\n```\n\nAnd, for eg., the following DBus introspection XML for `/io/github/ffy00/dbus_objects/example`:\n```xml\n\u003c!DOCTYPE node PUBLIC\n\"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN\"\n\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\" \u003e\n\u003cnode\u003e\n\t\u003cinterface name=\"io.github.ffy00.dbus_objects.example.ExampleObject\"\u003e\n\t\t\u003cmethod name=\"Ping\"\u003e\n\t\t\t\u003carg direction=\"out\" type=\"s\" /\u003e\n\t\t\u003c/method\u003e\n\t\t\u003cmethod name=\"Print\"\u003e\n\t\t\t\u003carg direction=\"in\" type=\"s\" name=\"msg\" /\u003e\n\t\t\u003c/method\u003e\n\t\t\u003cmethod name=\"Sum\"\u003e\n\t\t\t\u003carg direction=\"in\" type=\"i\" name=\"a\" /\u003e\n\t\t\t\u003carg direction=\"in\" type=\"i\" name=\"b\" /\u003e\n\t\t\t\u003carg direction=\"out\" type=\"i\" /\u003e\n\t\t\u003c/method\u003e\n\t\t\u003cmethod name=\"SaveBet\"\u003e\n\t\t\t\u003carg direction=\"in\" type=\"i\" name=\"number\" /\u003e\n\t\t\u003c/method\u003e\n\t\t\u003cmethod name=\"GetBets\"\u003e\n\t\t\t\u003carg direction=\"out\" type=\"ai\" /\u003e\n\t\t\u003c/method\u003e\n\t\t\u003cmethod name=\"Lotery\"\u003e\n\t\t\t\u003carg direction=\"out\" type=\"i\" /\u003e\n\t\t\u003c/method\u003e\n\t\t\u003cproperty name=\"Name\" type=\"s\" access=\"readwrite\" /\u003e\n\t\t\u003csignal name=\"NameUpdated\"\u003e\n\t\t\t\u003carg type=\"s\" name=\"new_name\" /\u003e\n\t\t\u003c/signal\u003e\n\t\u003c/interface\u003e\n\t\u003cinterface name=\"org.freedesktop.DBus.Properties\"\u003e\n\t\t\u003cmethod name=\"Get\"\u003e\n\t\t\t\u003carg direction=\"in\" type=\"s\" name=\"interface_name\" /\u003e\n\t\t\t\u003carg direction=\"in\" type=\"s\" name=\"property_name\" /\u003e\n\t\t\t\u003carg direction=\"out\" type=\"v\" /\u003e\n\t\t\u003c/method\u003e\n\t\t\u003cmethod name=\"Set\"\u003e\n\t\t\t\u003carg direction=\"in\" type=\"s\" name=\"interface_name\" /\u003e\n\t\t\t\u003carg direction=\"in\" type=\"s\" name=\"property_name\" /\u003e\n\t\t\t\u003carg direction=\"in\" type=\"v\" name=\"value\" /\u003e\n\t\t\u003c/method\u003e\n\t\t\u003cmethod name=\"GetAll\"\u003e\n\t\t\t\u003carg direction=\"in\" type=\"s\" name=\"interface_name\" /\u003e\n\t\t\t\u003carg direction=\"out\" type=\"a{sv}\" /\u003e\n\t\t\u003c/method\u003e\n\t\u003c/interface\u003e\n\t\u003cinterface name=\"org.freedesktop.DBus.Peer\"\u003e\n\t\t\u003cmethod name=\"Ping\" /\u003e\n\t\u003c/interface\u003e\n\t\u003cinterface name=\"org.freedesktop.DBus.Introspectable\"\u003e\n\t\t\u003cmethod name=\"Introspect\"\u003e\n\t\t\t\u003carg direction=\"out\" type=\"s\" name=\"xml\" /\u003e\n\t\t\u003c/method\u003e\n\t\u003c/interface\u003e\n\u003c/node\u003e\n```\n\n\n### License\n\nMIT\n","funding_links":["https://github.com/sponsors/FFY00"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffy00%2Fdbus-objects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fffy00%2Fdbus-objects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffy00%2Fdbus-objects/lists"}