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 Distribution

literaturescrape-0.250205.4.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

literaturescrape-0.250205.4-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file literaturescrape-0.250205.4.tar.gz.

File metadata

  • Download URL: literaturescrape-0.250205.4.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for literaturescrape-0.250205.4.tar.gz
Algorithm Hash digest
SHA256 c38feb860bedc2547207d439edc7ccb81fcd788f1bb2d81c1722a0f0b830db41
MD5 d7bf2bba9002ce9da94033549dd902fe
BLAKE2b-256 6b7af5b0b90ac94d4ad22bf8998e01b86a58a345502bccceae7d9a53b17062c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for literaturescrape-0.250205.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a36a2d89d5db4b8e3595b84361373e98dbab7cc5465cc3b9b9a9de3fbedf5105
MD5 701c6a2f8e299f1308dd89417954e644
BLAKE2b-256 fc801e23ccd8820a603e9b50945cb3a3e9d20a056437cc2fe97987aabdd1a63c

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