{"id":15014052,"url":"https://github.com/explosion/prodigy-pdf","last_synced_at":"2025-10-19T14:31:55.409Z","repository":{"id":198008773,"uuid":"698189921","full_name":"explosion/prodigy-pdf","owner":"explosion","description":"A Prodigy plugin for PDF annotation","archived":false,"fork":false,"pushed_at":"2024-12-24T09:21:46.000Z","size":2713,"stargazers_count":28,"open_issues_count":0,"forks_count":5,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-01-29T18:38:17.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"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/explosion.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-29T11:07:52.000Z","updated_at":"2024-12-24T09:21:02.000Z","dependencies_parsed_at":"2024-09-20T15:32:26.821Z","dependency_job_id":null,"html_url":"https://github.com/explosion/prodigy-pdf","commit_stats":{"total_commits":42,"total_committers":4,"mean_commits":10.5,"dds":"0.26190476190476186","last_synced_commit":"0072da932595bb3c256a0fe4d45b0d23f0cdd4e9"},"previous_names":["explosion/prodigy-pdf"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explosion%2Fprodigy-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explosion%2Fprodigy-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explosion%2Fprodigy-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explosion%2Fprodigy-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/explosion","download_url":"https://codeload.github.com/explosion/prodigy-pdf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237152769,"owners_count":19263780,"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-09-24T19:45:07.715Z","updated_at":"2025-10-19T14:31:54.880Z","avatar_url":"https://github.com/explosion.png","language":"Python","readme":"\u003ca href=\"https://explosion.ai\"\u003e\u003cimg src=\"https://explosion.ai/assets/img/logo.svg\" width=\"125\" height=\"125\" align=\"right\" /\u003e\u003c/a\u003e\n\n# 📄 Prodigy-PDF\n\nThis repository contains a [Prodigy](https://prodi.gy) plugin with recipes for image- and text-based annotation of PDF files, as well as recipes for OCR (Optical Character Recognition) to extract content from documents. The `pdf.spans.manual` recipe uses [`spacy-layout`](https://github.com/explosion/spacy-layout) and [Docling](https://ds4sd.github.io/docling/) to extract the text contents from PDFs and lets you annotate spans of text, with an optional side-by-side preview of the original document and pre-fetching for faster loading during annotation.\n\n![pdf.image.manual recipe](https://github.com/user-attachments/assets/da40ee4c-369d-407d-a412-fdb8d341aee8)\n\n![pdf_spans_manual](https://github.com/user-attachments/assets/bc0a5fe8-1995-4ff8-8766-7dc4a03a52be)\n\n\nYou can install this plugin via `pip`.\n\n```\npip install \"prodigy-pdf @ git+https://github.com/explosion/prodigy-pdf\"\n```\n\nIf you want to use the OCR recipes, you'll also want to ensure that tesseract is installed.\n\n```bash\n# for mac\nbrew install tesseract\n\n# for ubuntu\nsudo apt install tesseract-ocr\n```\n\nTo learn more about this plugin, you can check the [Prodigy docs](https://prodi.gy/docs/plugins/#pdf).\n\n## Issues?\n\nAre you have trouble with this plugin? Let us know on our [support forum](https://support.prodi.gy/) and we'll get back to you!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplosion%2Fprodigy-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexplosion%2Fprodigy-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplosion%2Fprodigy-pdf/lists"}