{"id":18745644,"url":"https://github.com/scrapegraphai/scrapebiblio","last_synced_at":"2025-04-12T21:32:58.899Z","repository":{"id":258962713,"uuid":"854208835","full_name":"ScrapeGraphAI/scrapebiblio","owner":"ScrapeGraphAI","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-06T12:39:38.000Z","size":172532,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T03:53:49.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ScrapeGraphAI.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-08T17:00:28.000Z","updated_at":"2025-03-28T20:44:14.000Z","dependencies_parsed_at":"2024-10-21T11:48:06.647Z","dependency_job_id":null,"html_url":"https://github.com/ScrapeGraphAI/scrapebiblio","commit_stats":null,"previous_names":["scrapegraphai/scrapebiblio"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapeGraphAI%2Fscrapebiblio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapeGraphAI%2Fscrapebiblio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapeGraphAI%2Fscrapebiblio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScrapeGraphAI%2Fscrapebiblio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScrapeGraphAI","download_url":"https://codeload.github.com/ScrapeGraphAI/scrapebiblio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248636347,"owners_count":21137433,"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":[],"created_at":"2024-11-07T16:19:00.354Z","updated_at":"2025-04-12T21:32:58.892Z","avatar_url":"https://github.com/ScrapeGraphAI.png","language":"Python","readme":"# ScrapeBiblio: PDF Reference Extraction and Verification Library\n\n## Powered by Scrapegraphai\n![ScrapeBiblio Logo](docs/scrapebiblio.png)\n[![Downloads](https://static.pepy.tech/badge/scrapebiblio)](https://pepy.tech/project/scrapebiblio)\n\nScrapeBiblio is a powerful library designed to extract references from PDF files, verify them against various databases, and convert the content to Markdown format.\n\n## News 📰\n\n- ScrapegraphAI has now his APIs! Check it out [here](https://scrapegraphai.com)!\n\n## Features\n\n- Extract text from PDF files\n- Extract references using OpenAI's GPT models\n- Verify references using Semantic Scholar, CORE, and BASE databases\n- Convert PDF content to Markdown format\n- Integration with ScrapeGraph for additional reference checking\n\n## Installation\n\nInstall ScrapeBiblio using pip:\n```bash\npip install scrapebiblio\n```\n\n## Configuration\n\nCreate a `.env` file in your project root with the following content:\n\n```plaintext\nOPENAI_API_KEY=your_openai_api_key\nSEMANTIC_SCHOLAR_API_KEY=your_semantic_scholar_api_key\nCORE_API_KEY=your_core_api_key\nBASE_API_KEY=your_base_api_key\n```\n## Usage\n\nHere's a basic example of how to use ScrapeBiblio:\n\n```python\nfrom scrapebiblio.core.find_reference import process_pdf\nfrom dotenv import load_dotenv\nimport os\nload_dotenv()\npdf_path = 'path/to/your/pdf/file.pdf'\noutput_path = 'references.md'\nopenai_api_key = os.getenv('OPENAI_API_KEY')\nsemantic_scholar_api_key = os.getenv('SEMANTIC_SCHOLAR_API_KEY')\ncore_api_key = os.getenv('CORE_API_KEY')\nbase_api_key = os.getenv('BASE_API_KEY')\nprocess_pdf(pdf_path, output_path, openai_api_key, semantic_scholar_api_key,\ncore_api_key=core_api_key, base_api_key=base_api_key)\n```\n## Advanced Usage\n\nScrapeBiblio offers additional functionalities:\n\n1. Convert PDF to Markdown:\n```python\nfrom scrapebiblio.core.convert_to_md import convert_to_md\nconvert_to_md(pdf_path, output_path, openai_api_key)\n```\n2. Check references with ScrapeGraph:\n\n```python\nfrom scrapebiblio.utils.api.reference_utils import check_reference_with_scrapegraph\nresult = check_reference_with_scrapegraph(\"Reference Title\")\n```\n## Contributing\n\nWe welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for more details.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrapegraphai%2Fscrapebiblio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrapegraphai%2Fscrapebiblio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrapegraphai%2Fscrapebiblio/lists"}