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.5.tar.gz (6.7 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.5-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: literaturescrape-0.250205.5.tar.gz
  • Upload date:
  • Size: 6.7 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.5.tar.gz
Algorithm Hash digest
SHA256 a187c6f28643cd6a3efe3bf5f3009e84d95ec779ee7ab9b5a652434018d9659f
MD5 a34184ce94cb471a3f17a6f0bf71f250
BLAKE2b-256 af39c90bbc3dc7f6dfba89eb4071559fe2fcca768b5c0e0a997246733b85a4f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for literaturescrape-0.250205.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c8ab9856889f668b78a45f925a1d63f27dec302d889f93f944fe9382b6fa945d
MD5 afa0faeead52699957d58e680d4b6e50
BLAKE2b-256 128bc1fde636b2c7334093eb1d865f4c9d910a36bd2495edcbf21f451553ecc4

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