{"id":24082906,"url":"https://github.com/parthapray/xml_variable_extraction_relationship_network","last_synced_at":"2026-05-15T14:36:14.056Z","repository":{"id":270515593,"uuid":"910613524","full_name":"ParthaPRay/xml_variable_extraction_relationship_network","owner":"ParthaPRay","description":"This repo contains code for XML variable extraction and relation network illustration - XMLVERNIv1","archived":false,"fork":false,"pushed_at":"2024-12-31T20:40:57.000Z","size":8574,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T01:16:28.747Z","etag":null,"topics":["gradio","semantic","semanticsimilarity","xml","xml-extractor","xml-parser"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ParthaPRay.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-31T20:18:35.000Z","updated_at":"2024-12-31T20:41:00.000Z","dependencies_parsed_at":"2024-12-31T21:21:51.797Z","dependency_job_id":"c6c902f4-c86d-4863-8533-c56fc4fa110a","html_url":"https://github.com/ParthaPRay/xml_variable_extraction_relationship_network","commit_stats":null,"previous_names":["parthapray/xml_variable_extraction_relationship_network"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ParthaPRay/xml_variable_extraction_relationship_network","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParthaPRay%2Fxml_variable_extraction_relationship_network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParthaPRay%2Fxml_variable_extraction_relationship_network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParthaPRay%2Fxml_variable_extraction_relationship_network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParthaPRay%2Fxml_variable_extraction_relationship_network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ParthaPRay","download_url":"https://codeload.github.com/ParthaPRay/xml_variable_extraction_relationship_network/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParthaPRay%2Fxml_variable_extraction_relationship_network/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33070189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"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":["gradio","semantic","semanticsimilarity","xml","xml-extractor","xml-parser"],"created_at":"2025-01-09T23:54:51.343Z","updated_at":"2026-05-15T14:36:14.035Z","avatar_url":"https://github.com/ParthaPRay.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XML Variable Extractor and Relationship Network Illustrator (XMLVERNIv1)\n\n**Developed by Partha Pratim Ray**  \n[GitHub](https://github.com/ParthaPRay) | Contact: [parthapratimray1986@gmail.com](mailto:parthapratimray1986@gmail.com)\n\n---\n\n## Overview\n\n**XMLVERNIv1** is a powerful tool designed to:\n1. **Extract variables** from XML files.\n2. **Analyze relationships** between variables using various similarity measures.\n3. **Visualize interactive networks** of variable relationships for better insights.\n\nThis software offers **intuitive processing** and **state-of-the-art similarity techniques** to illustrate the underlying relationships within XML data.\n\n---\n\n## Key Features\n\n- **Variable Extraction**: Parse and extract variables from any XML file.\n- **Similarity Measures**:\n  - Jaccard Similarity\n  - Levenshtein Distance\n  - Cosine Similarity\n  - Semantic Similarity (using `SentenceTransformer`)\n- **Interactive Visualization**: Generates interactive, community-aware relationship networks using `pyvis`.\n- **User-Friendly Interface**: Simple UI powered by **Gradio** for seamless interaction.\n\n---\n\n## How It Works\n\n```mermaid\nflowchart TD\n    A[Upload XML File] --\u003e B[Parse XML Variables]\n    B --\u003e C[Select Similarity Technique]\n    C --\u003e|Jaccard| D1[Jaccard Similarity Analysis]\n    C --\u003e|Levenshtein| D2[Levenshtein Distance Analysis]\n    C --\u003e|Cosine| D3[Cosine Similarity Analysis]\n    C --\u003e|Semantic| D4[Semantic Similarity Analysis]\n    D1 --\u003e E[Find Similar Variable Pairs]\n    D2 --\u003e E\n    D3 --\u003e E\n    D4 --\u003e E\n    E --\u003e F[Visualize Relationships]\n    F --\u003e G[Interactive Network Graph]\n    G --\u003e H[Open in Browser]\n```\n\n---\n\n## Technical Specifications\n\n### Input\n- **XML File**: Upload or use the default `example.xml`.\n\n### Processing Techniques\n- **Jaccard Similarity**: Measures the overlap between character sets of two strings.\n- **Levenshtein Distance**: Calculates the minimum number of edits required to transform one string into another.\n- **Cosine Similarity**: Uses TF-IDF vectorization for character-based similarity.\n- **Semantic Similarity**: Leverages `SentenceTransformer` for contextual embedding-based similarity.\n\n### Output\n- **Textual Results**: Lists of extracted variables and similar pairs.\n- **Interactive Visualization**: Relationship networks with node clustering.\n\n---\n\n## Installation and Setup\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/ParthaPRay/XMLVERNIv1.git\n   cd XMLVERNIv1\n   ```\n2. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n3. Run the application:\n   ```bash\n   python app.py\n   ```\n\n---\n\n## Licensing\n\nXMLVERNIv1 is available under **commercial license**. Unauthorized use, reproduction, or distribution is strictly prohibited and punishable under applicable laws.  \n\n# XML Variable Extractor and Relationship Network Illustrator License Agreement\n\n**License Name**: XMLVERNIv1 Commercial Use License  \n**Version**: 1.0  \n**Effective Date**: January 1, 2024  \n\n**Copyright © 2024 Partha Pratim Ray. All rights reserved.**  \n\n---\n\n## 1. **Grant of License**\nThis license grants you the non-exclusive, non-transferable, and revocable right to use the software **XML Variable Extractor and Relationship Network Illustrator** (\"the Software\") in accordance with the terms and conditions outlined below.  \n\n---\n\n## 2. **Permitted Uses**\n1. You are allowed to use the Software for personal and commercial purposes.  \n2. You may distribute the Software only as a part of your work, provided you obtain prior written consent from the copyright owner, Partha Pratim Ray.  \n\n---\n\n## 3. **Prohibited Uses**\n1. You may not distribute, sublicense, or resell the Software or any part thereof without explicit written permission from the copyright owner.  \n2. Modifying or reverse-engineering the Software is strictly prohibited.  \n3. Unauthorized use or distribution of the Software is considered a violation of this license and applicable laws.\n\n---\n\n## 4. **Attribution**\nYou must provide clear and conspicuous attribution to the original author, Partha Pratim Ray, in all instances where the Software or its outputs are used.\n\n---\n\n## 5. **Commercial License**\nFor any organization or individual intending to use the Software for commercial purposes, a valid commercial license must be purchased from the copyright owner. Contact: **parthapratimray1986@gmail.com**.  \n\n---\n\n## 6. **Warranty Disclaimer**\nTHE SOFTWARE IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND. THE COPYRIGHT OWNER DISCLAIMS ALL WARRANTIES, INCLUDING BUT NOT LIMITED TO MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  \n\n---\n\n## 7. **Limitation of Liability**\nIn no event shall the copyright owner be liable for any damages (including but not limited to loss of profits, data, or business opportunities) arising out of the use or inability to use the Software.\n\n---\n\n## 8. **Termination**\nThis license will terminate automatically if you fail to comply with its terms. Upon termination, you must cease all use of the Software and destroy all copies in your possession.  \n\n---\n\n**For licensing inquiries or to purchase a commercial license, contact:**  \n**Partha Pratim Ray**  \n**Email:** [parthapratimray1986@gmail.com](mailto:parthapratimray1986@gmail.com)  \n\n---\n\n\n## Demo\n\nTry the intuitive interface:  \n1. Upload your XML file or use the provided default.\n2. Select a similarity technique.\n3. Adjust parameters via the slider.\n4. Submit and view the results with an interactive network visualization.\n\n## Screen Shot\n\n![image](https://github.com/user-attachments/assets/5966277e-74a5-4131-83d6-1c0c6aea3fc3)\n\n![image](https://github.com/user-attachments/assets/2e277865-28ea-4d06-94bd-52a85bda2201)\n\n---\n\n## Contact\n\nFor queries, feature requests, or support:  \n**Email**: [parthapratimray1986@gmail.com](mailto:parthapratimray1986@gmail.com)  \n**GitHub**: [https://github.com/ParthaPRay](https://github.com/ParthaPRay)\n\n---\n\nMake data relationships visible and intuitive with **XMLVERNIv1**!  \nInvest in cutting-edge XML analytics for your projects today!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthapray%2Fxml_variable_extraction_relationship_network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparthapray%2Fxml_variable_extraction_relationship_network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthapray%2Fxml_variable_extraction_relationship_network/lists"}