{"id":21071195,"url":"https://github.com/andrewdarnall/xml-editing-tool","last_synced_at":"2026-04-11T16:01:54.279Z","repository":{"id":259708141,"uuid":"879241605","full_name":"AndrewDarnall/XML-Editing-Tool","owner":"AndrewDarnall","description":"A Python tool for domain specific editing of xml files","archived":false,"fork":false,"pushed_at":"2024-10-29T00:51:52.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T02:47:15.573Z","etag":null,"topics":["python-tools","tools","xml-editor"],"latest_commit_sha":null,"homepage":"","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/AndrewDarnall.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-27T11:48:37.000Z","updated_at":"2024-10-29T00:53:50.000Z","dependencies_parsed_at":"2025-03-14T02:43:25.479Z","dependency_job_id":"e2e86146-f97d-4f57-a979-0b0bd2e811a3","html_url":"https://github.com/AndrewDarnall/XML-Editing-Tool","commit_stats":null,"previous_names":["andrewdarnall/xml-editing-tool"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewDarnall/XML-Editing-Tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewDarnall%2FXML-Editing-Tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewDarnall%2FXML-Editing-Tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewDarnall%2FXML-Editing-Tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewDarnall%2FXML-Editing-Tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewDarnall","download_url":"https://codeload.github.com/AndrewDarnall/XML-Editing-Tool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewDarnall%2FXML-Editing-Tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31686141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["python-tools","tools","xml-editor"],"created_at":"2024-11-19T18:50:43.776Z","updated_at":"2026-04-11T16:01:54.259Z","avatar_url":"https://github.com/AndrewDarnall.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XML Editor Tool\n\n![Version](https://img.shields.io/badge/version-1.0.0-blue)\n![Build Status](https://github.com/AndrewDarnall/XML-Editing-Tool/actions/workflows/lint.yml/badge.svg)\n\n\n---\n\nThis is a simple tool for the domain specific editing of an XML document.\n\u003cbr\u003e\n\u003cbr\u003e\nThe tool takes as input a directory with `.xml` files, and iteratively edits each file\nsearching for specific nodes within the tree representation of the tags and replaces\nand add to the hard-coded target nodes.\n\u003cbr\u003e\n\u003cbr\u003e\nThe tool is meant to automate some time-consuming tasks which could be error-prone\nand can be (and should be) handled by a machine.\n\n---\n\n## Requirements\n\n| Software  | Version |\n|-----------|---------|\n| Python    |`3.10.14`|\n| Pip       | `23.3.1`|\n| pre-commit| `2.10.1`|\n\nYou can install `pre-commit` to apply the git hooks defined in the `.pre-commit-config.yaml` by either installing it via:\n\n1) `pip` via the command\n\n```bash\npython -m pip install pre-commit==2.10.1\n```\n\n2) package manager such as `apt` for `Debian-based` distributions:\n\n```bash\napt-get install pre-commit\n```\n\n---\n\n## Usage\n\n1) Clone the repository into a directory of choice\n\n```bash\ngit clone https://github.com/AndrewDarnall/XML-Editing-Tool.git\n```\n\n2) Change into the repo's `target-dir` directory\n\n```bash\ncd XML-Editing-Tool/target-dir\n```\n\n3) Move all the target `.xml` files into the `target-dir` directory\n\n\n4) Run the script\n\n```bash\npython ../main.py .\n```\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewdarnall%2Fxml-editing-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewdarnall%2Fxml-editing-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewdarnall%2Fxml-editing-tool/lists"}