Registry / search / scholarly-publications

scholarly-publications

JSON →
library0.6pypypi✓ verified 88d ago

A Python library for fetching scholarly publications from Google Scholar by author ID. Version 0.6 wraps the scholarly library and provides a simple interface to retrieve publication lists. Development appears to be low-activity; no frequent releases.

pip install scholarly-publications
INSTALL
IMPORT
SIG · SCHOLARLY-PUBLICAT
S
scholarly-publications
searchpythonv0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fetch_publications
✓ from scholarly_publications import fetch_publications
✗ import scholarly_publications
Must import the function explicitly; direct module import does not expose it.

Fetches up to 10 publications for a given Google Scholar author ID.

from scholarly_publications import fetch_publications # Replace with actual author ID author_id = "YOUR_AUTHOR_ID" publications = fetch_publications(author_id, limit=10) for pub in publications: print(pub['title'], pub['year'])
Debug
Known issues
gotchaGoogle Scholar may block requests after heavy usage; scholarly handles retries but can get IP-blocked.
fix
Use proxies or add delays between requests. Not a library bug, but common footgun.
affects: all
deprecatedThe library hasn't been updated since 2022; the underlying scholarly library may have breaking changes.
fix
Check scholarly compatibility. Consider using scholarly directly for newer features.
affects: 0.6
Errors
Common errors & fixes
AttributeError: module 'scholarly_publications' has no attribute 'fetch_publications'
Wrong import pattern: import scholarly_publications instead of from scholarly_publications import fetch_publications
fix
Use: from scholarly_publications import fetch_publications
scholarly._navigator.PublicationError: 403 Forbidden
Google Scholar is blocking the request (rate limiting or IP ban).
fix
Wait, use proxies, or reduce request frequency. Not a library bug.
Upgrade
Version history
0.6latest on PyPI · released Apr 11, 2024
Audit
Dependencies
scholarlyrequiredCore dependency for accessing Google Scholar.
requestsrequiredFor HTTP requests.
Agent activity
39 hits · last 30 days
node
34
Resources
scholarly-publications — pip install scholarly-publications · libregistry