{"id":19003900,"url":"https://github.com/py-pdf/pypdf-builder","last_synced_at":"2025-04-22T18:20:06.301Z","repository":{"id":41904697,"uuid":"127674612","full_name":"py-pdf/PyPDF-Builder","owner":"py-pdf","description":"A cross-platform utility to join, split, stamp, and rotate PDFs written in Python. Yes, Python!","archived":false,"fork":false,"pushed_at":"2023-07-20T13:13:58.000Z","size":180,"stargazers_count":36,"open_issues_count":4,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-29T17:35:50.994Z","etag":null,"topics":["front-end","gui","pypdf2","python","tkinter"],"latest_commit_sha":null,"homepage":"","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/py-pdf.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":"2018-04-01T21:57:58.000Z","updated_at":"2025-01-03T02:12:12.000Z","dependencies_parsed_at":"2024-11-08T18:21:34.853Z","dependency_job_id":"95f330ab-0219-45f9-93f4-7a028845c599","html_url":"https://github.com/py-pdf/PyPDF-Builder","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-pdf%2FPyPDF-Builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-pdf%2FPyPDF-Builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-pdf%2FPyPDF-Builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/py-pdf%2FPyPDF-Builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/py-pdf","download_url":"https://codeload.github.com/py-pdf/PyPDF-Builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249288026,"owners_count":21244717,"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":["front-end","gui","pypdf2","python","tkinter"],"created_at":"2024-11-08T18:20:40.998Z","updated_at":"2025-04-16T23:31:53.966Z","avatar_url":"https://github.com/py-pdf.png","language":"Python","readme":"# PyPDF Builder \n\nA cross-platform utility to join, split, stamp, extract pages, and rotate PDFs written in Python. Yes, Python!\n\nThis project is inspired by Angus Johnson's [PDFTK Builder](http://angusj.com/pdftkb/). Its goal is a GUI that builds on [PyPDF2](https://github.com/mstamy2/PyPDF2) as well as other PDF related libraries and offers a unified and simple experience for end-users.\n\nThis fork added the page extraction module and fixed minor ui issues (and is only tested) on Mac OS.\n\n![](screenshot.png)\n\n\n\n## Getting Started\n\nGrab a copy of `virtualenv` or `virtualenvwrapper` and set up a virtual environment with your favorite Python interpreter (see [Prerequisites](#prerequisites)) to separate the dependencies for this project. Then it's the same old same old:\n\n```\ngit clone https://github.com/mrgnth/PyPDF-Builder.git\npip install -r requirements.txt\n```\n\nThese instructions will get you a copy of the project up and running on your local machine for development purposes.\n\n### Prerequisites\n\nPyPDF Builder is built on [Tkinter](https://docs.python.org/3/library/tk.html), [Pygubu](https://github.com/alejandroautalan/pygubu) and [PyPDF2](https://github.com/mstamy2/PyPDF2), a pure-python PDF library. Running `pip freeze` should give you something like this:\n\n```\npygubu==0.9.8.2\nPyInstaller==3.3.1\nPyPDF2==1.26.0\nSphinx==1.7.2\n```\n\n... and a whole bunch of related dependencies (especially Sphinx is a doozy!).\n\nPython 3.6 was used in development… I haven't checked for compatibility with lower versions, so your mileage my vary with anything starting 3.5 on downward.\n\n\n## Deployment\n\nDistributable application for Windows, Linux and Mac OS using [PyInstaller](https://pyinstaller.readthedocs.io/en/stable/):\n\n**Linux and Mac OS**\n```\npyinstaller --onefile --clean --windowed --add-data=\"mainwindow.ui:.\" \\\n    --hidden-import=\"pygubu.builder.ttkstdwidgets\" \\\n    --hidden-import=\"pygubu.builder.widgets.dialog\" \\\n    pypdfbuilder.py\n```\n\n**Windows**\n```\npyinstaller --onefile --clean --windowed --add-data=\"mainwindow.ui;.\" \\\n    --hidden-import=\"pygubu.builder.ttkstdwidgets\" \\\n    --hidden-import=\"pygubu.builder.widgets.dialog\" \\\n    pypdfbuilder.py\n```\nSubsequent builds can be managed by editing the `.spec` file created by the first build and then simply running `pyinstaller pypdfbuilder.spec` to build the executable.\n\nLong term: Inclusion in Debian repos for direct installation on end-user systems.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n\n## Acknowledgments\n\n* [Matthew Stamy](https://github.com/mstamy2): Creator and current maintainer of the PyPDF2 Python package\n* Angus Johnson: Creator of [PDFTK Builder](http://angusj.com/pdftkb/)\n\n## To Do\n\n- [X] Join Tab Functionality\n- [X] Split Tab Functionality\n- [X] Refactor to avoid code repetition in save, file info, etc methods\n- [ ] User Documentation (mostly self-explanatory)\n- [ ] Developer Documentation\n- [ ] Write tests\n- [ ] Error checking user input\n- [ ] Error/Exception Handling\n- [ ] Failover to system PDF Tools (e.g. Poppler)\n- [X] Stamp/Background/Number Tab\n- [X] Rotate Pages\n- [X] Menus\n- [X] Persistent User Settings\n- [ ] Logging\n- [ ] Error Reporting?\n- [ ] Github Project pages with Nikola\n- [ ] Package via pyInstaller\n- [ ] Distribution via Releases on GitHub\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy-pdf%2Fpypdf-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpy-pdf%2Fpypdf-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpy-pdf%2Fpypdf-builder/lists"}