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.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distributions

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

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

Uploaded Python 3

literatureScrape-0.250205.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: literatureScrape-0.250205.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d66322e9a033f55eb4ff1f9492e79fc0293adba6d7ab71d05c9090dc13d0463d
MD5 a1c1ebd84b1480952aa626084bbffbaf
BLAKE2b-256 0be967f29837c73f4663534c807786a8088cb6c2509ef2f791c32476d88fce9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for literaturescrape-0.250205.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba469eee0942a6e7fbc9aa0c1ab2e5d711c308fa3b6b08538b21fee80ca1e690
MD5 f9e154f01e223ef90ae31bfa04a5dba3
BLAKE2b-256 2b9889ada2a424a4fa17e0d0c84b68680b03110a84d34e9c72e946c0b6829cb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for literatureScrape-0.250205.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6089f93f6650682c5c817fb24e9bcb8697329432c7a97242add363a2ca556d04
MD5 3cc7a5e29719e6bcc7789910a4fb3638
BLAKE2b-256 5a5f797756d923efbf83955ba4271171eafd56d5a3f85909ab7fdc50dec5908e

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