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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: builtsimple_research-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 59c071d0641edba3c6fc5d66e47b32ee1f8ec5836cf4743565c3248ef8e65a7b
MD5 199746bec09bc56d15d7402396ab8bf7
BLAKE2b-256 157e26c46be3f07032b367b6f872d6b40368d76e83a54592b030bfde0b216d4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for builtsimple_research-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1cc06e3a6665d9442e1ad80d34a40c7a0ba45bc8e62757a18c6191e9f02bca2b
MD5 f8336f28bbc18a39df4d21df2e44ca3c
BLAKE2b-256 570090aec226955038bf7bf62bc3c0589a8160c594145e9d5cde8335a046c21b

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