{"id":27372729,"url":"https://github.com/chinapandaman/pypdfform","last_synced_at":"2026-07-02T03:00:53.295Z","repository":{"id":37987093,"uuid":"308168474","full_name":"chinapandaman/PyPDFForm","owner":"chinapandaman","description":"🔥 The Python library \u0026 CLI for PDF forms.","archived":false,"fork":false,"pushed_at":"2026-07-01T00:49:53.000Z","size":157336,"stargazers_count":1224,"open_issues_count":5,"forks_count":69,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-07-01T01:17:02.465Z","etag":null,"topics":["cli","cli-app","command-line-interface","command-line-tool","pdf","pdf-document","pdf-document-processor","pdf-files","pdf-forms","pdf-generation","pdf-merge","pdf-merger","pdffiller","python","python-3","python-library","python-package","python-programming","python-project","python3"],"latest_commit_sha":null,"homepage":"https://chinapandaman.github.io/PyPDFForm/","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/chinapandaman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2020-10-28T23:47:22.000Z","updated_at":"2026-07-01T00:35:17.000Z","dependencies_parsed_at":"2023-10-23T14:59:16.374Z","dependency_job_id":"6fba261c-d398-4285-ab40-4936d67911a8","html_url":"https://github.com/chinapandaman/PyPDFForm","commit_stats":{"total_commits":1143,"total_committers":7,"mean_commits":"163.28571428571428","dds":0.5223097112860893,"last_synced_commit":"5391649102d57ce8f0cb0a9ee714ed4b49638fb3"},"previous_names":[],"tags_count":195,"template":false,"template_full_name":null,"purl":"pkg:github/chinapandaman/PyPDFForm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinapandaman%2FPyPDFForm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinapandaman%2FPyPDFForm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinapandaman%2FPyPDFForm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinapandaman%2FPyPDFForm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chinapandaman","download_url":"https://codeload.github.com/chinapandaman/PyPDFForm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinapandaman%2FPyPDFForm/sbom","scorecard":{"id":175165,"data":{"date":"2025-08-11","repo":{"name":"github.com/chinapandaman/PyPDFForm","commit":"a5ccfc67b2bc00ed672c494d69dad691bdc526b9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.5,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 30 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/11 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/python-publish.yml:12","Warn: no topLevel permission defined: .github/workflows/bump-version.yml:1","Warn: no topLevel permission defined: .github/workflows/create-release.yml:1","Warn: no topLevel permission defined: .github/workflows/deploy-docs.yml:1","Warn: no topLevel permission defined: .github/workflows/nightly-build.yml:1","Warn: no topLevel permission defined: .github/workflows/python-linting.yml:1","Warn: no topLevel permission defined: .github/workflows/python-package.yml:1","Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bump-version.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/bump-version.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/bump-version.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/bump-version.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bump-version.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/bump-version.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/create-release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/create-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/create-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-docs.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/deploy-docs.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-docs.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/deploy-docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-docs.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/deploy-docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly-build.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/nightly-build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nightly-build.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/nightly-build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-linting.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/python-linting.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python-linting.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/python-linting.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-linting.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/python-linting.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/python-package.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python-package.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/python-publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python-publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/chinapandaman/PyPDFForm/python-publish.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.11-slim to python:3.11-slim@sha256:5e1f9549d2bed37b85677fdca384027a06335be5280827f1ad60502b720191b4","Warn: downloadThenRun not pinned by hash: scripts/build.sh:4","Warn: pipCommand not pinned by hash: .github/workflows/nightly-build.yml:25","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T17:32:29.766Z","repository_id":37987093,"created_at":"2025-08-16T17:32:29.767Z","updated_at":"2025-08-16T17:32:29.767Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35030921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"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":["cli","cli-app","command-line-interface","command-line-tool","pdf","pdf-document","pdf-document-processor","pdf-files","pdf-forms","pdf-generation","pdf-merge","pdf-merger","pdffiller","python","python-3","python-library","python-package","python-programming","python-project","python3"],"created_at":"2025-04-13T10:15:23.181Z","updated_at":"2026-07-02T03:00:48.285Z","avatar_url":"https://github.com/chinapandaman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/chinapandaman/PyPDFForm/raw/master/docs/img/logo.png\"\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cem\u003ePDF Form Automation Simplified - Create, Inspect, Style, and Fill Forms in Python or from the Command Line.\u003c/em\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://pypi.org/project/PyPDFForm/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/pypdfform?label=version\u0026color=magenta\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://chinapandaman.github.io/PyPDFForm/\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/chinapandaman/pypdfform?label=docs\u0026color=cyan\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/chinapandaman/PyPDFForm/actions/workflows/python-package.yml\"\u003e\u003cimg src=\"https://img.shields.io/badge/coverage-100%25-green\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/chinapandaman/PyPDFForm/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/chinapandaman/pypdfform?label=license\u0026color=orange\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.python.org/downloads/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/pyversions/pypdfform?label=python\u0026color=gold\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://pepy.tech/projects/pypdfform\"\u003e\u003cimg src=\"https://static.pepy.tech/badge/pypdfform/month\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Introduction\n\nPyPDFForm is a Python library and command line tool for working with PDF forms. It provides Python APIs and CLI commands for creating, inspecting, updating, and filling forms, plus common PDF utilities.\n\nWith PyPDFForm, you can:\n\n* Create PDF forms, form fields, and raw elements.\n* Inspect form fields, metadata, and values.\n* Update field styling, behavior, and scripts.\n* Fill PDF forms.\n* Extract pages and merge PDFs.\n\nThe goal is to make PDF form work straightforward, whether you are handling one document or building a larger workflow.\n\n## Installing\n\nTo use PyPDFForm as a Python library, install the base package with [pip](https://pypi.org/project/PyPDFForm/):\n\n```shell\npip install PyPDFForm\n```\n\nTo use the CLI, install PyPDFForm with the `cli` extra using [pipx](https://pipx.pypa.io/stable/):\n\n```shell\npipx install \"PyPDFForm[cli]\"\n```\n\n## Quick Example\n![Check out the GitHub repository for a live demo if you can't see it here.](https://github.com/chinapandaman/PyPDFForm/raw/master/docs/img/demo.gif)\n\nThe GIF above shows the CLI filling a PDF form. To try the same workflow with the Python library, download the [sample PDF form](https://chinapandaman.github.io/PyPDFForm/latest/pdfs/sample_template.pdf) and run:\n\n```python\nfrom PyPDFForm import PdfWrapper\n\nfilled = PdfWrapper(\"sample_template.pdf\", need_appearances=True).fill(\n    {\n        \"test\": \"test_1\",\n        \"check\": True,\n        \"test_2\": \"test_2\",\n        \"check_2\": False,\n        \"test_3\": \"test_3\",\n        \"check_3\": True,\n    },\n)\n\nfilled.write(\"output.pdf\")\n```\n\nAfter running this snippet, `output.pdf` will be written to the location you specified and should look like [this](https://chinapandaman.github.io/PyPDFForm/latest/pdfs/sample_filled.pdf).\n\n## Documentation\n\nThe official documentation can be found on [the GitHub page](https://chinapandaman.github.io/PyPDFForm/) of this repository.\n\n## Other Resources\n\n\u003c!-- TODO: remove WIP when finish recording --\u003e\n* [(WIP) Video Tutorials](https://youtube.com/playlist?list=PLNz_PBu1QA-gzYg5BvyOO98q15u5Xve1L\u0026si=8MWasKEckBzY-NRQ)\n* [Chicago Python User Group - Dec 14, 2023](https://youtu.be/8t1RdAKwr9w?si=TLgumBNXv9H8szSn)\n\n## Star History\n\nThis project is maintained entirely in my spare time. If you like the project please consider starring the GitHub repository. It is the best way to keep me motivated and continue making the project better.\n\n[![Stargazers over time](https://starchart.cc/chinapandaman/PyPDFForm.svg?variant=adaptive)](https://starchart.cc/chinapandaman/PyPDFForm)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinapandaman%2Fpypdfform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchinapandaman%2Fpypdfform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinapandaman%2Fpypdfform/lists"}