{"id":48796314,"url":"https://github.com/ceratops-code/pdf-form-tools","last_synced_at":"2026-04-16T01:00:37.309Z","repository":{"id":350290981,"uuid":"1206188202","full_name":"ceratops-code/pdf-form-tools","owner":"ceratops-code","description":"Template-aware Python helpers for filling layout-sensitive scanned PDF forms","archived":false,"fork":false,"pushed_at":"2026-04-11T22:16:29.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-13T23:34:26.656Z","etag":null,"topics":["document-processing","forms","opencv","pdf","pymupdf","python"],"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/ceratops-code.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-09T17:03:26.000Z","updated_at":"2026-04-11T22:16:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ceratops-code/pdf-form-tools","commit_stats":null,"previous_names":["romanostr/pdf-form-tools","ceratops-code/pdf-form-tools"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ceratops-code/pdf-form-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceratops-code%2Fpdf-form-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceratops-code%2Fpdf-form-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceratops-code%2Fpdf-form-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceratops-code%2Fpdf-form-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ceratops-code","download_url":"https://codeload.github.com/ceratops-code/pdf-form-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceratops-code%2Fpdf-form-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31820369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["document-processing","forms","opencv","pdf","pymupdf","python"],"created_at":"2026-04-13T23:10:54.866Z","updated_at":"2026-04-15T00:00:23.401Z","avatar_url":"https://github.com/ceratops-code.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pdf-form-tools\n\n`pdf-form-tools` is an import-only Python package for filling layout-sensitive scanned PDF forms with deterministic placement helpers and visual verification primitives.\n\nIt is intentionally small:\n\n- render PDF pages to raster images\n- detect writable regions, checkbox boxes, signature lines, and ID slots\n- draw text, checks, and signatures onto an overlay\n- merge the overlay back into the original PDF\n\n## Install\n\n```bash\npython -m pip install pdf-form-tools\n```\n\nSupported Python versions: 3.11 through 3.14.\n\n## Example\n\n```python\nfrom pathlib import Path\n\nfrom pdf_form_tools import Rect, merge_overlay_pdf, render_pdf_page\n\nsource_pdf = Path(\"form.pdf\")\npreview_png = Path(\"preview-page1.png\")\nrender_pdf_page(source_pdf, 0, 2, preview_png)\n\n# draw your overlay separately, then merge it back\nmerge_overlay_pdf(source_pdf, Path(\"overlay-page1.png\"), Path(\"form-filled.pdf\"))\n```\n\n## Development\n\n```bash\npython -m pip install -e \".[dev]\"\npython -m ruff check .\npython -m pytest -W error::DeprecationWarning\npython -m build\n```\n\n## Scope\n\nThis package contains reusable low-level helpers only. Form-specific filling flows belong in project-local scripts or thin runners, not in the shared library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceratops-code%2Fpdf-form-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceratops-code%2Fpdf-form-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceratops-code%2Fpdf-form-tools/lists"}