Skip to main content

Query information about scientific publications on the web.

Project description

Pubfisher: Effectively explore scientific publications

Pubfisher is about querying scientific publications from web sources such as Google Scholar. These sources often do not offer a convenient, programmable API, such that complex or comprehensive queries require lots of manual steps, such as solving Captchas.

Pubfisher offers a simple data model and API that reduces the manual effort to the minimum and makes complex queries simple to express. In particular, Pubfisher does not fail when it sees a Captcha: It shows the captcha to you, you solve the captcha, on goes the query.

Let's say you are interested in the first 200 citations of a paper according to Google Scholar Then this could be your query:

from pubfisher.fishers.googlescholar import PublicationGSFisher
from itertools import islice


def my_query():
    fisher = PublicationGSFisher()

    fisher.look_for_key_words('Parachute use to prevent death '
                              'and major trauma related to '
                              'gravitational challenge: '
                              'systematic review of randomised '
                              'controlled trials')

    return islice(fisher.fish_all(), 200)

Using one and the same scraper, you can perform lots of queries. Pubfisher takes care of reusing the session cookies across requests such that your queries appear natural to the underlying web services.

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

pubfisher-2019.11.tar.gz (14.6 kB view hashes)

Uploaded Source

Built Distribution

pubfisher-2019.11-py3-none-any.whl (16.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page