pypubmed


Namepypubmed JSON
Version 1.1.8 PyPI version JSON
download
home_pagehttps://github.com/suqingdong/pypubmed
SummaryToolkits for NCBI Pubmed
upload_time2024-11-22 07:25:11
maintainerNone
docs_urlNone
authorsuqingdong
requires_pythonNone
licenseBSD License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # NCBI Pubmed Toolkits

## Requirements
- Python3.6+

## Installation
```bash
python3 -m pip install -U pypubmed
```

## Usage
### `search`
> search Pubmed with term
```bash
pypubmed search --help

########## search pubmed ##########
pypubmed search ngs -l 5 -o ngs.xlsx
pypubmed search 'NGS[Title] AND Disease[Title/Abstract]' -o ngs_disease.xlsx
pypubmed search 1,2,3,4
pypubmed search pmid_list.txt

########## search pmc ##########
# parse pmc xml, maybe network error
pypubmed -d pmc search PMC10914497,PMC11572642
pypubmed -d pmc search pmcid_list.txt
pypubmed -d pmc search '(single cell) OR (scrna) OR (scRNA seq)'

# convert pmcid to pmid, then parse pubmed xml, some pmcid may not have pmid
pypubmed -d pmc search '(single cell) OR (scrna) OR (scRNA seq)' --convert-pmc

# do not translate
pypubmed search -l 5 ngs

# translate with a local proxies
pypubmed -p http://127.0.0.1:1081 search ngs -l 5
```

### `advance-search`
> advance search builder
```bash
pypubmed advance-search --help
```
![](https://suqingdong.github.io/pypubmed/src/advance-search.png)

### `citations`
> generate citations for given PMID
```bash
pypubmed citations --help
```

## Todos
- [ ] HTML output
- [ ] PDF downloader
- [ ] GUI application
- [ ] Local paper manager

## Documents
> https://pypubmed.readthedocs.io/en/latest/

## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=suqingdong/pypubmed&type=Date)](https://star-history.com/#suqingdong/pypubmed&Date)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/suqingdong/pypubmed",
    "name": "pypubmed",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "suqingdong",
    "author_email": "suqingdong1114@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/da/77/745b49f7ad21aa06384d4a24431974b4505ae617bfe4940d6de98b7ceec4/pypubmed-1.1.8.tar.gz",
    "platform": null,
    "description": "# 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> 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> advance search builder\n```bash\npypubmed advance-search --help\n```\n![](https://suqingdong.github.io/pypubmed/src/advance-search.png)\n\n### `citations`\n> 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> https://pypubmed.readthedocs.io/en/latest/\n\n## Star History\n[![Star History Chart](https://api.star-history.com/svg?repos=suqingdong/pypubmed&type=Date)](https://star-history.com/#suqingdong/pypubmed&Date)\n\n\n",
    "bugtrack_url": null,
    "license": "BSD License",
    "summary": "Toolkits for NCBI Pubmed",
    "version": "1.1.8",
    "project_urls": {
        "Documentation": "https://pypubmed.readthedocs.io",
        "Homepage": "https://github.com/suqingdong/pypubmed",
        "Tracker": "https://github.com/suqingdong/pypubmed/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "784eb55bb8ec667c6077d7c2b3207383fcaea53a77715ab7514106a3150ddab5",
                "md5": "492b0130affd7b8ce7047df17e0f9536",
                "sha256": "ee5ed32565b0ad589d20ef64b1ff9fd345cb0f2b088b130100c49c79bd1a728e"
            },
            "downloads": -1,
            "filename": "pypubmed-1.1.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "492b0130affd7b8ce7047df17e0f9536",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 19867,
            "upload_time": "2024-11-22T07:25:09",
            "upload_time_iso_8601": "2024-11-22T07:25:09.788297Z",
            "url": "https://files.pythonhosted.org/packages/78/4e/b55bb8ec667c6077d7c2b3207383fcaea53a77715ab7514106a3150ddab5/pypubmed-1.1.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "da77745b49f7ad21aa06384d4a24431974b4505ae617bfe4940d6de98b7ceec4",
                "md5": "d523ab05d705cf1abe97c40b0ce6e2aa",
                "sha256": "a91f814fd3dcf72b236eeb79f7107eb70625bd78fa5286536f2c570a7402495b"
            },
            "downloads": -1,
            "filename": "pypubmed-1.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "d523ab05d705cf1abe97c40b0ce6e2aa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 15869,
            "upload_time": "2024-11-22T07:25:11",
            "upload_time_iso_8601": "2024-11-22T07:25:11.467764Z",
            "url": "https://files.pythonhosted.org/packages/da/77/745b49f7ad21aa06384d4a24431974b4505ae617bfe4940d6de98b7ceec4/pypubmed-1.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-22 07:25:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "suqingdong",
    "github_project": "pypubmed",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "pypubmed"
}
        
Elapsed time: 0.78733s