{"id":21560274,"url":"https://github.com/awesome-panel/panel-xml","last_synced_at":"2026-01-28T17:36:57.116Z","repository":{"id":259473507,"uuid":"878076720","full_name":"awesome-panel/panel-xml","owner":"awesome-panel","description":"An XML widget for interactively exploring XML in Python notebooks and Panel data apps.","archived":false,"fork":false,"pushed_at":"2024-10-29T09:46:22.000Z","size":8613,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-01T06:02:07.046Z","etag":null,"topics":["data-app","data-visualization","holoviz-panel","notebook","python","xml"],"latest_commit_sha":null,"homepage":"https://awesome-panel.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awesome-panel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-10-24T18:31:19.000Z","updated_at":"2024-10-29T09:46:25.000Z","dependencies_parsed_at":"2024-12-30T23:11:38.045Z","dependency_job_id":null,"html_url":"https://github.com/awesome-panel/panel-xml","commit_stats":null,"previous_names":["awesome-panel/panel-xml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awesome-panel/panel-xml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awesome-panel%2Fpanel-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awesome-panel%2Fpanel-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awesome-panel%2Fpanel-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awesome-panel%2Fpanel-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awesome-panel","download_url":"https://codeload.github.com/awesome-panel/panel-xml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awesome-panel%2Fpanel-xml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28847916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["data-app","data-visualization","holoviz-panel","notebook","python","xml"],"created_at":"2024-11-24T09:13:42.186Z","updated_at":"2026-01-28T17:36:57.031Z","avatar_url":"https://github.com/awesome-panel.png","language":"Python","funding_links":[],"categories":["❤️ Contributions"],"sub_categories":["Parameters"],"readme":"# ✨ panel-xml\n\n[![License](https://img.shields.io/badge/License-MIT%202.0-blue.svg)](https://opensource.org/licenses/MIT)\n[![py.cafe](https://py.cafe/badge.svg)](https://py.cafe/awesome.panel.org/panel-xml-basic)\n\n`panel-xml` provides the `XML` *pane* to display and explore XML in notebooks and [Panel](https://panel.holoviz.org/) data apps.\n\n![panel-xml in notebook](https://github.com/awesome-panel/panel-xml/blob/main/static/panel-xml-notebook.png?raw=true)\n\nIt is based on [react-xml-viewer](https://github.com/alissonmbr/react-xml-viewer).\n\n## Key Features\n\n- **Configurable Depth**: Set an initial collapsible depth for better navigation.\n- **Collapse/Expand Tags**: Intuitively collapse or expand tags to streamline XML exploration.\n- **Customizable Theme**: Configure the colors and appearance with a customizable theme.\n\n## Installation\n\nYou can install `panel-xml` using `pip`:\n\n```bash\npip install panel-xml\n```\n\n## Usage\n\n### Basic XML Pane\n\n[![py.cafe](https://py.cafe/badge.svg)](https://py.cafe/awesome.panel.org/panel-xml-basic)\n\n[![panel-xml](https://github.com/awesome-panel/panel-xml/blob/main/static/panel-xml.png?raw=true)](https://py.cafe/awesome.panel.org/panel-xml-editor)\n\nHere’s how to create a simple XML pane using the `XML` widget:\n\n```python\nimport panel as pn\nfrom panel_xml import XML\n\npn.extension()\n\nxml = '''\n\u003cul\u003e\n\u003cli\u003eHello\u003c/li\u003e\n\u003cli\u003eWorld\u003c/li\u003e\n\u003c/ul\u003e\n'''\n\nXML(xml, depth=2).servable()\n```\n\n## Api\n\n### Parameters\n\n- `object` (str): The XML string to display in a prettified format.\n- `indent_size` (int): The size of the indentation.\n- `collapsible` (bool): Enable collapsing/expanding tags. When collapsed, content and attributes are hidden.\n- `depth` (int): When `collapsible` is set to `True`, this defines the initial collapsed depth. Set it to `0` for fully collapsed, or `-1` for fully expanded.\n- `theme` (dict): A dictionary to customize the theme. See the [react-xml-viewer theme documentation](https://github.com/alissonmbr/react-xml-viewer#theme-object) for details.\n\n## XML Editor\n\n[![py.cafe](https://py.cafe/badge.svg)](https://py.cafe/awesome.panel.org/panel-xml-editor)\n\n[Open the XML Editor](https://py.cafe/awesome.panel.org/panel-xml-editor) to explore the features and documentation of the `XML` pane interactively.\n\n[![Panel XML | Diagram Editor](https://github.com/awesome-panel/panel-xml/blob/main/static/panel-xml-editor.gif?raw=true)](https://py.cafe/awesome.panel.org/panel-xml-editor)\n\n## ❤️ Contributions\n\nContributions and co-maintainers are very welcome! Please submit issues or pull requests to the [GitHub repository](https://github.com/awesome-panel/panel-xml). Check out the [DEVELOPER_GUIDE](DEVELOPER_GUIDE.md) for more information.\n\n## Alternatives\n\n- [Panel CodeEditor](https://panel.holoviz.org/reference/widgets/CodeEditor.html): Displays XML nicely if `language=\"xml\"`.\n\n----\n\nStart using `panel-xml` to integrate rich, interactive XML displays directly into your Python applications!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawesome-panel%2Fpanel-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawesome-panel%2Fpanel-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawesome-panel%2Fpanel-xml/lists"}