{"id":37655533,"url":"https://github.com/ghilesmeddour/aecg","last_synced_at":"2026-02-14T20:08:37.982Z","repository":{"id":269492910,"uuid":"877198883","full_name":"ghilesmeddour/aecg","owner":"ghilesmeddour","description":"Python parser and viewer for Annotated ECG HL7 files.","archived":false,"fork":false,"pushed_at":"2026-02-05T12:50:33.000Z","size":2189,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-05T23:54:52.180Z","etag":null,"topics":["ecg","ecg-data","ecg-signal","electrocardiogram","health-data","hl7","hl7-parser"],"latest_commit_sha":null,"homepage":"https://annotated-ecg.streamlit.app","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/ghilesmeddour.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-23T09:00:04.000Z","updated_at":"2026-02-05T12:50:36.000Z","dependencies_parsed_at":"2025-09-23T10:04:13.310Z","dependency_job_id":"44a43ab1-1bd5-41dd-88df-a65c5aa58ebb","html_url":"https://github.com/ghilesmeddour/aecg","commit_stats":null,"previous_names":["ghilesmeddour/aecg"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ghilesmeddour/aecg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghilesmeddour%2Faecg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghilesmeddour%2Faecg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghilesmeddour%2Faecg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghilesmeddour%2Faecg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghilesmeddour","download_url":"https://codeload.github.com/ghilesmeddour/aecg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghilesmeddour%2Faecg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29454887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["ecg","ecg-data","ecg-signal","electrocardiogram","health-data","hl7","hl7-parser"],"created_at":"2026-01-16T11:40:58.016Z","updated_at":"2026-02-14T20:08:37.977Z","avatar_url":"https://github.com/ghilesmeddour.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aECG (Python parser for annotated ECG HL7 files)\n\nPython library to parse and visualize [aECG files](https://en.wikipedia.org/wiki/HL7_aECG).\n\n\u003cimg src=\"https://raw.githubusercontent.com/ghilesmeddour/aecg/13aafa7f29d7142f6d3d28baa41b9805dafbb965/res/aecg.png\" width=\"900\"\u003e\n\n## Demo\n\n[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://annotated-ecg.streamlit.app/)\n\n## Installation\n\n```\npip install aecg\n```\n\n## Usage\n\n- Read your aECG xml file.\n\n```python\nimport aecg\n\nfile_path = r\"tests/data/Example aECG.xml\"\naecg_o = aecg.read(file_path)\n```\n\n- Use `summary` to get an overview of the data.\n\n```python\naecg_o.summary()\n```\n\n```python\n{\n    'id': UUID('61d1a24f-b47e-41aa-ae95-f8ac302f4eeb'),\n    'date': datetime.datetime(2002, 11, 22, 9, 10),\n    'series_count': 1,\n    'annotations_count': 167,\n}\n```\n\n- Get waveforms dataframes and their associated plots.\n\n```python\ntitles = []\ndfs = []\nfigs = []\n\nfor serie in aecg_o.series:\n    for i, seq_set in enumerate(serie.sequence_sets, 1):\n        title = f\"Serie {serie.id} | Sequence set {i}\"\n        df = seq_set.get_sequences_df()\n        fig = aecg.plotter.plot_seq_set(df, title=title)\n        dfs.append(df)\n        titles.append(title)\n        figs.append(fig)\n\n    for i, seq_set in enumerate(serie.derived_sequence_sets, 1):\n        title = f\"Serie {serie.id} | Derived sequence set {i}\"\n        df = seq_set.get_sequences_df()\n        fig = aecg.plotter.plot_seq_set(df, title=title)\n        dfs.append(df)\n        titles.append(title)\n        figs.append(fig)\n```\n\n```python\ndfs[0]\n```\n\n\u003cimg src=\"res/df_1.png\"\u003e\n\n```python\nfigs[0].show()\n```\n\n\u003cimg src=\"res/seq_plot_1.png\"\u003e\n\n- You can choose to plot all the curves together.\n\n```python\naecg.plotter.plot_seq_set(dfs[0], plot_mode=\"one\")\n```\n\n\u003cimg src=\"res/seq_plot_1_mode_one.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghilesmeddour%2Faecg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghilesmeddour%2Faecg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghilesmeddour%2Faecg/lists"}