Skip to main content

Unified API for PubMed, ArXiv, and Wikipedia semantic search

Project description

builtsimple-research

Unified API for searching PubMed, ArXiv, and Wikipedia.

Installation

pip install builtsimple-research

Usage

Async (recommended)

import asyncio
from builtsimple_research import search_pubmed, search_arxiv, search_wikipedia, search_all

async def main():
    # Search individual sources
    pubmed = await search_pubmed("cancer treatment", limit=5)
    arxiv = await search_arxiv("transformer attention", limit=5)
    wiki = await search_wikipedia("machine learning", limit=5)
    
    # Search all at once
    all_results = await search_all("neural networks", limit=5)
    
asyncio.run(main())

Sync

from builtsimple_research import search_pubmed_sync, search_arxiv_sync, search_wikipedia_sync

results = search_pubmed_sync("cancer treatment", limit=5)

API

  • search_pubmed(query, limit=10) - 4.5M+ biomedical articles
  • search_arxiv(query, limit=10) - Scientific preprints
  • search_wikipedia(query, limit=10) - 4.8M+ articles
  • search_all(query, limit=10) - All sources in parallel

License

MIT - Built-Simple.ai

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

builtsimple_research-1.0.2.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

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

builtsimple_research-1.0.2-py2.py3-none-any.whl (2.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file builtsimple_research-1.0.2.tar.gz.

File metadata

  • Download URL: builtsimple_research-1.0.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for builtsimple_research-1.0.2.tar.gz
Algorithm Hash digest
SHA256 81694b8a612a54ecc7c83e378387250e00551b0b620176b07ccaeb0c6e6c2aec
MD5 ee91d8e4313488cc915e77aa2cb59a5f
BLAKE2b-256 a7b371e48efd5610caee6f6fc4887e7379337b95ba351a72fe8bf6bdf0803b78

See more details on using hashes here.

File details

Details for the file builtsimple_research-1.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for builtsimple_research-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2ad9b7d32f96d162b8c0e6fa461b4dff7c86462f32f1c40c44795826ebba0e37
MD5 7588e041b5720eb0b00a0d4fdcf85457
BLAKE2b-256 68c7a8056dbd4f5bd28c473832b1b0a9de9937dd0ba3046aab09d66a8bab1760

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