literaturescrape


Nameliteraturescrape JSON
Version 0.250205.6 PyPI version JSON
download
home_pagehttps://github.com/zzzzls/
SummaryGet literature information
upload_time2025-02-05 10:05:33
maintainerNone
docs_urlNone
authorzzzzls
requires_pythonNone
licenseMIT
keywords literature paper doi abstract
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Literature Scrape

## Usage

```
from literaturescrape import async_summary, sync_summary


# 设置代理
# import os
# os.environ["LITERATURE_SCRAPE_PROXY"] = "http://127.0.0.1:1080"


# 同步调用
def test_sync():
    print(sync_summary("10.1186/s12967-024-05786-4"))
        

# 异步调用
async def test_async():
    tasks = [asyncio.create_task(async_summary("10.1186/s12967-024-05786-4")) for _ in range(3)]
    ret = await asyncio.gather(*tasks)
    print(ret)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zzzzls/",
    "name": "literaturescrape",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "literature, paper, doi, abstract",
    "author": "zzzzls",
    "author_email": "245129129@qq.com",
    "download_url": "https://files.pythonhosted.org/packages/5f/98/e53f73e514fff94cfeeb12f1fe6dab3e0c8369c4eaf9e207180e1b38e50e/literaturescrape-0.250205.6.tar.gz",
    "platform": null,
    "description": "# Literature Scrape\r\n\r\n## Usage\r\n\r\n```\r\nfrom literaturescrape import async_summary, sync_summary\r\n\r\n\r\n# \u8bbe\u7f6e\u4ee3\u7406\r\n# import os\r\n# os.environ[\"LITERATURE_SCRAPE_PROXY\"] = \"http://127.0.0.1:1080\"\r\n\r\n\r\n# \u540c\u6b65\u8c03\u7528\r\ndef test_sync():\r\n    print(sync_summary(\"10.1186/s12967-024-05786-4\"))\r\n        \r\n\r\n# \u5f02\u6b65\u8c03\u7528\r\nasync def test_async():\r\n    tasks = [asyncio.create_task(async_summary(\"10.1186/s12967-024-05786-4\")) for _ in range(3)]\r\n    ret = await asyncio.gather(*tasks)\r\n    print(ret)\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Get literature information",
    "version": "0.250205.6",
    "project_urls": {
        "Homepage": "https://github.com/zzzzls/"
    },
    "split_keywords": [
        "literature",
        " paper",
        " doi",
        " abstract"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8fc41ffe4633de52102266c90b81ae166e308824698c83def3abfa40ba227248",
                "md5": "6393344e8e2d97a0edf7425a2ec0db4d",
                "sha256": "d95d4d86492a79d88501de15ae02e6a09e91c9e3f9b5e86370c35d566b5dfb0a"
            },
            "downloads": -1,
            "filename": "literaturescrape-0.250205.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6393344e8e2d97a0edf7425a2ec0db4d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 10200,
            "upload_time": "2025-02-05T10:05:30",
            "upload_time_iso_8601": "2025-02-05T10:05:30.853816Z",
            "url": "https://files.pythonhosted.org/packages/8f/c4/1ffe4633de52102266c90b81ae166e308824698c83def3abfa40ba227248/literaturescrape-0.250205.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "5f98e53f73e514fff94cfeeb12f1fe6dab3e0c8369c4eaf9e207180e1b38e50e",
                "md5": "1ee88d892269463578c552fbadbc5a5c",
                "sha256": "fda3d058945e6ef90eef13ed68845cf15d907dff6c18047821e012194c88a5c1"
            },
            "downloads": -1,
            "filename": "literaturescrape-0.250205.6.tar.gz",
            "has_sig": false,
            "md5_digest": "1ee88d892269463578c552fbadbc5a5c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6686,
            "upload_time": "2025-02-05T10:05:33",
            "upload_time_iso_8601": "2025-02-05T10:05:33.459831Z",
            "url": "https://files.pythonhosted.org/packages/5f/98/e53f73e514fff94cfeeb12f1fe6dab3e0c8369c4eaf9e207180e1b38e50e/literaturescrape-0.250205.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-05 10:05:33",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "literaturescrape"
}
        
Elapsed time: 1.72344s