{"id":15578128,"url":"https://github.com/davep/textual-dominfo","last_synced_at":"2025-10-07T07:30:26.257Z","repository":{"id":217360575,"uuid":"743717557","full_name":"davep/textual-dominfo","owner":"davep","description":"A quick and dirty DOM inspector for debugging Textual apps","archived":false,"fork":false,"pushed_at":"2024-01-15T21:26:29.000Z","size":61,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-20T06:59:22.850Z","etag":null,"topics":["debugging","python","terminal","textual","textual-framework"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/textual-dominfo/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2024-01-15T20:45:18.000Z","updated_at":"2024-04-06T21:09:18.000Z","dependencies_parsed_at":"2024-01-16T00:54:46.946Z","dependency_job_id":null,"html_url":"https://github.com/davep/textual-dominfo","commit_stats":null,"previous_names":["davep/textual-dominfo"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davep%2Ftextual-dominfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davep%2Ftextual-dominfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davep%2Ftextual-dominfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davep%2Ftextual-dominfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davep","download_url":"https://codeload.github.com/davep/textual-dominfo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235600036,"owners_count":19016193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["debugging","python","terminal","textual","textual-framework"],"created_at":"2024-10-02T19:06:01.219Z","updated_at":"2025-10-07T07:30:20.975Z","avatar_url":"https://github.com/davep.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Textual DOMInfo\n\n## Introduction\n\nThis library provides a very simple debugging aid for Textual applications;\ndesigned as a very quick and easy \"what widget is under the mouse and how is\nit styled\" tool.\n\n**TO BE CLEAR:** This isn't a full-blown DOM inspection tool; it's not even\nclose. It's a quick and dirty but handy bit of code to quickly check what\npart of the terminal display belongs to what underlying widget and to see\nhow it's styled.\n\n## Installing\n\nThe package can be installed with `pip` or related tools, for example:\n\n```sh\n$ pip install textual-dominfo\n```\n\n## Using\n\nAs mentioned above, this is only ever intended to be used when trying to\ndebug something, and also note that it will take over [the\ntooltips](https://textual.textualize.io/guide/widgets/#tooltips) of any\nwidgets it is attached to.\n\nTo use, import the class:\n\n```python\nfrom textual_dominfo import DOMInfo\n```\n\nand then in your code somewhere, probably in the `on_mount` method of your\napplication or main screen, attach it like this:\n\n```python\nDOMInfo.attach_to(self)\n```\n\nThis will then install the information tooltip in that widget and all of its\ndescendants.\n\nTo see this in action right away, with the library installed into your\ndevelopment environment, do this:\n\n```sh\n$ python -m textual_dominfo\n```\n\n![The library in action](https://raw.githubusercontent.com/davep/textual-dominfo/main/images/textual-dominfo.png)\n\n[//]: # (README.md ends here)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavep%2Ftextual-dominfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavep%2Ftextual-dominfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavep%2Ftextual-dominfo/lists"}