{"id":17543162,"url":"https://github.com/vb64/oeg.infotech.xml","last_synced_at":"2025-03-29T05:16:34.573Z","repository":{"id":54414132,"uuid":"175398176","full_name":"vb64/oeg.infotech.xml","owner":"vb64","description":"Library for OrgEnergoGaz Infotech xml processing","archived":false,"fork":false,"pushed_at":"2021-02-19T16:59:38.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T16:18:46.934Z","etag":null,"topics":["infotech","oeg"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vb64.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}},"created_at":"2019-03-13T10:27:40.000Z","updated_at":"2024-11-30T06:32:41.000Z","dependencies_parsed_at":"2022-08-13T15:00:23.472Z","dependency_job_id":null,"html_url":"https://github.com/vb64/oeg.infotech.xml","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb64%2Foeg.infotech.xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb64%2Foeg.infotech.xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb64%2Foeg.infotech.xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb64%2Foeg.infotech.xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vb64","download_url":"https://codeload.github.com/vb64/oeg.infotech.xml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140591,"owners_count":20729802,"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":["infotech","oeg"],"created_at":"2024-10-21T00:23:05.538Z","updated_at":"2025-03-29T05:16:34.545Z","avatar_url":"https://github.com/vb64.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Библиотека Python для обработки xml файлов \"Инфотех\"\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/vb64/oeg.infotech.xml/oeg.infotech.xml%20tests?label=Python%202.7%203.8%203.9%20PEP%20257\u0026style=plastic)](https://github.com/vb64/oeg.infotech.xml/actions?query=workflow%3A%22oeg.infotech+tests%22)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/1c0b638957f44500a10694410a238294)](https://www.codacy.com/manual/vb64/oeg.infotech.xml?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=vb64/oeg.infotech.xml\u0026amp;utm_campaign=Badge_Grade)\n[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/1c0b638957f44500a10694410a238294)](https://www.codacy.com/manual/vb64/oeg.infotech.xml?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=vb64/oeg.infotech.xml\u0026utm_campaign=Badge_Coverage)\n\nБиблиотека Python для обработки xml файлов \"Инфотех\" с поддержкой дополнительных полей, требуемых для загрузки в \"ИУС Т\".\n\n## Установка\n\n```bash\npip install oeg-infotech\n```\n\n## Использование\n\n```python\n\nfrom oeg_infotech import Infotech, XmlFormat\n\n# загрузить файл в формате \"ИУС Т\"\ninfo = Infotech.from_file('iust.xml', xml_format=XmlFormat.Iust)\nassert 'IUST_TYPE' in str(info)\n\n# загрузить файл в формате \"Инфотех\"\ninfo1 = Infotech.from_file('infotech1.xml')\nassert 'IPL_INSPECT' in str(info1)\n\n# перевернуть данные, пересчитав дистанции и угловые ориентации обьектов\nxml_string = info1.reverse()\nassert 'IPL_INSPECT' in xml_string\n\n# обьединить перевернутые данные из infotech1.xml и данные из infotech2.xml,\n# вставив между ними трубу длиной 11 метров\nxml_string = info1.join(['1100', 'infotech2.xml'])\nassert 'IPL_INSPECT' in xml_string\n```\n\n## Разработка\n\n```bash\ngit clone git@github.com:vb64/oeg.infotech.xml.git\ncd oeg.infotech.xml\n```\nПри использовании Python 3.8, 3.9:\n```bash\n$ make setup3 PYTHON_BIN=/path/to/python3/executable\nmake tests3\n```\nПри использовании Python 2.7:\n```bash\nmake setup PYTHON_BIN=/path/to/python27/executable\nmake tests\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvb64%2Foeg.infotech.xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvb64%2Foeg.infotech.xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvb64%2Foeg.infotech.xml/lists"}