{"id":34066028,"url":"https://github.com/suqingdong/pypubmed","last_synced_at":"2025-12-14T06:09:41.416Z","repository":{"id":62582748,"uuid":"319857976","full_name":"suqingdong/pypubmed","owner":"suqingdong","description":"Toolkits for NCBI Pubmed","archived":false,"fork":false,"pushed_at":"2024-11-22T07:22:47.000Z","size":340,"stargazers_count":29,"open_issues_count":5,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-29T07:08:17.369Z","etag":null,"topics":["ncbi","pubmed","sci"],"latest_commit_sha":null,"homepage":"https://suqingdong.github.io/pypubmed/","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/suqingdong.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":"2020-12-09T06:00:37.000Z","updated_at":"2025-06-08T16:12:14.000Z","dependencies_parsed_at":"2024-08-07T11:52:12.790Z","dependency_job_id":"4e65c53f-3e7f-4c22-8474-bf9e2f6374b4","html_url":"https://github.com/suqingdong/pypubmed","commit_stats":{"total_commits":41,"total_committers":1,"mean_commits":41.0,"dds":0.0,"last_synced_commit":"6dd1b6ee7e8c7cf2a10885ed7662a4e2d16fa8e4"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/suqingdong/pypubmed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suqingdong%2Fpypubmed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suqingdong%2Fpypubmed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suqingdong%2Fpypubmed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suqingdong%2Fpypubmed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suqingdong","download_url":"https://codeload.github.com/suqingdong/pypubmed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suqingdong%2Fpypubmed/sbom","scorecard":{"id":859999,"data":{"date":"2025-08-11","repo":{"name":"github.com/suqingdong/pypubmed","commit":"2c29f0ea7aa157b2d2b90c179863db3aad032051"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-55x5-fj6c-h6m8","Warn: Project is vulnerable to: PYSEC-2014-9 / GHSA-57qw-cc2g-pv5p","Warn: Project is vulnerable to: PYSEC-2021-19 / GHSA-jq4v-f5q6-mjqq","Warn: Project is vulnerable to: GHSA-pgww-xf46-h92r","Warn: Project is vulnerable to: PYSEC-2022-230 / GHSA-wrxv-2j5q-m38w","Warn: Project is vulnerable to: PYSEC-2018-12 / GHSA-xp26-p53h-6h2p","Warn: Project is vulnerable to: PYSEC-2017-48 / GHSA-chqf-hx79-gxc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T00:58:09.382Z","repository_id":62582748,"created_at":"2025-08-24T00:58:09.382Z","updated_at":"2025-08-24T00:58:09.382Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27719205,"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-14T02:00:11.348Z","response_time":56,"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":["ncbi","pubmed","sci"],"created_at":"2025-12-14T06:09:40.603Z","updated_at":"2025-12-14T06:09:41.410Z","avatar_url":"https://github.com/suqingdong.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NCBI Pubmed Toolkits\n\n## Requirements\n- Python3.6+\n\n## Installation\n```bash\npython3 -m pip install -U pypubmed\n```\n\n## Usage\n### `search`\n\u003e search Pubmed with term\n```bash\npypubmed search --help\n\n########## search pubmed ##########\npypubmed search ngs -l 5 -o ngs.xlsx\npypubmed search 'NGS[Title] AND Disease[Title/Abstract]' -o ngs_disease.xlsx\npypubmed search 1,2,3,4\npypubmed search pmid_list.txt\n\n########## search pmc ##########\n# parse pmc xml, maybe network error\npypubmed -d pmc search PMC10914497,PMC11572642\npypubmed -d pmc search pmcid_list.txt\npypubmed -d pmc search '(single cell) OR (scrna) OR (scRNA seq)'\n\n# convert pmcid to pmid, then parse pubmed xml, some pmcid may not have pmid\npypubmed -d pmc search '(single cell) OR (scrna) OR (scRNA seq)' --convert-pmc\n\n# do not translate\npypubmed search -l 5 ngs\n\n# translate with a local proxies\npypubmed -p http://127.0.0.1:1081 search ngs -l 5\n```\n\n### `advance-search`\n\u003e advance search builder\n```bash\npypubmed advance-search --help\n```\n![](https://suqingdong.github.io/pypubmed/src/advance-search.png)\n\n### `citations`\n\u003e generate citations for given PMID\n```bash\npypubmed citations --help\n```\n\n## Todos\n- [ ] HTML output\n- [ ] PDF downloader\n- [ ] GUI application\n- [ ] Local paper manager\n\n## Documents\n\u003e https://pypubmed.readthedocs.io/en/latest/\n\n## Star History\n[![Star History Chart](https://api.star-history.com/svg?repos=suqingdong/pypubmed\u0026type=Date)](https://star-history.com/#suqingdong/pypubmed\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuqingdong%2Fpypubmed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuqingdong%2Fpypubmed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuqingdong%2Fpypubmed/lists"}