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.1.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.1-py2.py3-none-any.whl (2.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: builtsimple_research-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 624842b9b4cdcae0047ca11060fc0f0de1b17237f7e82807c0d0dd112f5717f7
MD5 149faddac311d3f7c9cf8c4979cf5dbb
BLAKE2b-256 1a813eb8351597a34b7d701b4bffbf2971618f9383950d28943a2b74ff2f8611

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for builtsimple_research-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 50fb5cef3be55434538696e2d5eea8df01b26d0577ac2f359ee0308d60f8337c
MD5 73593c42753d285770a97fadcc2936b4
BLAKE2b-256 3e2bc809e53bef5cc769c49dd0a12acc40c7d4995f99cf8ff461060a26c3b44c

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