Git Product home page Git Product logo

acad_patents's Introduction

Google Scholar and Google Patents Scraper

Getting started

In the working directory of your python script

mkdir acad_patents
cd acad_patents
git init
git remote add origin 'https://www.github.com/saadejazz/acad_patents'
git pull origin master

Install python dependencies:

python -m pip install requests bs4

Google scholar

Code:

from acad_patents.academics_and_patents import scholar

query = "black matter"
results = scholar(query)

Single output:

{
    'title': 'Primordial black holes as dark matter',
    'link': 'https://journals.aps.org/prd/abstract/10.1103/PhysRevD.94.083504',
    'publish_data': {'authors': 'B Carr, F Kühnel, M Sandstad\xa0- Physical Review D, 2016',
    'journal/conference': 'APS',
    'site': ''},
    'pdf': {'site': ' arxiv.org', 'link': 'https://arxiv.org/pdf/1607.06077'},
    'partial_summary': 'The possibility that the dark matter comprises primordial black holes (PBHs) is considered, with particular emphasis on the currently allowed mass windows at 1 0 16–1 0 17 g, 1 0 20–1 0 24 g and 1–1 0 3 M⊙. The Planck mass relics of smaller evaporating PBHs are also\xa0…',
    'citations': '551',
    'versions': '9'
}

Google Patents

Code:

from acad_patents.academics_and_patents import patents

query = "broom"
results = patents(query)

Single output:

{
    'title': 'Versatile construction broom holder www.google.com.pk/patents/US4882802',
    'link': 'https://www.google.com.pk/patents/US4882802?dq=broom&hl=en&sa=X&ved=0ahUKEwjF2rbMru_oAhUWxDgGHduXCqsQ6AEIJDAA',
    'cited_link': 'www.google.com.pk/patents/US4882802',
    'inventors': [{'name': 'Chester C. LeVere, Jr.',
        'google_inventor_search_link': 'https://www.google.com/search?tbm=pts&tbm=pts&q=ininventor:%22Chester+C.+LeVere,+Jr.%22'},
    {'name': 'Levere Jr Chester C',
        'google_inventor_search_link': 'https://www.google.com/search?tbm=pts&tbm=pts&q=inassignee:%22Levere+Jr+Chester+C%22'}],
    'partial_description': 'An improved broom holder to finish newly laid concrete surfaces is provided having a collar designed to accept a number of different commerically available\xa0...',
    'status': 'Grant',
    'filing_date': '15-Jun-1988',
    'issued_date': '28-Nov-1989',
    'published_date': ''
}

acad_patents's People

Contributors

saadejazz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.