{"id":34725714,"url":"https://github.com/suqingdong/pmc_xml","last_synced_at":"2026-01-20T16:42:09.994Z","repository":{"id":273847569,"uuid":"921079757","full_name":"suqingdong/pmc_xml","owner":"suqingdong","description":"XML parser for PubMed Central (PMC) Database","archived":false,"fork":false,"pushed_at":"2025-12-16T08:33:26.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-19T19:08:12.640Z","etag":null,"topics":["pmc"],"latest_commit_sha":null,"homepage":"https://suqingdong.github.io/pmc_xml/","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/suqingdong.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-23T09:51:06.000Z","updated_at":"2025-12-16T08:33:30.000Z","dependencies_parsed_at":"2025-01-23T10:44:22.567Z","dependency_job_id":null,"html_url":"https://github.com/suqingdong/pmc_xml","commit_stats":null,"previous_names":["suqingdong/pmc_xml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suqingdong/pmc_xml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suqingdong%2Fpmc_xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suqingdong%2Fpmc_xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suqingdong%2Fpmc_xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suqingdong%2Fpmc_xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suqingdong","download_url":"https://codeload.github.com/suqingdong/pmc_xml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suqingdong%2Fpmc_xml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28017200,"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","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["pmc"],"created_at":"2025-12-25T02:27:02.530Z","updated_at":"2025-12-25T02:27:03.648Z","avatar_url":"https://github.com/suqingdong.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XML parser for PubMed Central (PMC) Database\n\n## Installation\n```bash\npython3 -m pip install pmc_xml\n```\n\n## Usage\n\n### CommandLine\n```bash\npmc_xml --help\n\n# parse single\npmc_xml PMC6039336\n\n# parse batch\npmc_xml PMC6039336,PMC6031859,PMC6031856\n\n# parse multiple\npmc_xml PMC6039336 PMC6031859 PMC6031856\n\n# save file\npmc_xml PMC6039336,PMC6031859,PMC6031856 -o out.jl\n```\n\n### Python\n```python\nfrom pmc_xml import PMC_XML_Parser\n\npmc = PMC_XML_Parser()\n\nfor article in pmc.parse('PMC6039336,PMC6031859,PMC6031856'):\n    print(article)        # Article\u003c30003002\u003e\n    print(article.data)   # dict object\n    print(article.to_json(indent=2))   # json string\n    print(article.pmid, article.title, article.abstract) # by attribute\n    print(article['pmid'], article['title'], article['abstract']) # by key\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuqingdong%2Fpmc_xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuqingdong%2Fpmc_xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuqingdong%2Fpmc_xml/lists"}