{"id":21836784,"url":"https://github.com/bes-dev/smart_pdf","last_synced_at":"2025-10-08T07:30:41.492Z","repository":{"id":193942589,"uuid":"689756812","full_name":"bes-dev/smart_pdf","owner":"bes-dev","description":"Summarize PDF by LLM","archived":false,"fork":false,"pushed_at":"2023-09-10T21:40:35.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T01:37:17.507Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bes-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-09-10T19:58:12.000Z","updated_at":"2024-02-29T05:00:43.000Z","dependencies_parsed_at":"2023-09-10T22:33:49.411Z","dependency_job_id":null,"html_url":"https://github.com/bes-dev/smart_pdf","commit_stats":null,"previous_names":["bes-dev/smart_pdf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bes-dev/smart_pdf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bes-dev%2Fsmart_pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bes-dev%2Fsmart_pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bes-dev%2Fsmart_pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bes-dev%2Fsmart_pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bes-dev","download_url":"https://codeload.github.com/bes-dev/smart_pdf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bes-dev%2Fsmart_pdf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278908564,"owners_count":26066882,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-27T20:42:45.035Z","updated_at":"2025-10-08T07:30:41.202Z","avatar_url":"https://github.com/bes-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SmartPDF\n\nA simple python library for AI-powered PDF documents processing.\n\n[![Downloads](https://pepy.tech/badge/smart-pdf)](https://pepy.tech/project/smart-pdf)\n[![Downloads](https://pepy.tech/badge/smart-pdf/month)](https://pepy.tech/project/smart-pdf)\n[![Downloads](https://pepy.tech/badge/smart-pdf/week)](https://pepy.tech/project/smart-pdf)\n\n## Requirements\n\n* Linux, Windows, MacOS\n* Python 3.8.+\n* OpenAI API Key\n\n## Install package\n\n```bash\npip install smart_pdf\n```\n\n## Install the latest version\n\n```bash\ngit clone https://github.com/bes-dev/smart_pdf.git\ncd smart_pdf\npip install -r requirements.txt\npip install .\n```\n\n## Install the latest version\n\n```bash\ngit clone https://github.com/bes-dev/random_face.git\ncd random_face\npip install -r requirements.txt\npython download_model.py\npip install .\n```\n\n## Demo\n\n```bash\npython -m smart_pdf.smart_pdf --help\n```\n\n## Example\n\n```python\nfrom smart_pdf import SmartPDF\nsmart_doc = SmartPDF(\n    path=\u003cpath_to_pdf\u003e,\n    openai_api_key=\u003copenai_api_key\u003e\n)\nprint(smart_doc)\nprint(f\"Summary: {smart_doc.summary()}\")\nprint(\"Press q! to exit\")\nwhile True:\n    request = input(\"\u003e \")\n    if request == \"q!\":\n        break\n    print(smart_doc.smart_search(request))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbes-dev%2Fsmart_pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbes-dev%2Fsmart_pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbes-dev%2Fsmart_pdf/lists"}