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

Uploaded Python 3

File details

Details for the file literatureScrape-0.1.250205.tar.gz.

File metadata

  • Download URL: literatureScrape-0.1.250205.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.1.250205.tar.gz
Algorithm Hash digest
SHA256 0f3903f68cd28a5863bc3f742abdb9dae02909ce8a0fa72f6e2033eed37456da
MD5 00e071e72757bbd6bb395c74af38bd8a
BLAKE2b-256 17be13a24a5d8c21a033502f715af5dab21f41d197648d09fb1e9639dc6a80bd

See more details on using hashes here.

File details

Details for the file literatureScrape-0.1.250205-py3-none-any.whl.

File metadata

File hashes

Hashes for literatureScrape-0.1.250205-py3-none-any.whl
Algorithm Hash digest
SHA256 0a9a1883434a20a004237b93404693837d5e581e18584c59ac447c283ac83f16
MD5 f8f829aa6525d9497c38b559c9ae6373
BLAKE2b-256 784bb040ab73ad0948f4406426ce15a94af529bae7bebb3f100b971926fe35f2

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