Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jugacostase
/
BOTeome
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
BOTeome
/
scripts
/
literature.py
Juan
added data files
456f631
about 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
147 Bytes
import
metapub
as
mpub
def
literature_search
(
query
):
fetch = mpub.PubMedFetcher()
ids = fetch.pmids_for_query(query)
return
(
len
(ids))