{ "info": { "author": "Anne Mulhern", "author_email": "amulhern@redhat.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "A Python Library for Generating D-Bus Client Code\n=================================================\n\nIntroduction\n------------\nThis library contains a few methods that consume an XML specification of\na D-Bus interface and return classes or functions that may be useful in\nconstructing a python D-Bus client. The XML specification has the\nformat of the data returned by the Introspect() method of the Introspectable\ninterface.\n\nMethods\n-------\n\nmanaged_object_class\n^^^^^^^^^^^^^^^^^^^^\n This function consumes the spec for a single interface and returns a class\n which constructs objects which wrap the table for a particular object in the\n format returned by the GetManagedObjects() method of the ObjectManager\n interface. Each object has an instance method for each property of the\n interface.\n\nmo_query_builder\n^^^^^^^^^^^^^^^^^\n This function consumes the spec for a single interface and returns a function\n which implements a query on the whole object returned by a GetManagedObjects()\n call. The query function takes two arguments: the GetManagedObjects() object\n and a dict of key/value pairs. The query function generates pairs of the\n object path and corresponding table which match all the key/value pairs in\n the table.\n\n\nErrors\n------\nThis library exports the exception type DbusClientError and all its subtypes.\nIt constitutes a bug if an error of any other type is propagated during class\ngeneration or when the methods of the class are executed.\n\nThe following shows the error heirarchy. Entries after the dash indicate\nadditional fields beyond the message which the exception contains. Only leaves\nof the error class heirarchy are constructed directly.\n\n\nDbusClientError\n\n * DbusClientGenerationError\n This exception is raised if an error occurs while generating a method.\n Such an exception would result from introspection data which lacked the\n necessary attributes or entries.\n\n * DbusClientRuntimeError - interface name\n This exception is raised if there is an error while the generated method\n is executing.\n\n - DbusClientMissingInterfaceError\n This exception is raisded if when constructing a managed object it\n turns out that its argument does not have an entry for the\n expected interface.\n\n - DbusClientMissingPropertyError - property name\n This exception is raised if when reading a value for a managed\n object it turns out that the value corresponding to that property\n is not available.\n\n - DbusClientMissingSearchPropertiesError - too many fields to list here\n This exception is raised if when traversing a GetManagedObjects()\n result the keys used by the query have no corresponding values in the\n result.\n\n - DbusClientUnknownSearchPropertiesError -- too many fields to list here\n This exception is raised if the search properties specified can not\n be found in the specified interface.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mulkieran/dbus-client-gen", "keywords": "", "license": "MPL 2.0", "maintainer": "", "maintainer_email": "", "name": "dbus-client-gen", "package_url": "https://pypi.org/project/dbus-client-gen/", "platform": "Linux", "project_url": "https://pypi.org/project/dbus-client-gen/", "project_urls": { "Homepage": "https://github.com/mulkieran/dbus-client-gen" }, "release_url": "https://pypi.org/project/dbus-client-gen/0.4/", "requires_dist": null, "requires_python": "", "summary": "generates classes and methods useful to a D-Bus client", "version": "0.4" }, "last_serial": 4494365, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d45e2e513544993ec7882717119b778a", "sha256": "dbc34273452a50ca9612bdef02458ace17df1bdadddf4ce6dac754475f9e8a26" }, "downloads": -1, "filename": "dbus-client-gen-0.1.tar.gz", "has_sig": false, "md5_digest": "d45e2e513544993ec7882717119b778a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3926, "upload_time": "2017-05-05T20:20:27", "url": "https://files.pythonhosted.org/packages/e6/e5/8818c1321cf0634607c9f860f217bf8a36c81ab42958bb890edb375d3c15/dbus-client-gen-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "4250c0cdf770264bfe7eda65748a21a1", "sha256": "697aadb8934429496ae58b7c253e6eb6ae1f8816b233e1ea1344160c1b2a2539" }, "downloads": -1, "filename": "dbus-client-gen-0.2.tar.gz", "has_sig": false, "md5_digest": "4250c0cdf770264bfe7eda65748a21a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4114, "upload_time": "2017-09-25T19:14:44", "url": "https://files.pythonhosted.org/packages/37/27/ed6b2b2491c8e238aa595300ccf34994c443c2b56b74cb250e6cb35300c6/dbus-client-gen-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "e0185ef6c0b988abf2a086f8750057fe", "sha256": "c09ccdc866c57a837753a1bf5c259d7905287582ed91603e3c56593444ae6a62" }, "downloads": -1, "filename": "dbus-client-gen-0.3.tar.gz", "has_sig": false, "md5_digest": "e0185ef6c0b988abf2a086f8750057fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5873, "upload_time": "2018-05-31T19:00:09", "url": "https://files.pythonhosted.org/packages/d1/21/65cc5e5cdba19d7ae5a76d6661417cc4554d172068109682a28236353697/dbus-client-gen-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "c35f1b92ce9755031a0d210149c4763d", "sha256": "3ca7b626bcea4b30eb46d8a4b0bd77574e89b1c9273c0621a34d22022aed2c0e" }, "downloads": -1, "filename": "dbus-client-gen-0.4.tar.gz", "has_sig": false, "md5_digest": "c35f1b92ce9755031a0d210149c4763d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5987, "upload_time": "2018-11-16T16:58:45", "url": "https://files.pythonhosted.org/packages/f7/a9/3f961067237cce4c6b30d20554c6bc7b92a9188d601516d9ed256ece8b49/dbus-client-gen-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c35f1b92ce9755031a0d210149c4763d", "sha256": "3ca7b626bcea4b30eb46d8a4b0bd77574e89b1c9273c0621a34d22022aed2c0e" }, "downloads": -1, "filename": "dbus-client-gen-0.4.tar.gz", "has_sig": false, "md5_digest": "c35f1b92ce9755031a0d210149c4763d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5987, "upload_time": "2018-11-16T16:58:45", "url": "https://files.pythonhosted.org/packages/f7/a9/3f961067237cce4c6b30d20554c6bc7b92a9188d601516d9ed256ece8b49/dbus-client-gen-0.4.tar.gz" } ] }