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.6.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.6-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: literaturescrape-0.250205.6.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.6.tar.gz
Algorithm Hash digest
SHA256 fda3d058945e6ef90eef13ed68845cf15d907dff6c18047821e012194c88a5c1
MD5 1ee88d892269463578c552fbadbc5a5c
BLAKE2b-256 5f98e53f73e514fff94cfeeb12f1fe6dab3e0c8369c4eaf9e207180e1b38e50e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for literaturescrape-0.250205.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d95d4d86492a79d88501de15ae02e6a09e91c9e3f9b5e86370c35d566b5dfb0a
MD5 6393344e8e2d97a0edf7425a2ec0db4d
BLAKE2b-256 8fc41ffe4633de52102266c90b81ae166e308824698c83def3abfa40ba227248

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