A tool to fetch scholarly publications from Google Scholar by author ID
Project description
Scholarly Publications Fetcher
The scholarly_publications
package provides an easy-to-use interface for fetching publication data from Google Scholar. It allows users to retrieve detailed information about an author's publications, including titles, publication years, links, and citation counts. This package is designed for academics, researchers, and anyone interested in programmatically analyzing scholarly publication data.
Installation
To install scholarly_publications
, use the following pip command in your terminal:
pip install scholarly_publications
Usage
Using the CLI (Command Line Interface)
scholarly_publications
can be easily used via its command-line interface. Here are some examples:
Fetch all publications for a given author ID:
scholarly_publications <author_id>
Fetch a specific number of publications for a given author ID:
scholarly_publications <author_id> --max=<number_of_publications>
Sort results by pubdate/cited:
scholarly_publications <author_id> --sortby=<pubdate/cited>
Using as a Python Package
You can also use scholarly_publications
directly in your Python code. Here's how:
from scholarly_publications import fetch_publications
# Fetch all publications for a given author ID
publications = fetch_publications('<author_id>')
# Fetch a specific number of publications for a given author ID
publications = fetch_publications('<author_id>', max_publications=<number_of_publications>)
# Fetch all publications for a given author ID and sort by pubdate/cited
publications = fetch_publications('<author_id>', sortby='<pubdate/cited>')
print(publications)
Contributing
We welcome contributions to scholarly_publications
! If you have suggestions for improvements, please open an issue or a pull request.
Status
License
scholarly_publications
is released under the MIT License. See the LICENSE file for more details.
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
Built Distribution
Hashes for scholarly_publications-0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14f05e876902250b5aec7c2b9374ad0a06c36baa1e2fabd7b526552b75202c22 |
|
MD5 | 21cdbe149e2c25d1757e090660a05a16 |
|
BLAKE2b-256 | ef6617acfc3e248f20cbb4c85785e3f30e76b97be20e916d74e975406eb3324f |
Hashes for scholarly_publications-0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eb7121af5035f0d6b597b83a64765b4d32ef143abe85e9135b0eafcb35a8088 |
|
MD5 | 23f684a03e919729148b13065db0a998 |
|
BLAKE2b-256 | 7804a4af23ae93a48e85a3b2db9db0a09be93f7d9c074b2e9fd002eb98926dbc |