Skip to main content

Get literature information

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

literaturescrape-0.250205.3-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file literaturescrape-0.250205.3-py3-none-any.whl.

File metadata

File hashes

Hashes for literaturescrape-0.250205.3-py3-none-any.whl
Algorithm Hash digest
SHA256 868ff53e4def0290169e676310fbfdff0a7b167333aaf245095afd9eec3e5968
MD5 5c0b6a668c1df7c3d70052fa08249416
BLAKE2b-256 f18b97385f09f04de4feb2f14c82456f7977b14ef56c2519bc15629fafcf5e7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page