{"id":13586147,"url":"https://github.com/venthur/gscholar","last_synced_at":"2025-04-04T14:04:06.146Z","repository":{"id":554469,"uuid":"490868","full_name":"venthur/gscholar","owner":"venthur","description":"Query Google Scholar with Python","archived":false,"fork":false,"pushed_at":"2024-01-05T10:09:08.000Z","size":81,"stargazers_count":294,"open_issues_count":15,"forks_count":73,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-28T13:07:11.131Z","etag":null,"topics":["bibtex","cli","google-scholar","gscholar","pdf","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/venthur.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-01-27T15:28:23.000Z","updated_at":"2025-02-28T14:07:42.000Z","dependencies_parsed_at":"2023-07-06T19:01:48.374Z","dependency_job_id":"89d74cb9-22cc-4329-8095-c36d9ec05cb6","html_url":"https://github.com/venthur/gscholar","commit_stats":{"total_commits":101,"total_committers":7,"mean_commits":"14.428571428571429","dds":"0.19801980198019797","last_synced_commit":"83938006bb7369bed24278a28294ca6b6f5e139c"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venthur%2Fgscholar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venthur%2Fgscholar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venthur%2Fgscholar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venthur%2Fgscholar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/venthur","download_url":"https://codeload.github.com/venthur/gscholar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190231,"owners_count":20898700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bibtex","cli","google-scholar","gscholar","pdf","python"],"created_at":"2024-08-01T15:05:21.276Z","updated_at":"2025-04-04T14:04:06.124Z","avatar_url":"https://github.com/venthur.png","language":"Python","readme":"# gscholar\n\nQuery Google Scholar using Python.\n\n\n## Requirements\n\n * Python\n * pdftotext (command line tool)\n\n\n## Installing\n\n```bash\n$ pip install gscholar\n```\n\n##Using gscholar as a command line tool\n\ngscholar provides a command line tool, to use it, just call `gscholar` like:\n\n```bash\n$ gscholar \"albert einstein\"\n```\n\nor\n\n```bash\n$ python3 -m gscholar \"albert einstein\"\n```\n\n### Making a simple lookup:\n\n```bash\n$ gscholar \"some author or title\"\n```\n\nwill return the first result from Google Scholar matching this query.\n\n\n### Getting more results:\n\n```bash\n$ gscholar --all \"some author or title\"\n```\n\nSame as above but returns up to 10 bibtex items. (Use with caution Google will\nassume you're a bot an ban you're IP temporarily)\n\n\n### Querying using a pdf:\n\n```bash\n$ gscholar /path/to/pdf\n```\n\nWill read the pdf to generate a Google Scholar query. It uses this query to show\nthe first bibtex result as above.\n\n\n### Renaming a pdf:\n\n```bash\n$ gscholar --rename /path/to/pdf\n```\n\nWill do the same as above but asks you if it should rename the file according\nto the bibtex result. You have to answer with \"y\", default answer is no.\n\n\n### Getting help:\n\n```bash\n$ gscholar --help\n```\n\n\n## Using gscholar as a python library\n\nInstall the gscholar package with `pip install` as described above or copy the\npackage somewhere Python can find it.\n\n```python\nimport gscholar\n\ngscholar.query(\"some author or title\")\n```\n\nwill return a list of bibtex items.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventhur%2Fgscholar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fventhur%2Fgscholar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventhur%2Fgscholar/lists"}